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,933
» Latest member: tobey12
» Forum threads: 38,722
» Forum posts: 175,502

Full Statistics

Online Users
There are currently 48 online users.
» 1 Member(s) | 36 Guest(s)
Bing, Google, AOL, Facebook, Apple, Internet Archive, AOL, kshahzad1985

Latest Threads
How Reliable Is Assignmen...
Forum: News and Discussions
Last Post: tobey12
1 hour ago
» Replies: 0
» Views: 10
Expert Guidance Made Easy...
Forum: General Coding Help
Last Post: Alex12
2 hours ago
» Replies: 0
» Views: 18
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
6 hours ago
» Replies: 1
» Views: 349
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 08:58 PM
» Replies: 8
» Views: 2,356
real community
Forum: News and Discussions
Last Post: decuser
Yesterday, 08:16 PM
» Replies: 3
» Views: 1,467
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:45 PM
» Replies: 1
» Views: 295
looking for help
Forum: Bar
Last Post: Azdaghost
Yesterday, 05:03 PM
» Replies: 0
» Views: 99
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Yesterday, 03:28 PM
» Replies: 7
» Views: 2,818
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,068
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 754

 
  create my exception to my function
Posted by: korenron - Nov-09-2022, 12:52 PM - Forum: General Coding Help - Replies (2)

Hello,
I have a function that read data after a I split the message , and sometime I get wrong message-- which lead to wrong data input
I want to ..... More

Print this item

  Understanding Python classes
Posted by: PythonNewbee - Nov-09-2022, 10:17 AM - Forum: General Coding Help - Replies (3)

Hi People

Please help me understand Python classes a bit better.
This code does not do what I want it to do, which is changing the value of class ..... More

Print this item

  Where can I get loooads of simple homework questions for kids?
Posted by: omar - Nov-09-2022, 10:09 AM - Forum: Homework - Replies (3)

My son is learning Python at college.
He has trouble understanding verbal questions - very simple basic ones.

I've spent hours and hours with him...... More

Print this item

  Getting error when running "MINUS" between 2 databases
Posted by: marlonbown - Nov-09-2022, 04:36 AM - Forum: General Coding Help - Replies (4)

Goal: Keep content of TableA except items listed on TableB.

I am getting the following error. Code is below. Can you please let me know if you see ..... More

Print this item

  How to run code again in module ?
Posted by: rajamani - Nov-09-2022, 02:42 AM - Forum: General Coding Help - Replies (2)

Hi all,
I'm a new to python and coding.

How to run back the code when a user chooses an option ?

- the code i have currently-
[python]
print..... More

Print this item

  python multiple try except block in my code -- can we shorten code
Posted by: mg24 - Nov-08-2022, 07:18 PM - Forum: General Coding Help - Replies (10)

Hi Team,

I am new in python, used functional programming, not perfect in oop concept yet.

In below task I have used try except block for handlin..... More

Print this item

  Basic SQL query using Py: Inserting or querying sqlite3 database not returning data
Posted by: marlonbown - Nov-08-2022, 07:03 PM - Forum: General Coding Help - Replies (3)

Hello, can someone assist here please:
When I run the program below, I expect table to be created and record inserted into the database.
However whe..... More

Print this item

Star python exception handling handling .... with traceback
Posted by: mg24 - Nov-08-2022, 06:17 PM - Forum: General Coding Help - Replies (3)

Hi Team,

I am using below code getting error message.
But I want error properly line by line. I wan to print that error properly line by line.

..... More

Print this item

  Another program runs
Posted by: bho68 - Nov-08-2022, 05:07 PM - Forum: General Coding Help - Replies (7)

I am JUST learning Python. In my learning, I wrote a Rock, Paper Scissors program. It worked great.

BUT... Now when I am trying to write other pr..... More

Print this item

  Messagebox
Posted by: rturus - Nov-08-2022, 03:33 PM - Forum: General Coding Help - Replies (8)

Why can't I see the messagebox when input is not a, b, or c? I am sure there is a good reason but I guess I can't find out yet.

