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,932
» Latest member: XenonBlack
» Forum threads: 38,721
» Forum posts: 175,502

Full Statistics

Online Users
There are currently 48 online users.
» 2 Member(s) | 39 Guest(s)
Applebot, Google, Bing, AOL, AOL, Mojeek, kshahzad1985, bowlofred

Latest Threads
Too much space between gr...
Forum: GUI
Last Post: RonR
5 hours ago
» Replies: 2
» Views: 873
How Reliable Is Assignmen...
Forum: News and Discussions
Last Post: tobey12
8 hours ago
» Replies: 0
» Views: 50
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Today, 07:07 AM
» Replies: 1
» Views: 353
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 08:58 PM
» Replies: 8
» Views: 2,460
real community
Forum: News and Discussions
Last Post: decuser
Yesterday, 08:16 PM
» Replies: 3
» Views: 1,525
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:45 PM
» Replies: 1
» Views: 392
looking for help
Forum: Bar
Last Post: Azdaghost
Yesterday, 05:03 PM
» Replies: 0
» Views: 123
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Yesterday, 03:28 PM
» Replies: 7
» Views: 2,900
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,154
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 839

 
  exception handling
Posted by: saisankalpj - Aug-05-2022, 07:49 PM - Forum: Web Scraping & Web Development - Replies (1)

I want to handle exceptions in django.When the debug=True in django,we get a standard error page in html.But my requirement is that the error response..... More

Print this item

  Stacking Problem in a game.
Posted by: HelloTobi22 - Aug-05-2022, 07:40 AM - Forum: General Coding Help - Replies (2)

I'm making a text adventure game as a beginner project and have already run into a problem. I'm making an encounter with an enemy (namely a 'boar') an..... More

Print this item

  loop ( 2 inputs for each loop)
Posted by: brianhclo - Aug-05-2022, 07:31 AM - Forum: General Coding Help - Replies (6)

Hi guys, anyways I can use a loop to do this?
thanks.

