Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,390
» Latest member: atalieyandext4063
» Forum threads: 38,821
» Forum posts: 176,020

Full Statistics

Online Users
There are currently 38 online users.
» 0 Member(s) | 26 Guest(s)
Bing, Apple, AOL, Google, AOL, Mojeek, Facebook, Google Image

Latest Threads
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
2 hours ago
» Replies: 1
» Views: 40
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
5 hours ago
» Replies: 9
» Views: 221
IP address for users
Forum: Networking
Last Post: itx_sumeet
Today, 05:53 AM
» Replies: 4
» Views: 7,059
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Today, 01:10 AM
» Replies: 5
» Views: 9,886
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 136
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 78
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 141
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,293
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 103
Exploring Different Pytho...
Forum: News and Discussions
Last Post: ankitsharma32
Dec-23-2025, 01:01 PM
» Replies: 3
» Views: 753

 
  How to properly format rows and columns in excel data from parsed .txt blocks
Posted by: jh67 - Dec-09-2022, 08:00 PM - Forum: General Coding Help - Replies (7)

Hi. I'm trying to create an excel sheet using data made up from specific, recurring blocks of text in a .txt file and ignoring all other data in the f..... More


Attached Files

Thumbnail(s)
   
Print this item

  Tkinter messagebox
Posted by: WiPi - Dec-09-2022, 07:52 PM - Forum: General Coding Help - Replies (4)

Hi Guys,

I'm using the tkinter message box which works fine but I'm struggling to get code that checks if a messagebox is already open. So my working..... More

Print this item

  loading data
Posted by: astral_travel - Dec-09-2022, 07:50 PM - Forum: Data Science - Replies (7)

i'm trying to download stock data from yahoo! finance....
in anyway - i'm trying to have a symbol to download by loading the symbol/tickers from a fi..... More

Print this item

  extract lower/upper antitriangular matrix
Posted by: schniefen - Dec-09-2022, 05:43 PM - Forum: Homework - Replies (2)

In numpy you can use np.tril(x) to extract the lower triangular matrix of an array x. However, I am interested in ex..... More

Print this item

  WebScraping using Selenium library
Posted by: Korgik - Dec-09-2022, 09:51 AM - Forum: Web Scraping & Web Development - No Replies

Hi there, who knows how to properly process WebDriverWait TimeoutException? I am not sure of myself that I do everything right

Let's suppose that w..... More

Print this item

  Cubic interpolation in Pandas raises ValueError: The number of derivatives at boundar
Posted by: JaneTan - Dec-09-2022, 06:27 AM - Forum: Data Science - Replies (2)

Using the below weekly dataset, I want to resample to monthly data with cubic conversion.

Period Values
20-Jan-89 3
27-Jan-89 4
3-Feb-89 2
10-F..... More

Print this item

  Python Resampling: How do I obtain the value of the last week of the month?
Posted by: JaneTan - Dec-09-2022, 05:23 AM - Forum: General Coding Help - Replies (2)

Hi

I want to resample to obtain all the values of the last week of the month. However, there are some weeks that overlap between 2 months. For Pyth..... More

Print this item

  [split] How Can get the graph library?
Posted by: marceldcv - Dec-08-2022, 09:52 PM - Forum: News and Discussions - Replies (1)

Hello Man, How Can get the graph library? I can't find the library.
Thanks

Print this item

Heart Python for frontend !
Posted by: SpongeB0B - Dec-08-2022, 07:45 PM - Forum: News and Discussions - Replies (9)

Hi,

While I was looking how to use Python for the front-end
I discover a great suggestion on the Mozilla "ideas box" aka connect, so I'll share i..... More

Print this item

  Build and deploy Python apps for the cloud
Posted by: Rk2 - Dec-08-2022, 06:30 PM - Forum: Tutorial Requests and Submissions - No Replies

This tutorial walks a developer step-by-step through creating a REST API and deploying it to AWS, GCP or Azure with the Nitric Framework.

The develop..... More

Print this item

  Web Scraping Stuff
Posted by: Korgik - Dec-08-2022, 12:53 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi there Big Grin

