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,403
» Latest member: JassicaElla60
» Forum threads: 38,825
» Forum posts: 176,039

Full Statistics

Online Users
There are currently 34 online users.
» 0 Member(s) | 27 Guest(s)
Applebot, Google, Bing, DuckDuckGo, AOL, Mojeek

Latest Threads
a function to watch files
Forum: News and Discussions
Last Post: OtiliaGen
41 minutes ago
» Replies: 2
» Views: 172
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
47 minutes ago
» Replies: 29
» Views: 15,687
Create dataframe from the...
Forum: Data Science
Last Post: JassicaElla60
48 minutes ago
» Replies: 8
» Views: 3,660
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 2
» Views: 177
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 11:47 AM
» Replies: 2
» Views: 139
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Dec-31-2025, 08:02 PM
» Replies: 6
» Views: 7,191
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 217
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,636
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 298
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 266

 
  the -m option for python command
Posted by: Skaperen - Jan-09-2021, 11:33 PM - Forum: News and Discussions - No Replies

the man page says -m runs the .py file. does this mean it ignores the .pyc file even if newer?

Print this item

  Populate a table with variables
Posted by: Market_Python - Jan-09-2021, 11:26 PM - Forum: General Coding Help - Replies (4)

Hi guys,

I need your help please to solve a very basic problem in Python (I think it's simple, but still challenging for me as a beginner Huh ..... More

Print this item

  why print('\n') produced 2 new lines instead of 1 - Located inside a FOR loop
Posted by: JulyFire - Jan-09-2021, 10:39 PM - Forum: General Coding Help - Replies (2)

Hi guys, I need help to understand the following codes' logic please. I was trying to print out the keys and values of my dictionaries. My codes did p..... More

Print this item

  How to tkinter canvas2pdf?
Posted by: philipbergwerf - Jan-09-2021, 10:02 PM - Forum: General Coding Help - Replies (1)

After a long time I desided to post a question because my previous posts where a little dumb...

I have a situation where I created a tkinter progra..... More

Print this item

  irrelevant images error
Posted by: ipek - Jan-09-2021, 09:39 PM - Forum: News and Discussions - Replies (2)

We want a warning screen to appear when an image other than CT or X-Ray images (for example, when a dog, cat, carpet image is loaded) is added to this..... More

Print this item

  Data extraction from a table based on column and row names
Posted by: tgottsc1 - Jan-09-2021, 09:25 PM - Forum: General Coding Help - Replies (1)

Hello,

I have a basic question regarding the extraction of data from a table. Google did not bring up the desired result, so I would be happy if s..... More

Print this item

  Python Idlex setup
Posted by: robsuttonjr - Jan-09-2021, 08:57 PM - Forum: General Coding Help - Replies (3)

I am trying to setup an extension for Python Idle called Idlex. The instructions are not working for me. The final step to "include the contents
of..... More

Print this item

  unpacking tuple not working
Posted by: project_science - Jan-09-2021, 08:45 PM - Forum: General Coding Help - Replies (1)

Hi,

I'm creating a simple calculator. I'm having trouble with unpacking a tuple. My IDE returns an error saying,
[quote]
(num1, num2, den1, den..... More

Print this item

  Using Python request without selenium on html form with javascript onclick submit but
Posted by: eraosa - Jan-09-2021, 06:08 PM - Forum: Web Scraping & Web Development - No Replies

I am trying to submit a form that uses onclick javascript submit function and i think when the submit function is invoked it generates a url for the n..... More

Print this item

  Feedback on salary calculator.
Posted by: FloppyPoppy - Jan-09-2021, 05:28 PM - Forum: Code Review - Replies (1)

Hi all looking for any feedback for my little calculator that I made this morning.

A couple of us are looking at taking some weekend work to boost ..... More

Print this item

  Nested for Loops
Posted by: sammay - Jan-09-2021, 05:24 PM - Forum: General Coding Help - Replies (1)

Hey everybody,
Hope everything goes well,
As I am a newcomer in Python, I have difficulty in understanding the way Python calculate nested loops.
..... More

Print this item

  Fetching data from multiple tables in a single request.
Posted by: swaroop - Jan-09-2021, 04:21 PM - Forum: General Coding Help - No Replies

I am unable to get all the data from multiple tables in a single request.
Here this is my code.
[python]
class maindevotee(db.Model):
id = db.Colu..... More

Print this item

  Conversion CSV to JSON
Posted by: mati - Jan-09-2021, 04:13 PM - Forum: Data Science - Replies (1)

Hello Everyone,
I'm new here.
I'm looking for help in my code.
I'm writting app to convert csv to json file and i did the conversion but final .jso..... More

Print this item

  Inserting multiple rows in a single request.
Posted by: swaroop - Jan-09-2021, 10:36 AM - Forum: General Coding Help - Replies (2)

How to insert multiple rows in a single request using flask-sqlalchemy.
[python]
class relatives(db.Model):
id = db.Column(db.Integer, primary_..... More

Print this item

  Pygame vs Turtle
Posted by: BenBach18 - Jan-09-2021, 10:06 AM - Forum: Homework - Replies (1)

Hi guys,

unfortunately I can't find anything on the internet regarding the advantages and disadvantages of the modules "Pygame" and "Turtle".
I ..... More

Print this item

  [split] Getting Index Error - list index out of range
Posted by: krishna - Jan-09-2021, 08:18 AM - Forum: Data Science - Replies (2)

I am getting the same type of error. Please help


I am getting the same error. If your issue is resolved please help me.

Print this item

  Codility Frog River One
Posted by: Westerner - Jan-09-2021, 06:49 AM - Forum: General Coding Help - Replies (2)

Heya, I've been running through Codility challenges and came upon a snag.
This program is meant to output the shortest time (K) possible to cross the..... More

Print this item

  Although this is a talib related Q it's mostly related to python module installing..
Posted by: Evalias123 - Jan-09-2021, 03:53 AM - Forum: General Coding Help - Replies (4)

Although I had installed numpy and apparently have it up to date, I've spent several hours banging my head into a wall trying to

pip install talib..... More

Print this item

  Game “Pong” I have problems with the code
Posted by: BenBach18 - Jan-09-2021, 12:52 AM - Forum: Game Development - Replies (2)

I have programmed the game Pong. It can be opened and played, but it still indicates that there is an error:

Traceback (most recent call last):
Fi..... More

Print this item

  Extracting data from a website
Posted by: tgottsc1 - Jan-08-2021, 09:31 PM - Forum: General Coding Help - Replies (2)

Hello,

I have a very basic problem and would be happy if someone could help me out.

I would like to extract price data of a stock from a websi..... More

Print this item

  Testing Zipfiles
Posted by: millpond - Jan-08-2021, 07:55 PM - Forum: General Coding Help - Replies (7)

Over the holidays my main data drive crashed, requiring a deep data scan, which resulted in hundreds of thousands of files with extensions but no name..... More

Print this item

  interactive map and function
Posted by: hurc60248 - Jan-08-2021, 06:17 PM - Forum: General Coding Help - Replies (1)

hello everyone
I would like to create an interactive map on Python. (I saw that I could do this with folium). However, I would also like that when I ..... More

Print this item

  Update Date based on Time/String
Posted by: stevezemlicka - Jan-08-2021, 05:49 PM - Forum: General Coding Help - Replies (1)

I am absolutely new to Python. While having a bit of experience with perl, ruby, and some other programming languages, I figure it's about time I del..... More

Print this item

  Convert string to JSON using a for loop
Posted by: PG_Breizh - Jan-08-2021, 05:41 PM - Forum: General Coding Help - Replies (3)

Hello,

I need to transform a string like "Name1:Val1|Name2:Val2" to a JSON like [{'name': 'Name1', 'value': 'Val1', 'status': 'Passed'}, {'name': ..... More

Print this item

  cosmetic glitch in tutorial
Posted by: penhelm - Jan-08-2021, 05:39 PM - Forum: News and Discussions - Replies (1)

(If you're short on time, feel free to skip this post.)

I have found a cosmetic glitch in the tutorial at:
https://docs.python.org/3/tutorial/intr..... More


Attached Files

Thumbnail(s)
   
Print this item

  get year information from a timestamp data frame
Posted by: asli - Jan-08-2021, 04:29 PM - Forum: General Coding Help - Replies (1)

Hi all,
I am new to python.
I am reading a datafile where there is timestamp values as string.
I want to ger distinct years from this dataframe an..... More

Print this item

  Curses script doesn't work
Posted by: wavic - Jan-08-2021, 03:49 PM - Forum: General Coding Help - Replies (1)

I was bored and started to play with curses. I wrote a small script which just shows the key you hit and you are able to move that around. But it cras..... More

Print this item

  Connect device using Visa TCP Socket connection
Posted by: d777py - Jan-08-2021, 03:02 PM - Forum: General Coding Help - Replies (1)

In summary; I am trying to connect to a device using Visa TCP Socket option.

The Connection does not complain but I can not run any SCPI command to t..... More

Print this item

  Sympy nonlinsolve does not return explicit solution
Posted by: axelle - Jan-08-2021, 02:56 PM - Forum: Data Science - Replies (1)

This is my first attempt at symbolic solving in Python and I would need some help. My aim is to get explicit solutions for my variables in terms of th..... More

Print this item

  gettin flask to call script periodically
Posted by: GrahamL - Jan-08-2021, 01:51 PM - Forum: Web Scraping & Web Development - Replies (1)

As in the title I want a script to get called periodically
I have this script at the bottom of an html file
<script>
setInterval("ajaxd(..... More

Print this item

  Send keys to DirectX
Posted by: Orion - Jan-08-2021, 01:14 PM - Forum: General Coding Help - No Replies

Hello,
I am trying to make send key function for this game: https://www.4ancient.eu/download.php . This game have in Minimum requirements thats use D..... More

Print this item

  Codility Binary Gap Exercise
Posted by: Westerner - Jan-08-2021, 09:51 AM - Forum: General Coding Help - Replies (2)

Heya, rookie coder here trying to build up my know-how.
I've been working on this problem for far too long and was hoping I could get some insight he..... More

Print this item

  c:\... Syntax
Posted by: Aussie - Jan-08-2021, 08:48 AM - Forum: General Coding Help - Replies (18)

Hi Guy's,
I am trying to send a request.

When I try to run the code I get an error arrow below the C: in the below line;

[inline]verify=r"C:\\U..... More

Print this item

  Reload flask current page
Posted by: GrahamL - Jan-08-2021, 08:03 AM - Forum: Web Scraping & Web Development - Replies (2)

Hi
I am developing a Flask app that communicates with a back end via pipes.
I need to reload the current page of the Flask app when an update is re..... More

Print this item

  Graphs with Python
Posted by: BlazingWarlord - Jan-08-2021, 07:00 AM - Forum: Tutorial Requests and Submissions - Replies (1)

A simple tutorial for users who want to learn basics of Matplotlib and plot all kinds of graphs in Python. Hope it helps Smile

https://thepyg..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  a function to watch files 41 minutes ago Skaperen OtiliaGen News and Disc...
  Merge video with subtitle... 47 minutes ago Pavel_47 OtiliaGen General Codin...
  Create dataframe from the... 48 minutes ago Calab JassicaElla60 Data Science
  Check if running from she... Yesterday, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help Yesterday, 11:47 BioNanoTech noisefloor General Codin...
  IP address for users 12-31, 20:02 Robots DeaD_EyE Networking
  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...
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
Most views
  The best Prog... 580490
  Tutorial Requ... 520226
  Web Scraping ... 442808
  Newbie with P... 387025
  New Users Int... 386864
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
JassicaElla60 Today
bryanptrovz7447 Today
oliviajuior7959 Yesterday
aoliiapetrov4786 Yesterday
zanaalietexaxd4208 Yesterday

User Panel Messages

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