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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,930
» Latest member: luisshulez6883
» Forum threads: 38,720
» Forum posts: 175,499

Full Statistics

Online Users
There are currently 49 online users.
» 0 Member(s) | 42 Guest(s)
Bing, Google, Applebot, AOL, Internet Archive, AOL

Latest Threads
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
7 hours ago
» Replies: 8
» Views: 2,280
real community
Forum: News and Discussions
Last Post: decuser
8 hours ago
» Replies: 3
» Views: 1,414
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
9 hours ago
» Replies: 1
» Views: 219
looking for help
Forum: Bar
Last Post: Azdaghost
11 hours ago
» Replies: 0
» Views: 70
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Yesterday, 03:28 PM
» Replies: 7
» Views: 2,752
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,006
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 699
New to Python and Pygame
Forum: Game Development
Last Post: JMcM
Sep-14-2025, 11:25 AM
» Replies: 7
» Views: 2,042
Python Installation issue
Forum: News and Discussions
Last Post: Dev
Sep-14-2025, 11:16 AM
» Replies: 4
» Views: 15,931
New to the field
Forum: News and Discussions
Last Post: Larz60+
Sep-14-2025, 08:15 AM
» Replies: 1
» Views: 590

 
  Inconsistent loop iteration behavior
Posted by: JonWayn - Dec-09-2022, 11:08 PM - Forum: General Coding Help - Replies (2)

I have some code that opens a website, submits search criteria, and loops through each resulting table row for the link to the details behind it. The ..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  403 Error 7 hours ago CaptainNewb snippsat Web Scraping ...
  real community 8 hours ago decuser decuser News and Disc...
  variable changing types f... 9 hours ago Azdaghost Gribouillis General Codin...
  looking for help 11 hours ago Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... Yesterday, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame 09-14, 11:25 JMcM JMcM Game Developm...
  Python Installation issue 09-14, 11:16 RFHill Dev News and Disc...
  New to the field 09-14, 08:15 Polybunny Larz60+ News and Disc...
  [Tkinter] Too much space ... 09-14, 02:34 RonR deanhystad GUI
Most views
  The best Prog... 575757
  Tutorial Requ... 496953
  Web Scraping ... 439779
  Newbie with P... 383447
  New Users Int... 365102
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12087
buran 8174
snippsat 7367
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
luisshulez6883 Yesterday
KennedyRichadGuerra Yesterday
Williefaree Yesterday
faithsally Yesterday
compuman145 Yesterday

User Panel Messages

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