Thanks.

[python..... More

Print this item

Sad Python classes
Posted by: PythonNewbee - Nov-08-2022, 02:00 PM - Forum: General Coding Help - Replies (4)

Hi People

I have some difficulty with classes in Python.
I want to call a method, belonging to class A, from class B. I looked at online examples ..... More


Attached Files

.py   agent5.py (Size: 3.36 KB / Downloads: 250)
Print this item

  Implementing a Lowpass Filter
Posted by: Madridista - Nov-08-2022, 12:07 PM - Forum: Data Science - Replies (5)

I have data from a IMU Sensor. I have file an Excelfile samplesdata where the data of the IMU Sensor is export. In samplesdata There is ..... More

Print this item

Question Unwanted execution of unittest
Posted by: ThomasFab - Nov-08-2022, 10:12 AM - Forum: General Coding Help - Replies (9)

Hi Guys,

I`m trying to learn unit testing with the unittest libary.


I have created this modules:

Print this item

  Print phenomenon
Posted by: DPaul - Nov-08-2022, 10:11 AM - Forum: Bar - Replies (8)

Hi,
I came across a "bug" that was hard to find.
Found it, but found no good explanation of the why.
[python]
try:
do_stuff_1
Print(resul..... More

Print this item

  openpyxl convert data to float
Posted by: jacklee26 - Nov-08-2022, 05:20 AM - Forum: General Coding Help - Replies (13)

i have problem-related with excel, it seems like convert from txt to excel the data is a string not float. Is there any solution to convert it to floa..... More


Attached Files

Thumbnail(s)
   
Print this item

  python move folders and subfolders not working
Posted by: mg24 - Nov-08-2022, 12:06 AM - Forum: General Coding Help - Replies (5)

Hi Team,

I am trying to move folders and subfolders. from one location to another.
I want to override folders.

getting error :
raise Error("De..... More

Print this item

  a bunch of modules to import
Posted by: Skaperen - Nov-07-2022, 07:16 PM - Forum: General Coding Help - Replies (2)

i have a bunch of modules to import. their names are created by some code that uses a number in range(10,301) to make them. what is the most practic..... More

Print this item

  Please check whether the code about the for loop question is correct. (SyntaxError)
Posted by: lilliancsk01 - Nov-07-2022, 03:22 PM - Forum: Homework - Replies (10)

print('\n'.join(f'{":".join(str(n)[-1]
for l in range(int(l/2+.5)))}{"" if l%2 else ":"}'
for n, l in (lambda n: ((l, n)
for l in range(n)))(int(in..... More

Print this item

  How does open context manager work?
Posted by: deanhystad - Nov-07-2022, 02:21 PM - Forum: General Coding Help - Replies (7)

While answering a question in another thread I wrote this:
[python]import contextlib

@contextlib.contextmanager
def CreateFile(FilePath):
file =..... More

Print this item

  How to properly scale text in postscript conversion to pdf?
Posted by: philipbergwerf - Nov-07-2022, 09:06 AM - Forum: General Coding Help - Replies (3)

Hi all,

I have a question about Ghostscript postscript2pdf conversion. My setup is:

  • drawing a drawing with text on the tkinter canvas..... More

Print this item

  itertools and amazing speed
Posted by: Pedroski55 - Nov-07-2022, 04:59 AM - Forum: General Coding Help - Replies (8)

From the thread about getting random sets of image names we had 24 image names:

images = ['im1', 'im2', 'im3', 'im4', 'im5', 'im6', 'im7', 'im8',
..... More

Print this item

  I need some clarity on the use of the open command
Posted by: JonWayn - Nov-07-2022, 01:36 AM - Forum: General Coding Help - Replies (11)

I am looking at some code someone else wrote in which open is used then again on the same file that is already open. In VB, another language I use, so..... More

Print this item

  How to update score value?
Posted by: Mavoz - Nov-07-2022, 01:04 AM - Forum: Homework - Replies (5)

Hi, We're in a beginner Python class and creating text adventure games.
We want to be able to update the score during the game.

We've tried someth..... More

Print this item

  Number of documents processed counter in Flask API
Posted by: erotavlas - Nov-07-2022, 12:43 AM - Forum: Web Scraping & Web Development - Replies (1)

I'm creating a document processing website and the backend is in python using Flask API. I wanted a counter on the bottom of the front end page (in R..... More

Print this item

  Getting a URL from Amazon using requests-html, or beautifulsoup
Posted by: aaander - Nov-06-2022, 10:16 PM - Forum: Web Scraping & Web Development - Replies (1)

I'm new to scraping and am working on a scraper, I'm trying to figure out how to pull a URL from the src of this line of HTML:

<img alt="Bube Dame Kö..... More

Print this item

  how to check if someone send a message in a discord channel?
Posted by: Zerolysimin - Nov-06-2022, 03:37 AM - Forum: General Coding Help - Replies (1)

check the message, then copying the message

Print this item

  Pygame player spawn
Posted by: Yegor123 - Nov-05-2022, 10:07 PM - Forum: General Coding Help - No Replies

Im making a game and player spawn is off Ive tried tutorials other forums stack overflow and I havent found anything here is a photo and my code
[pyt..... More


Attached Files

Thumbnail(s)
   
Print this item

  Appending a row of data in an MS Excel file
Posted by: azizrasul - Nov-05-2022, 08:27 PM - Forum: General Coding Help - Replies (3)

I have the following working code which amalgamates excel file data into one Excel file. How do I amend the code so that I do not have an index column..... More

Print this item

  Animate the midpoints of a 3d “Rhombic dodecahedron”
Posted by: Beck_Johnson - Nov-05-2022, 04:18 PM - Forum: General Coding Help - No Replies

I need help in animating a Rhombic dodecahedron. I want to enlarge and to shrink the midpoints (center points) with FuncAnimation from Matplotlib. I w..... More

Print this item

  asyncio byte data transfer
Posted by: gary - Nov-05-2022, 03:01 PM - Forum: Networking - Replies (5)

I found the below code from my search on the web. The code provides a sample for server implementation using asyncio

[python]
import asyncio
asyn..... More

Print this item

  Increase df column values decimals
Posted by: SriRajesh - Nov-05-2022, 02:43 PM - Forum: Data Science - Replies (2)

Hi,
I have below datframe with numerical column marks
df:
[python]name age marks
A 14 12.34
B 12 34.1
C 29 19.567
[/pyt..... More

Print this item

  Async API request and NTLM authentication
Posted by: himanshuj89 - Nov-05-2022, 02:06 PM - Forum: News and Discussions - No Replies

Hello everyone,

I want to hit APIs asynchronously along with NTLM authentication. Could you please suggest the best way to do so?

What I have t..... More

Print this item

  random interger array question
Posted by: rpang - Nov-05-2022, 07:34 AM - Forum: Homework - Replies (3)

I being ask to create a random integer array with the info below:

[b]● Create two random integer array of values 0 to 14 of size ten called x and y..... More

Print this item

  question about loops
Posted by: rpang - Nov-05-2022, 07:19 AM - Forum: Homework - Replies (7)

Hi,

Sorry I am quite new in python, I have a question and i was wondering if anyone can help me?

question below:
[b][color=#F1C40F]Create a fun..... More

Print this item

  Am I wrong or is Udemy wrong? String Slicing!
Posted by: Mavoz - Nov-05-2022, 12:50 AM - Forum: General Coding Help - Replies (3)

Hi,
I'm using the 2022 Complete Python Bootcamp From Zero to Hero in Python course.
It features a series of test excercises..but I am getting errors..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How Reliable Is Assignmen... 1 hour ago tobey12 tobey12 News and Disc...
  Expert Guidance Made Easy... 2 hours ago Alex12 Alex12 General Codin...
  Another app idea - intera... 6 hours ago 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... 575790
  Tutorial Requ... 497030
  Web Scraping ... 439800
  Newbie with P... 383493
  New Users Int... 365301
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
tobey12 Today
Alex12 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