[python]ib.placeOrder(es, es_order)
ib.placeOrder(nq, nq_order)
ib.placeOrder(rty, rty_or..... More

Print this item

  loop (create variable where name is dependent on another variable)
Posted by: brianhclo - Aug-05-2022, 07:28 AM - Forum: General Coding Help - Replies (1)

Hi guys, i am new to python. i am coding a buy/sell order instruction for interactive brokers api. Is there a way to simplify the code here?

[pyth..... More

Print this item

  Scraping someone's recent tweets via python UI automation module Clicknium
Posted by: sharmajaafar - Aug-05-2022, 06:16 AM - Forum: Code sharing - No Replies

Requirement Statements
Get someone's recent tweets and save to a CSV file.
We can start this simple beginner process q..... More

Print this item

  how to run a command pipeline and get its result output as a piped file
Posted by: Skaperen - Aug-04-2022, 11:59 PM - Forum: Code sharing - No Replies

this code is a minimal example of how to run a command pipeline and get its result output as a pipe file. that file is binary so its read result will..... More

Print this item

  Help unwinding assignment
Posted by: JamesBrown - Aug-04-2022, 05:38 PM - Forum: General Coding Help - Replies (2)

I am trying to understand the operation of this assignment function:

[python] Iss = (0.0 < tNow < 2.0) * Iin + (tNow >= 2.0 or tNow < 0) * 0 [/pyth..... More

Print this item

  PyMongo error
Posted by: bagou450 - Aug-04-2022, 08:27 AM - Forum: General Coding Help - No Replies

Hello

I do a transfer of a python script from a server to another and i get this error:

ModuleNotFoundError: No module named 'pymongo.server_api..... More

Print this item

  File explorer
Posted by: DPaul - Aug-04-2022, 06:41 AM - Forum: General Coding Help - Replies (9)

Hi,
In a win11 python 10.x environment, I can start the file explorer from within python like so:
[python]import os
def show_explorer(path):
..... More

Print this item

  Whys is asterisk and random variable necessary in these functions?
Posted by: rrowhe4d - Aug-04-2022, 04:03 AM - Forum: General Coding Help - Replies (5)

In this basic Python Tkinter code, I'm trying to bind certain functions to trigger upon either a UI button press or a keyboard key press.

[python]..... More

Print this item

  od_graph_def.ParseFromString(serialized_graph)
Posted by: hobbyist - Aug-03-2022, 05:39 PM - Forum: General Coding Help - Replies (3)

I am using this guy's code: https://stackoverflow.com/questions/4567...to-console
I get..... More

Print this item

Exclamation Weird IndexError (help a beginner)
Posted by: David_F - Aug-03-2022, 07:42 AM - Forum: General Coding Help - Replies (4)

Hello,
When I pass as input an array of shape (15,1) I get:
IndexError: index 15 is out of bounds for axis 0 with size 15

However, when I pass th..... More

Print this item

  Selling gives me ‘Insufficient balance’ error
Posted by: gerald - Aug-03-2022, 04:45 AM - Forum: General Coding Help - Replies (3)

Hi everyone,

When I try to sell it gives me error: APIError(code=-2010): Account has insufficient balance for requested action. Even though I shoul..... More

Print this item

  [SOLVED] Tkinter module not found
Posted by: Milan - Aug-02-2022, 06:51 PM - Forum: General Coding Help - Replies (7)

Hello team,

So I installed tkinter using

pip3 install tk
But when I try to run the following code

[python]import tkinter ..... More

Print this item

  Regex find string then return 10 character after it
Posted by: pyStund - Aug-02-2022, 04:52 PM - Forum: Data Science - Replies (6)

Hi,
I’ve been looking at Regex and regex cheat sheets and can find how to search for a string and then group them but it would be useful for me to be..... More

Print this item

  How to modify python script to append data on file using sql server 2019?
Posted by: ahmedbarbary - Aug-02-2022, 01:23 AM - Forum: General Coding Help - Replies (1)

I need to append data to excel file already exist from table students on SQL Server .

So I need to append data when dbo.fn_FileExists(@FullFilePath..... More

Print this item

Lightbulb Total Strokes Calculator
Posted by: marlonsmachado - Aug-02-2022, 01:10 AM - Forum: General Coding Help - Replies (7)

Hello all,

I'm trying to create a calculator where I want to see the total strokes in cumulative (sum per second) when I input the rate. For exampl..... More

Print this item

  Convert SQLite Fetchone() Result to float for Math
Posted by: Extra - Aug-01-2022, 07:57 PM - Forum: General Coding Help - Replies (13)

Hello,

I have an SQLite Statement that fetches one result.

Output:
(1.5,)
The problem is when I try using that result for math:
..... More

Print this item

  Fully Remote: Django Developer Who Loves Linux And Open Source 5 Monkeys Agency
Posted by: djangojobs.net - Aug-01-2022, 04:31 PM - Forum: Jobs - No Replies

Quick Apply:
djangojobs.net/jobs/1140/fully-remote-django-developer-who-loves-linux-and-open-source-apply-via-ssh-5-monkeys-agency/

Do you love Py..... More

Print this item

  Undefined
Posted by: Led_Zeppelin - Aug-01-2022, 04:20 PM - Forum: General Coding Help - Replies (4)

I get the following error when I run some python code.

[error]
NameError Traceback (most recent call last)
Input ..... More

Print this item

  Help Iterating through to read comboBox Selections
Posted by: Extra - Aug-01-2022, 04:06 PM - Forum: GUI - Replies (3)

Hello,

I have 22 ComboBoxes where the user can choose different values for each one.
The problem I'm having is that I don't know how to iterate t..... More


Attached Files

Thumbnail(s)
   
Print this item

  Creating hot spots in PyGTK
Posted by: DrakeSoft - Aug-01-2022, 02:20 PM - Forum: GUI - Replies (1)

Hi,

I am trying to create an application in PyGTK that will feature 4 video screens in a single GTK window. I am using GTKs UI sockets to embed the..... More

Print this item

  Querying Django model db - from Jose Portilla’s Udemy course
Posted by: Drone4four - Aug-01-2022, 02:12 PM - Forum: Web Scraping & Web Development - Replies (2)

I’m taking a Udemy course by Jose Portilla and I am learning how to query data in my Django shell.

To make things simple and straightforward, the ..... More

Print this item

  Using .pb saved model for object detection
Posted by: hobbyist - Aug-01-2022, 12:03 PM - Forum: General Coding Help - Replies (2)

I am using this guy's code: https://tensorflow-object-detection-api-...aved_model...... More

Print this item

  How to combine two output in one variable?
Posted by: ilknurg - Aug-01-2022, 08:25 AM - Forum: General Coding Help - Replies (2)

I have a while loop. In my loop the result can be one or more than one. Like:

2 antivirüs name's like:
Kaspersky.
Trend Micro


I want to..... More

Print this item

  Python just isn't 'clicking' for me
Posted by: IceJJFish69 - Aug-01-2022, 04:28 AM - Forum: News and Discussions - Replies (1)

Hello,

I previously did python for a college class and just managed to barely scrape by with a pass (it was an introduction class). I had hoped to ..... More

Print this item

  Continuous Scrolling Loop
Posted by: giddyhead - Aug-01-2022, 04:07 AM - Forum: Web Scraping & Web Development - No Replies

Hello Everyone,

I have a problem with the continuous down scrolling of page as it does not stop at the scrape number found. The following is what I..... More

Print this item

  simple tkinter question function call not opening image
Posted by: gr3yali3n - Jul-31-2022, 07:40 PM - Forum: GUI - Replies (5)

I had some free time and was messing tkinter again, i wanted to create a function to open a image so that i could simply call the function to get the ..... More

Print this item

  extract table from multiple pages
Posted by: sshree43 - Jul-31-2022, 11:38 AM - Forum: General Coding Help - Replies (8)

Hi Expert,

I am trying to get table extract from multiple pdf pages but i am getting only 2 pages and page header currently(Source PDF(test.pdf),ou..... More


Attached Files

.csv   Outputfile.csv (Size: 5.49 KB / Downloads: 352)
.txt   codetext (1).txt (Size: 3.25 KB / Downloads: 267)
.pdf   test.pdf (Size: 146.37 KB / Downloads: 491)
Print this item

  python with mysql utf8 error
Posted by: thomasvanderwal - Jul-31-2022, 10:22 AM - Forum: Data Science - Replies (1)

I have a problem on my raspberry with mysql (mariadb). When I execute this simple programm it shows this error. The database is made in phpmyadmin (ge..... More

Print this item

  I don't understand pip and environments
Posted by: snakes - Jul-31-2022, 09:14 AM - Forum: General Coding Help - Replies (3)

I'm completely confused... partly because I decided to buy a Mac!

I play about with Python and Scikit-learn from time to time mostly on a Linux deskt..... More

Print this item

  Parsing JSON
Posted by: pyStund - Jul-30-2022, 09:27 PM - Forum: General Coding Help - Replies (4)

Hi,

I need to take some JSON values that are floats from an AWS DynamoDB and make them variables to use in my script but I keep on running into prob..... More

Print this item

  [Solved]Populate ComboBox with for loop?
Posted by: Extra - Jul-30-2022, 07:08 PM - Forum: GUI - Replies (3)

Hello,

I'm trying to populate 22 combo boxes with the same options (I have 'Material_1_ComboBox' all the way to [i]'Material_22_ComboBox'[/i..... More

Print this item

  boto3 Help Needed
Posted by: gw1500se - Jul-30-2022, 04:06 PM - Forum: General Coding Help - No Replies

I'm just getting started with boto3 and AWS. I found this article[/[url=https://python-forum.io/thread-37865.html]..... More

Print this item

  Hello all! need help. calculating OT hours.
Posted by: no1up - Jul-30-2022, 03:40 PM - Forum: General Coding Help - Replies (5)

So, I'm "self teaching" python, and I'm trying to challenge myself. I'll take the answer but a "hint" would be more helpful in the long run. So, I'm m..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] Too much space ... 5 hours ago RonR RonR GUI
  How Reliable Is Assignmen... 8 hours ago tobey12 tobey12 News and Disc...
  Another app idea - intera... Today, 07:07 decuser Lenowell News and Disc...
  403 Error Yesterday, 20:58 CaptainNewb snippsat Web Scraping ...
  real community Yesterday, 20:16 decuser decuser News and Disc...
  variable changing types f... Yesterday, 18:45 Azdaghost Gribouillis General Codin...
  looking for help Yesterday, 17:03 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...
Most views
  The best Prog... 575823
  Tutorial Requ... 497099
  Web Scraping ... 439832
  Newbie with P... 383532
  New Users Int... 365424
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
XenonBlack Today
tobey12 Today
Lenowell Today
luisshulez6883 Yesterday
KennedyRichadGuerra Yesterday

User Panel Messages

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