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,945
» Latest member: susan
» Forum threads: 38,725
» Forum posts: 175,521

Full Statistics

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

Latest Threads
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
23 minutes ago
» Replies: 0
» Views: 4
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: susan
2 hours ago
» Replies: 4
» Views: 9,078
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
6 hours ago
» Replies: 2
» Views: 413
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
6 hours ago
» Replies: 0
» Views: 63
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 08:56 PM
» Replies: 9
» Views: 557
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,778
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,098
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,456
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 3,019
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,768

 
  Allintitle Search with Python
Posted by: lradue - Jan-10-2021, 06:32 AM - Forum: Web Scraping & Web Development - Replies (4)

I'm trying to use python to perform an allintitle google search and then return the number of results.

I'm able to use requests to perform the goog..... More

Print this item

  saving progress, go to a new screen, then resume
Posted by: petomane - Jan-10-2021, 04:30 AM - Forum: Homework - Replies (8)

Hi,

Just registered. And have an assignment which includes the following requirement that I am struggling with.
Typing 'blabla' should take to a n..... More

Print this item

  Help on displaying tostring on class.
Posted by: javesike1262 - Jan-10-2021, 02:10 AM - Forum: Homework - Replies (6)

Hi I have got all the getters and setters for each property of the student class assignment which I have name, id number, date of birth and grade. How..... More

Print this item

  Pandas question
Posted by: new2datasci - Jan-10-2021, 01:29 AM - Forum: Data Science - No Replies

Pulling from polygon.io API.
(JSON Object Response example at bottom)
green text is where im stuck
red text is from documentation
this response o..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  IBKR Purchasing code issu... 23 minutes ago compuman145 compuman145 General Codin...
  Creating a Mindmap progra... 2 hours ago J_Miller susan General Codin...
  A coding beginner needs h... 6 hours ago Littlefish Littlefish General Codin...
  Is the interpreter that c... 6 hours ago helendamdam helendamdam General Codin...
  Using a For Loop to subtr... Yesterday, 20:56 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...
  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...
Most views
  The best Prog... 576683
  Tutorial Requ... 498818
  Web Scraping ... 440509
  Newbie with P... 384450
  New Users Int... 368055
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 6894
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
susan Today
jatinkumar12 Today
angelhealu504 Today
helendamdam Today
pllrdvalery Yesterday

User Panel Messages

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