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,940
» Latest member: Littlefish
» Forum threads: 38,723
» Forum posts: 175,516

Full Statistics

Online Users
There are currently 49 online users.
» 0 Member(s) | 40 Guest(s)
Bing, Google, AOL, AOL, Facebook Dev, Mojeek

Latest Threads
A coding beginner needs h...
Forum: General Coding Help
Last Post: paul18fr
4 hours ago
» Replies: 1
» Views: 160
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
8 hours ago
» Replies: 8
» Views: 318
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,504
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 900
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,248
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,776
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,570
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,673
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,859
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,414

 
  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

  Question on HTML formatting with set string in message
Posted by: Cknutson575 - Mar-08-2021, 06:59 AM - Forum: General Coding Help - Replies (3)

Hi guys,

I am wondering if anyone can help me format this email so that I just get a bolded: Here are the new jobs from Tethers Unlimited: a..... More

Print this item

  TypeError: __init__() missing 1 required positional argument: 'successor
Posted by: siki - Mar-07-2021, 11:03 PM - Forum: Homework - Replies (1)

Hi guys!

I have a school project. The task is to print three presidents by class and objects using write(), also method __init__ to create presidents..... More

Print this item

  Need help installing infoblox-client on Windows 10
Posted by: dazmac10 - Mar-07-2021, 10:13 PM - Forum: General Coding Help - Replies (1)

Can't install infoblox-client on Windows 10

I am using python 3.9.2 with pip 20

Ran the following command in cmd prompt
pip install infoblox-c..... More

Print this item

  tkinter.Menu – How to make text-variable?
Posted by: Sir - Mar-07-2021, 09:26 PM - Forum: GUI - Replies (3)

Problem context:
"tkinter" module has its own mutable alternatives for str, int, ... .
They are StringVar, IntVar, ... .
Wid..... More

Print this item

  creating simplex tableau pivot program easy or difficult for a beginner in Python?
Posted by: alex_0 - Mar-07-2021, 07:43 PM - Forum: General Coding Help - Replies (2)

I am thinking about trying to make a program where I can fill in a list of numbers and it would solve a simplex tableau and pivot it based on what the..... More

Print this item

  How to make general functions for ecuations
Posted by: Mondata - Mar-07-2021, 06:45 PM - Forum: General Coding Help - Replies (6)

Hi there.
I am quite new in Python, so please excuse me if this question is somewhat too simple.

I am trying to guess how to create a function that r..... More

Print this item

  Function syntax error
Posted by: Changosoyyo - Mar-07-2021, 05:51 PM - Forum: General Coding Help - Replies (2)

Working on this function program and haven't been able to figure out the syntax error. Sure it something simple and its killing me!


[python]#1.v..... More

Print this item

  How realistic
Posted by: phvwijk - Mar-07-2021, 05:06 PM - Forum: Homework - Replies (10)

Pretty simple question.

Situation:
Last year high school, no real coding experience (some SQL, HTML and a bit of PHP), very limited education how..... More

Print this item

  Error when running script on startup in Linux
Posted by: NoahTheNerd - Mar-07-2021, 04:43 PM - Forum: General Coding Help - No Replies

I'm trying to run a python program to display the screen on an SPI display. I'm on a Raspberry Pi 4 running Ubuntu. Before I run the script, I have to..... More

Print this item

  PyImage4
Posted by: finndude - Mar-07-2021, 11:56 AM - Forum: GUI - Replies (1)

Hi ALl,

I have the below code, I keep getting this error message and am not sure why or what to change. The code and the error is below.

