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,398
» Latest member: zasamueluniorz7349
» Forum threads: 38,825
» Forum posts: 176,036

Full Statistics

Online Users
There are currently 30 online users.
» 0 Member(s) | 25 Guest(s)
Bing, Google, Apple, AOL

Latest Threads
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
2 hours ago
» Replies: 2
» Views: 100
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
2 hours ago
» Replies: 2
» Views: 89
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Yesterday, 08:02 PM
» Replies: 6
» Views: 7,175
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 07:58 AM
» Replies: 28
» Views: 15,631
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 184
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,614
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 270
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,633
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 243
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 383

 
  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

  Running total counter
Posted by: Crenshaw - Mar-05-2021, 01:29 PM - Forum: General Coding Help - Replies (2)

I am working on a project that I need to keep a running total of how many times the output was signaled. I cannot figure out how to perform the operat..... More

Print this item

  pysnmp how to find msgGlobalData msgID from snmpV3 inform
Posted by: charliebsimms - Mar-05-2021, 11:13 AM - Forum: Networking - No Replies

We are using pysnmp to transform snmpV3 informs from devices and are successfully processing the messages.
Problem:
If alarms do not arrive i..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Check if running from she... 2 hours ago rjdegraff42 noisefloor General Codin...
  Sorry Help 2 hours ago BioNanoTech noisefloor General Codin...
  IP address for users Yesterday, 20:02 Robots DeaD_EyE Networking
  Merge video with subtitle... Yesterday, 07:58 Pavel_47 OtiliaGen General Codin...
  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...
  Create dataframe from the... 12-29, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
Most views
  The best Prog... 580475
  Tutorial Requ... 520016
  Web Scraping ... 442797
  Newbie with P... 387015
  New Users Int... 386781
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
zasamueluniorz7349 Today
BioNanoTech Today
CarlApome Yesterday
cruisesfares 12-30
azam 12-30

User Panel Messages

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