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,398
» Latest member: zasamueluniorz7349
» Forum threads: 38,825
» Forum posts: 176,036

Full Statistics

Online Users
There are currently 29 online users.
» 0 Member(s) | 27 Guest(s)
Bing, Google

Latest Threads
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
2 hours ago
» Replies: 2
» Views: 100
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
2 hours ago
» Replies: 2
» Views: 91
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Yesterday, 08:02 PM
» Replies: 6
» Views: 7,175
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 07:58 AM
» Replies: 28
» Views: 15,633
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 184
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,614
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 271
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,633
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 243
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 383

 
  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

  Saving list in a list
Posted by: quest_ - Mar-08-2021, 01:44 PM - Forum: General Coding Help - Replies (3)

Hello I am trying to save my list into another list. I actually do it but it is saved like

array([0, 0]), array([0, 1])
Howe..... More

Print this item

  Simple Variable Saving in Loop
Posted by: DevDev - Mar-08-2021, 12:15 PM - Forum: General Coding Help - Replies (3)

Hello Python community,
I am relatively new the language, and have most of my experience in MATLAB.
I've tried to already search for the answer to..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Check if running from she... 2 hours ago rjdegraff42 noisefloor General Codin...
  Sorry Help 2 hours ago BioNanoTech noisefloor General Codin...
  IP address for users Yesterday, 20:02 Robots DeaD_EyE Networking
  Merge video with subtitle... Yesterday, 07:58 Pavel_47 OtiliaGen General Codin...
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
Most views
  The best Prog... 580475
  Tutorial Requ... 520017
  Web Scraping ... 442797
  Newbie with P... 387015
  New Users Int... 386781
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
zasamueluniorz7349 Today
BioNanoTech Today
CarlApome Yesterday
cruisesfares 12-30
azam 12-30

User Panel Messages

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