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,941
» Latest member: Littlefish
» Forum threads: 38,723
» Forum posts: 175,517

Full Statistics

Online Users
There are currently 42 online users.
» 0 Member(s) | 34 Guest(s)
AOL, Google, Bing, AOL, Facebook Dev

Latest Threads
A coding beginner needs h...
Forum: General Coding Help
Last Post: paul18fr
3 hours ago
» Replies: 1
» Views: 148
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
7 hours ago
» Replies: 8
» Views: 305
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,500
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 894
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,713
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,244
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,772
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,568
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,670
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,855

 
  pymongo diff type problem to find images on two drives
Posted by: darter - Mar-11-2021, 04:43 AM - Forum: Data Science - No Replies

I would like to compare two photo collections on two different hard drives so that I can locate any images on drive 2 that are not already on drive 1..... More

Print this item

  Matplotlib: How do I convert Dates from Excel to use in Matplotlib
Posted by: JaneTan - Mar-11-2021, 03:28 AM - Forum: General Coding Help - Replies (1)

A typical date in Excel is d/m/yyyy (eg '6/3/1990').

I want to import a timeseries from excel to plot in Matplotlib.

I note for Python datetime ..... More

Print this item

  like os.renames but doing a link?
Posted by: Skaperen - Mar-11-2021, 03:05 AM - Forum: News and Discussions - No Replies

has anyone ever seen a function that makes links the same way as os.renames() does a rename? i want to have a complete suite of functions where there..... More

Print this item

  review of command line parsers
Posted by: Skaperen - Mar-11-2021, 01:34 AM - Forum: News and Discussions - Replies (2)

i am doing a project where it makes sense to me to use a separate option (and maybe also argument) parser. i need one that supports some specific fea..... More

Print this item

  IF statement to apply at each date
Posted by: illmattic - Mar-10-2021, 09:41 PM - Forum: General Coding Help - Replies (2)

Hello,

I am trying to write a function that includes an IF statement that looks at two columns in the dataframe to highlight the dates when the 'va..... More

Print this item

  Errors when extracting files from ZIPs
Posted by: tester_V - Mar-10-2021, 09:24 PM - Forum: General Coding Help - Replies (3)

Greetings!
I’m having errors when extracting files from ZIP archives, see the errors below:
[python]
line 1698, in _extract_member
with self.o..... More

Print this item

  Help with installing TensorRT
Posted by: samuelbachorik - Mar-10-2021, 08:00 PM - Forum: Data Science - No Replies

Hello I can not find working way to install Nvidia TensorRT on windows. Please can someone help me with installing it ?

[error]No module named 'te..... More

Print this item

Exclamation TypeError: '>=' not supported between instances of 'int' and 'str'
Posted by: helpme1 - Mar-10-2021, 04:58 PM - Forum: General Coding Help - Replies (11)

So I'm making a client and server end to end encryption (trust me this doesn't have to do with web development) and i get this error message:

[err..... More

Print this item

  Python - Merge existing cells of Excel file created with xlsxwriter
Posted by: manonB - Mar-10-2021, 02:17 PM - Forum: Data Science - No Replies

Hello,
I'm writing a Python script which creates an Excel file. The worksheet that causes me problems is the one with a calendar of each month. I wou..... More

Print this item

  Tic Tac Toe Help
Posted by: javesike1262 - Mar-10-2021, 01:38 PM - Forum: GUI - Replies (3)

Hello, I have been creating a Tic Tac Toe game in Tkinter. It is supposed to draw X's and O's. A left click should place an X and a right click should..... More

Print this item

  Hex coords and using the tile
Posted by: jauger - Mar-10-2021, 01:34 PM - Forum: Game Development - Replies (3)

I am trying to learn python through making a game. In my game, I used a script that built the set up for Settlers of Catan. My board is slightly large..... More

Print this item

  selenium problems
Posted by: DonaldBug13 - Mar-10-2021, 11:19 AM - Forum: Web Scraping & Web Development - Replies (1)

Hey, guys,

I would like to automate a process with selenium on the trading platform https://app.stormgain.com. You should fill out the login form a..... More

Print this item

  User serial/pyserial to send messages to an arudino via terminal manually
Posted by: bkapadia - Mar-10-2021, 03:38 AM - Forum: General Coding Help - Replies (2)

Is there a way to send a byte/char to the arudino using serial/pyserial without tying up the serial port continuously so I can send control commands t..... More

Print this item

  another documentation error
Posted by: Skaperen - Mar-10-2021, 02:07 AM - Forum: News and Discussions - Replies (2)

there is another documentation error describing os.replace(). see if you can guess what it is without trying it..... More

Print this item

  How to remove multiple tags using regex
Posted by: sbmonzur - Mar-09-2021, 11:55 PM - Forum: Homework - Replies (3)

Hi all,

Newbie here! I am using Python 3.8.3 and am trying to remove tags from the attached text file ..... More

Print this item

  automatically get absolute paths
Posted by: oclmedyb - Mar-09-2021, 08:34 PM - Forum: General Coding Help - Replies (3)

Hello,
I want to automatically convert relative paths to absolute paths.


dirname = os.path.dirname(__file__)
os.path.join(dirname, r'relative/p..... More

Print this item

  Writing a lambda function that sorts dictionary
Posted by: GJG - Mar-09-2021, 06:38 PM - Forum: General Coding Help - Replies (1)

Hi guys! :)

dict1 = {'c':3, 'a':5, 'f':7, 'e':4}
Was wandering how to sort this dictionary by highest value first using lambda ..... More

Print this item

  xlsxwriter + mplfinance: Plot Stock Chart in Excel Worksheet
Posted by: KMV - Mar-09-2021, 05:32 PM - Forum: General Coding Help - Replies (1)

Hello,

I would like to loop into various of instrument tickers in a dataframe and plot each instrument chart into an Excel worksheet.

Is there a pos..... More

Print this item

  Query regrading plotting 95 % significance level
Posted by: PreetiRajpoot - Mar-09-2021, 04:00 PM - Forum: General Coding Help - No Replies

Hello all,
I am trying to add hatching (like dots, hashes, .. ) over contour map. Such hatching could represent the only the statistically significa..... More

Print this item

  Annotating plot bar from values of other a specific column
Posted by: celinafregoso99 - Mar-09-2021, 03:22 PM - Forum: General Coding Help - No Replies

I am trying to create a bar plot with matplotlib in which x values are in one column and the percentages of these values are in a separate column.

..... More

Print this item

  threadlocals are garbage collected before thread ends
Posted by: akv1597 - Mar-09-2021, 12:09 PM - Forum: General Coding Help - No Replies

I have a factory method that may be called from many threads. The method looks inside the thread locals for a certain object and if it doesn't exist, ..... More

Print this item

  Space between list and column alignment
Posted by: rturus - Mar-09-2021, 11:13 AM - Forum: General Coding Help - Replies (8)

Can anyone tell me how I can put more than one list in table style display please? With columns and rows are nicely aligned.

Thanks.

Print this item

  Export dataframe to xlsx - Error "zipfile.BadZipFile: File is not a zip file"
Posted by: Baggio - Mar-09-2021, 10:56 AM - Forum: Data Science - Replies (10)

Hi
current configuration: python: 3.9 |openpyxl: 3.0.6 | pandas: 1.2.3 |xlrd 2.0.1

From a couple of years I use a really useful function to..... More

Print this item

  Xlsxwriter: Create Multiple Sheets Based on Dataframe's Sorted Values
Posted by: KMV - Mar-09-2021, 10:41 AM - Forum: General Coding Help - Replies (2)

Hello,

I would appreciate your help on figuring how to create multiple excel sheets based on sorted results from a dataframe using Xlsxwriter.

In th..... More

Print this item

  Can't get elements by class on this website
Posted by: Cknutson575 - Mar-09-2021, 08:26 AM - Forum: Web Scraping & Web Development - Replies (5)

Hi Everyone,

I have been trying to scrap this website and I run into some NoneType errors that I'm having a really hard time figuring out the root ..... More

Print this item

  How can I pass&return ndarray between python and c++?
Posted by: JESuh - Mar-09-2021, 08:11 AM - Forum: General Coding Help - No Replies

Hello,
I have some questions about python c extension. I want to pass ndarray from python to c++, do some job to change the values in this ndarray, a..... More

Print this item

  Hot Potato
Posted by: Skaperen - Mar-09-2021, 05:36 AM - Forum: Bar - Replies (7)

* Skaperen tosses you the HotPotatoError

Print this item

  Beginner question - storing values
Posted by: cybertron2 - Mar-09-2021, 12:01 AM - Forum: General Coding Help - Replies (4)

Hi everyone. I'm having trouble understanding the fundamentals of Python - namely taking one value and passing it into another function. I've been stu..... More

Print this item

  Where is the full_bpb file?
Posted by: Led_Zeppelin - Mar-08-2021, 10:08 PM - Forum: General Coding Help - Replies (1)

[python]
### preliminary imports
import matplotlib.pyplot as plt
from scipy import stats
import pandas as pd
import numpy as np

df_list = []
..... More

Print this item

  API Gateway to manage multiple API's get put data
Posted by: robsuttonjr - Mar-08-2021, 06:02 PM - Forum: General Coding Help - Replies (2)

I have need to connect to multiple API's using get requests to pull and store some data which will then be used to compile put requests. I would like..... More

Print this item

Brick UnboundLocalErrors: variables reference before assignment? Need Help!
Posted by: sirLancelot - Mar-08-2021, 04:16 PM - Forum: General Coding Help - Replies (1)

Using Python Version 3.9.1 on Windows 10.

I'm a novice at Python and practicing by making a simple text-based zombie survival game.In its cu..... More

Print this item

  Saving variables in memory
Posted by: pprod - Mar-08-2021, 03:48 PM - Forum: General Coding Help - Replies (8)

Hi,
I understand Python saves variables in memory, right? As it does so, does it create any logs or files with a reference to the content of the vari..... More

Print this item

  Suggestions for a simple data analysis program
Posted by: t4keheart - Mar-08-2021, 03:45 PM - Forum: General Coding Help - No Replies

Hi guys,
I'm starting a new project and would like to know what some of you more seasoned python coders might think of my plans.

I need to creat..... More

Print this item

  Else statement
Posted by: Lass86 - Mar-08-2021, 03:31 PM - Forum: General Coding Help - Replies (6)

Hi everyone,

I keep running in to this issue when I want to create an Else statement. I think something goes wrong with the indentation, but I coul..... More

Print this item

  Images in Toplevel()
Posted by: finndude - Mar-08-2021, 02:16 PM - Forum: GUI - Replies (4)

Hi All,

How do i add an image into a window in Tkinter when using toplevel. Ive tried with PIL and haven't got working results.

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  A coding beginner needs h... 3 hours ago Littlefish paul18fr General Codin...
  Using a For Loop to subtr... 7 hours ago Anunderling deanhystad General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... 09-19, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
Most views
  The best Prog... 576563
  Tutorial Requ... 498545
  Web Scraping ... 440432
  Newbie with P... 384334
  New Users Int... 367536
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 8175
snippsat 7368
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Littlefish Today
Noya_Yonatan Yesterday
Saipython555 Yesterday
Anunderling Yesterday
Monir Yesterday

User Panel Messages

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