[python..... More

Print this item

  Input values and write csv
Posted by: eltoro - Mar-07-2021, 10:19 AM - Forum: Homework - Replies (1)

Hi!
New to Python and would like advice if Im on the right track.

What I would like to achive is.
Write a program to let the user input two value..... More

Print this item

  problem with code
Posted by: saratha - Mar-07-2021, 09:03 AM - Forum: General Coding Help - Replies (7)

Hi,
Here is a code:
[python]def beginning_zeros(x):
count = 0
for letters in x:
if letters == '0':
count += 1..... More

Print this item

  Python script on windows 10 shuts down
Posted by: TamP - Mar-07-2021, 08:55 AM - Forum: General Coding Help - Replies (2)

My python script runs on Windows 10. It uses various libraries including tkinter.
Opening it in idle, it runs perfectly.
I right click on the script..... More

Print this item

  Saving MP3 Tags to Songs
Posted by: giddyhead - Mar-07-2021, 02:53 AM - Forum: General Coding Help - Replies (9)

Is there a Mp3 module that has the same attributes as TinyTag and can also save the Tags to MP3 Songs?

Print this item

  issubclass() not as documented
Posted by: Skaperen - Mar-06-2021, 11:40 PM - Forum: News and Discussions - Replies (19)

documentation for builtin function issubclass() says it returns True for..... More

Print this item

  coding issues
Posted by: rooroo - Mar-06-2021, 11:11 PM - Forum: Homework - Replies (3)

Hi all,
I am fairly new to coding and python, I am studying it, and would like some help on a question that I have.

The question is:

They [the ..... More

Print this item

  Genetic Algorithm Tetris Python not improving
Posted by: Fanto88 - Mar-06-2021, 09:16 PM - Forum: Data Science - No Replies

I'm trying to create an AI using a Neural Network a Genetic Algorithm to learn how to play tetris, but it looks like something is wrong because, even ..... More

Print this item

  exception context
Posted by: Skaperen - Mar-06-2021, 08:42 PM - Forum: News and Discussions - No Replies

it is a commonly suggested idea to just let lower level code produce exceptions and let them propagate up to the caller that needs to handle them. bu..... More

Print this item

  Grid Placement In Python
Posted by: finndude - Mar-06-2021, 12:47 PM - Forum: GUI - Replies (2)

Hi All,

I have this code and it all works. What the issue I'm having is keeping everything all in the correct place because when some you get the r..... More

Print this item

  Not able to capture the parameters
Posted by: Codeexplorer - Mar-06-2021, 11:41 AM - Forum: Web Scraping & Web Development - Replies (3)

Hi Friends,

I have scrapped first or second pages of several websites. But while scrapping bigbasket.com (an Indian grocery site), even if I am pas..... More

Print this item

Sad I can't print what I need and I can't figure it out **wall**
Posted by: icedragon978 - Mar-06-2021, 10:40 AM - Forum: Homework - Replies (2)

This is my code.
[python]
dasy_of_vaycay = int(input())
budget = float(input())
people = int(input())
gas_from_100 = float(input())
money_to_eat..... More

Print this item

  return in a function
Posted by: Skaperen - Mar-06-2021, 02:58 AM - Forum: News and Discussions - Replies (16)

suppose i have a bunch of code like
[python]
if first_name == 'alex':
return 1
if middle_name == 'larry':
return 2
if middle_name == 'ma..... More

Print this item

  coding problem from older book
Posted by: teddfirth - Mar-06-2021, 02:35 AM - Forum: General Coding Help - Replies (3)

Hello everyone,

I've taken up coding as a hobby and have been going through some vintage programming books looking for coding problems and challeng..... More

Print this item

  Can I replace IF statements with a key lookup ?
Posted by: jehoshua - Mar-05-2021, 09:49 PM - Forum: General Coding Help - Replies (3)

If I have code like the following ( from https://python-forum.io/Thread-Convert-e...VCF-format ):

[python] name = ""
if 'cn'..... More

Print this item

  Using python to execute app or cmd that requires admin credentials
Posted by: thewolf - Mar-05-2021, 08:15 PM - Forum: General Coding Help - No Replies

Hey everyone I want to make a small python app that a user can run and it would run the windows 10 network reset function and automatically enter the ..... More

Print this item

  Command output to pdf (linux)
Posted by: Gribouillis - Mar-05-2021, 07:32 PM - Forum: Code sharing - No Replies

I call the following script 'a2pdf'. It sends a text on its standard input to a pdf format on its standard output, using the venerable a2ps utility an..... More

Print this item

  Changing Index of 2 List in python
Posted by: giddyhead - Mar-05-2021, 05:45 PM - Forum: General Coding Help - No Replies

Hi Everyone,

I have an issue/concern I have two lists column A(albm) and column N(tlt) and below are the code I used to create the lists.
What I a..... More

Print this item

  How to append a value to specific excel cell using openpyxl
Posted by: hobbyist - Mar-05-2021, 05:39 PM - Forum: General Coding Help - No Replies

So, I have a code that inserts values to cells on excel sheet. But it does not work. I have a for-loop for 100 values and stores only the 100th, in th..... More

Print this item

  convert a string to a number
Posted by: Naheed - Mar-05-2021, 04:12 PM - Forum: News and Discussions - Replies (7)

How will you convert a string to a number in python?

Print this item

  Variable declaration
Posted by: Asraful_Islam - Mar-05-2021, 04:10 PM - Forum: General Coding Help - Replies (5)

Suppose, I have a set A={'a','b','c'}. I want to declare variables look like N_a, N_b, N_c for every 'a','b','c' in A. Thanks in advance.

Print this item

  find the header location in a .bin file without reading the whole file at a time
Posted by: SANJIB - Mar-05-2021, 04:08 PM - Forum: General Coding Help - No Replies

The below code is okay to find the header locations in a .bin file. But I don't want to read whole file at a time. Because the header has different by..... More

Print this item

  How to plot 3D graph of non numerical value?
Posted by: Gevni - Mar-05-2021, 02:29 PM - Forum: General Coding Help - No Replies

I need some help in plotting a 3D graph with a non-numerical column value. My colleague told me that we can draw such a graph in python and I am very ..... More

Print this item

  places to buy custom 3d embroidered ball caps
Posted by: metulburr - Mar-05-2021, 02:23 PM - Forum: Board - Replies (2)

So i lost my linux ball cap i bought forever ago. I cant remember the site i bought it from. It only cost 40 dollars with a custom logo embroidered. I..... More


Attached Files

Thumbnail(s)
   
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  A coding beginner needs h... 4 hours ago Littlefish paul18fr General Codin...
  Using a For Loop to subtr... 8 hours ago 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...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576565
  Tutorial Requ... 498556
  Web Scraping ... 440432
  Newbie with P... 384337
  New Users Int... 367542
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 6893
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Littlefish Today
Noya_Yonatan Yesterday
Saipython555 Yesterday
Anunderling Yesterday
Monir Yesterday

User Panel Messages

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