What kind of stuff do you usually use for web scraping and parsing? I am just a beginner in this area and I would like to kn..... More

Print this item

  Webscraping returning empty table
Posted by: Buuuwq - Dec-08-2022, 12:39 PM - Forum: Web Scraping & Web Development - No Replies

Hi, I'm trying to extract a table from a webpage and have tried a number of alternatives, but the table always seems to remain empty.

Two of what I t..... More


Attached Files

Thumbnail(s)
   
Print this item

  python pandas sql table with header
Posted by: mg24 - Dec-08-2022, 09:21 AM - Forum: General Coding Help - Replies (3)

Hi Team,

please help me first time using pandas for extracting sql table with headers into csv file.

how to write below header line to csv.
write..... More

Print this item

  Impute 1 if previous row of 'days' column is between 0 & 7
Posted by: JaneTan - Dec-08-2022, 05:17 AM - Forum: Data Science - Replies (2)

Hi,

Basically, I want to impute 1 in 'Check' column if the previous row of 'days' is >=0 and <7.
I wrote the below code, but it only looks at curr..... More

Print this item

  how to capture output from license() in one Python process?
Posted by: Skaperen - Dec-08-2022, 03:35 AM - Forum: News and Discussions - No Replies

how to code a script that can capture the output from the license() function in one Python process (not running a 2nd instance to capture outpu..... More

Print this item

  Prompt of Access ( Authentication Http ) ?
Posted by: JohnnyCoffee - Dec-07-2022, 10:27 PM - Forum: Networking - Replies (4)

I'm doing some authentication tests through the http header, but the browser's login prompt window isn't being triggered? I think I'm forgetting somet..... More

Print this item

  filedialog, open a file error
Posted by: liketocode - Dec-07-2022, 07:55 PM - Forum: GUI - Replies (4)

Hello

I would like to know how to avoid an error when i close the window instead of choosing a file to open.
Window that show after clicking on "..... More

Print this item

  Prompt of Access ( Authentication Http ) ?
Posted by: JohnnyCoffee - Dec-07-2022, 04:11 PM - Forum: General Coding Help - Replies (1)

I'm doing some authentication tests through the http header, but the browser's login prompt window isn't being triggered? I think I'm forgetting somet..... More

Print this item

  rotate error function
Posted by: schniefen - Dec-07-2022, 02:40 PM - Forum: Homework - No Replies

I would like to rotate a function that is defined in terms of the error function, see here. I ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Return the [Date] that within the last 14 days
Posted by: bnadir55 - Dec-07-2022, 01:09 PM - Forum: General Coding Help - Replies (5)

Hi, I have a column [Date] in df that return date in this format : 20220628T065216.437 GMT
I need to return the [Date] that within the last 3 days,
tr..... More

Print this item

  How do you create a scatterplot of dataframe using matplotlib?
Posted by: asdad - Dec-07-2022, 01:00 PM - Forum: General Coding Help - Replies (2)

A very simple question.

I tried looking for how to make a scatterplot with matplotlib (as usual, the official documentation was irrelevant) ..... More

Print this item

  Cube drawing for 3D Tic-Tac-Toe Python game
Posted by: freethrownucleus - Dec-07-2022, 12:27 PM - Forum: GUI - Replies (7)

Hi, I need some help.
I need to draw a cube (like this) [Image: 8HGHVN].
If anyone could help, I would really appreciate it! :..... More


Attached Files

Thumbnail(s)
   
Print this item

  Setting For Loop Counter
Posted by: rturus - Dec-07-2022, 12:21 PM - Forum: General Coding Help - Replies (2)

I am trying to set the counter to the one less if the input does not match with list. However, it seems that it does not set the counter. Any idea ple..... More

Print this item

  merge two csv files into output.csv using Subprocess
Posted by: mg24 - Dec-07-2022, 08:11 AM - Forum: General Coding Help - Replies (9)

Hi Team,

I want to merge two csv files, data1.csv and data2.csv , and create Output.csv


via command line this script works.
copy /b D:\output..... More

Print this item

  Write Null values as 0.0 (float) type in csv
Posted by: mg24 - Dec-07-2022, 06:46 AM - Forum: General Coding Help - Replies (3)

Hi Team,

with the below code I am extracting sql table data into CSV File with delimiter '|'

in SQL Table,in some fields ['Market Price',"Sprea..... More

Print this item

  Python Resample: How do I keep NaN as NaN?
Posted by: JaneTan - Dec-07-2022, 02:11 AM - Forum: General Coding Help - Replies (3)

When resample from monthly data to quarterly, I want my last value NaN to remain as NaN. How should I tweak my code?

Thank you

[img]https://i.st..... More

Print this item

  Binary tree
Posted by: AlexPython - Dec-06-2022, 09:28 PM - Forum: General Coding Help - Replies (3)

let said that I get a randomly created array of 12 numbers for this tree below instead of having the number picked by me, should I hand-pick the root?..... More

Print this item

  UTF-8 and UTF-16
Posted by: garynewport - Dec-06-2022, 07:09 PM - Forum: General Coding Help - Replies (5)

I encountered an interesting problem in that PowerShell under Windows 11 will create any new file as UTF-16 instead of UTF-8. It is possible to set Po..... More

Print this item

  Ldap3 and windows authentication
Posted by: Valerian - Dec-06-2022, 02:59 PM - Forum: News and Discussions - No Replies

Hi everybody,

Is anyone already has find a way to use the windows gMSA to bind with ldap3 ?

I'm kind of stuck.

Print this item

  telnetlib error
Posted by: 3lnyn0 - Dec-06-2022, 02:16 PM - Forum: General Coding Help - Replies (1)

Hi! Please help, what is wrong with my code?
I don't know where is the problem. :(

[python]import getpass
import telnetlib

HOST = 'routers'
u..... More

Print this item

  Counting Duplicates in large Data Set
Posted by: jmair - Dec-06-2022, 01:52 PM - Forum: Data Science - Replies (3)

My students and I were discussing the difference between possible and probability when it comes to lottery numbers. Is the sequence 1 2 3 4 5 6 just a..... More

Print this item

  Dictionary help
Posted by: iuno - Dec-06-2022, 09:12 AM - Forum: General Coding Help - Replies (5)

I am working on a simple telnet program that interacts with a Lutron lighting system. The Lutron system allows me to enter a monitoring mode where it ..... More

Print this item

  using paramiko to see resualt
Posted by: korenron - Dec-06-2022, 08:43 AM - Forum: General Coding Help - Replies (4)

Hello,
I'm trying to connect using SSH and send some commands
how can I see the result of the command ?
for example
[python]
answer = ssh.e..... More

Print this item

  How I could do that in the best way?
Posted by: Kalet - Dec-06-2022, 07:00 AM - Forum: General Coding Help - Replies (5)

Hi, I would like to know if there is a way to validate the '{}' when I receive them in a function. For example, I receive a URL and I have two paramet..... More

Print this item

  Is it possible to see dependencies before installing a package?
Posted by: quazirfan - Dec-06-2022, 06:31 AM - Forum: General Coding Help - Replies (4)

I want to see the list of dependencies(packages) a given package depends on before installing the package.

For example, pandas depend on numpy. Is ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to Integrate External... 2 hours ago finallen321 noisefloor General Codin...
  Calling python from anoth... 5 hours ago eedjsa eedjsa General Codin...
  IP address for users Today, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... Today, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
  [PyQt] Switching from bat... 12-23, 21:38 arbiel arbiel GUI
  Exploring Different Pytho... 12-23, 13:01 girish_benvanshi ankitsharma32 News and Disc...
  We open-sourced kubesdk —... 12-21, 11:52 beslanpuzl beslanpuzl Code sharing
Most views
  The best Prog... 580352
  Tutorial Requ... 518990
  Web Scraping ... 442768
  Newbie with P... 386947
  New Users Int... 386175
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
atalieyandext4063 Today
finallen321 Today
DTECHSYSTEM Today
zashleyfracesz3221 Today
itx_sumeet Today

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020