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,271
» Latest member: aminrony1999
» Forum threads: 38,787
» Forum posts: 175,856

Full Statistics

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

Latest Threads
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
9 hours ago
» Replies: 3
» Views: 167
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Yesterday, 11:47 AM
» Replies: 4
» Views: 155
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Yesterday, 08:44 AM
» Replies: 2
» Views: 124
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 172
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 348
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 67
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 115
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 361
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 205
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 319

 
  So I came to know this forum wanting to learn python
Posted by: MurphysLaw - Oct-21-2020, 10:06 AM - Forum: Bar - No Replies

Anyone interested in writing articles on being an intermediate or expert at Python coding for me and my partners website?

I came to the forum for h..... More

Print this item

  dynamic arguments list
Posted by: Skaperen - Oct-21-2020, 09:56 AM - Forum: General Coding Help - Replies (3)

if i make a list and call a function with it, like:

foo = [0,1,2,3,4,5]
myfun(*foo)
and the function is coded like:
[p..... More

Print this item

  concatenating 2 items at a time in a python list
Posted by: K11 - Oct-21-2020, 07:47 AM - Forum: General Coding Help - Replies (3)

I have a list named data having the items shown as below.
a229f7d1148c27d5ff46cbf506f92a9e
3c73dc22ddaafa58346cc5241a78d509
c5ebe3eff60ef972fdd9a9d..... More

Print this item

Sad Change escape character=no more pain ?
Posted by: tonycstech - Oct-21-2020, 06:24 AM - Forum: News and Discussions - Replies (8)

I am sorry but i cant help it notice the pain and suffering Windows users run into using python when dealing with paths.
Python returns path to file/..... More

Print this item

  Running Python 2.7 program
Posted by: ErnestTBass - Oct-21-2020, 03:56 AM - Forum: General Coding Help - Replies (2)

I am trying to run the following snippet of code. It is python 2.7 and it is in Windows 10 Professional'



[sup]
import pandas as pd # data mani..... More

Print this item

  configure delay on only one link using python3
Posted by: HiImAl - Oct-21-2020, 01:54 AM - Forum: General Coding Help - Replies (3)

How can I configure the delay on ONLY ONE link (not on all) in python3 and mininet where I have link_parameters = {'delay': '%dms' % delay_ms}

..... More

Print this item

Question trouble with functions "def", calling/defining them
Posted by: Duck_Boom - Oct-21-2020, 01:09 AM - Forum: General Coding Help - Replies (13)

please suggest the right forum or site if this is not the correct place, thank you!

Hello all, I am currently having trouble understanding an error..... More

Print this item

  best way to force an exception
Posted by: Skaperen - Oct-20-2020, 11:57 PM - Forum: General Coding Help - Replies (2)

in a try part of a try/except i want a certain conditional test to run the except part. it seems the simple way to do that is to throw an exception t..... More

Print this item

  code needs a border and line numbers
Posted by: Skaperen - Oct-20-2020, 10:17 PM - Forum: Board - Replies (1)

when i do [ code ] or [ python ] or click the blue-yellow snake button, i would get the code that follows outlined, line numbered, and in another back..... More

Print this item

  Raspi Commands via Python (VS Code) Script
Posted by: AS4188 - Oct-20-2020, 10:05 PM - Forum: General Coding Help - Replies (5)

The following Code is what I have written to access my raspi and input a series of commands to run sequentially. What i cannot figure out, is how to m..... More

Print this item

  Sprite Animation to create an explosion
Posted by: Russ_CW - Oct-20-2020, 07:35 PM - Forum: Game Development - Replies (2)

Hi Folks,

Thought I would share a quick demo of how to create sprite animations in PyGame - in this case to create an explosion.

You can get the..... More

Print this item

  PyQt5: How to retrieve a QLineEdit by its name ?
Posted by: arbiel - Oct-20-2020, 07:05 PM - Forum: GUI - Replies (4)

Hi

I want to update a html file containing element such as :

<auteur id="Alc" auteur="Alcée" origine="Mytilène" genre="poète lyrique" title="ver..... More

Print this item

  Rename docx file from tuple
Posted by: gjack - Oct-20-2020, 04:41 PM - Forum: General Coding Help - Replies (2)

I am fairly new to Python, so if my methods can be improved, please advise.
I am using Python 3.8
I have created a tuple from 2 lists using zip. M..... More

Print this item

  A css design tool for PyQt
Posted by: GRADOV - Oct-20-2020, 03:59 PM - Forum: Code sharing - Replies (2)

A css design tool for PyQt. PyQt Stylesheet. This for just windows.
I am going to upload github for linux.


[img]https://i.imgyukle.com/2020/10/2..... More

Print this item

  When I run this code, nothing happens. Could someone please tell me why?
Posted by: hhydration - Oct-20-2020, 03:52 PM - Forum: Homework - Replies (4)

[python]def guess(x, y):
a = (x+y)//2
print(a)
d = input("Please type high, low, or correct:")
if d == ("correct"):
prin..... More

Print this item

  pycharm
Posted by: arkiboys - Oct-20-2020, 02:05 PM - Forum: General Coding Help - Replies (1)

Hello,
I have downloaded pycharm and starting to learn how to use it.
I put a simple code in the window of MyCode.py such as
x=5
y=6
z=x+y
print..... More

Print this item

  I try to make Heron formula program
Posted by: abcd - Oct-20-2020, 01:53 PM - Forum: General Coding Help - Replies (7)

Hello,

Heron's formula is to calculate the area of a triangle knowing the length of all its sides.
https://en.wikipedia.org/wiki/Heron%27s_formula#F..... More

Print this item

  RPI remote RPI
Posted by: ATARI_LIVE - Oct-20-2020, 01:10 PM - Forum: Networking - No Replies

[color=#3498DB]I have two the RASPBERRY PI 4B as 'A' and 'B' on each RPI board.
The 'A' board has a button connected to the GPIO.
The 'B' board has ..... More

Print this item

  How to groupby Months showing average order value - Pandas & matplotlib
Posted by: Rwood90 - Oct-20-2020, 12:53 PM - Forum: General Coding Help - No Replies

hello,
I am working with some data and would like to show the average order value (aov) for the different months. When I look at total revenue in the..... More

Print this item

Photo Update database in tkinter
Posted by: shahulvk - Oct-20-2020, 11:31 AM - Forum: General Coding Help - Replies (3)

[size=medium][size=small]I am a beginner. II want to develop a GUI app for my school and enter the marks of students therein. I created a .db file con..... More

Print this item

  Test prefix
Posted by: snippsat - Oct-20-2020, 08:41 AM - Forum: GUI - No Replies

Test prefix
😢😜💖😢😎✔👀 💞☪

Print this item

  Convert a PDF files to HTML files
Posted by: Underground - Oct-20-2020, 08:36 AM - Forum: General Coding Help - Replies (4)

Hi everyone,

I am a new user and I started to learn Python to do something in particulary.

I would like to convert PDF Files automatically to HT..... More

Print this item

  Printing digits after the decimal point one by one
Posted by: uberman321 - Oct-20-2020, 07:51 AM - Forum: General Coding Help - Replies (1)

I recently began learning Python and I am trying to write a program in which I print the digits after the decimal point one by one once the user enter..... More

Print this item

  Error with NumPy, BeautifulSoup when using pip
Posted by: tsurubaso - Oct-20-2020, 07:50 AM - Forum: Web Scraping & Web Development - Replies (7)

Hello to all,

Yesterday, I made a big mistake, and I find myself with the necessity to reinstall all Python, and libraries.

I made the jump to v..... More

Print this item

  What is the best way to add entries from 1 dictionary to another?
Posted by: Pedroski55 - Oct-20-2020, 07:47 AM - Forum: General Coding Help - Replies (5)

I have a dictionary:

Quote:rev_sorted_dataDict = dict(sorted(dataDict.items(), reverse = True, key=lambda item: item[1][3]))

The dictio..... More

Print this item

  How to fill datetime64 field in numpy structured array?
Posted by: AlekseyPython - Oct-20-2020, 07:46 AM - Forum: Data Science - No Replies

Python 3.8.5, numpy 1.19.2, numba 0.51.2

I use method from of[url=https://python-forum.io/thread-30414.html]..... More

Print this item

  Access denied not able to do anything 8( What do i do?
Posted by: MurphysLaw - Oct-20-2020, 07:32 AM - Forum: General Coding Help - Replies (3)

I don't have the patience to indent the code on every line so i put it to paste bin.

I have a legit issue https://pastebin.com/2QDHwz0z I was writi..... More

Print this item

  Updating labels
Posted by: Wenkar7000 - Oct-20-2020, 06:38 AM - Forum: GUI - Replies (2)

Hello,

I am trying to make a Gui with 2 labels that shows the live measurements of the sensors(DS18B20) that I have attached to a raspberry. The pr..... More

Print this item

Thumbs Up Issue facing while scraping the data from different websites in single script.
Posted by: Balamani - Oct-20-2020, 04:42 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello, I am trying to scrape the data from different websites please help me to scrape the data from multiple websites in single script.
Is there an..... More

Print this item

  How about this keyboard layout?
Posted by: ixove - Oct-20-2020, 03:35 AM - Forum: Bar - Replies (4)

Loona Keyboard Layout
It's at
http://www.ixove.com
[img]https://78462f86-a-7038c4d3-s-sites.googlegroups.com/a/ixove.com/www/ikare/keyboard-krystin..... More

Print this item

  re.search and datetime not printing as expected
Posted by: Nickd12 - Oct-20-2020, 03:23 AM - Forum: General Coding Help - Replies (6)

how come its not printing as expected
[python]text = "set a reminder for 10:02 p.m. "
match = re.search('\d{2}:\d{2}',text)
time_ = datetime.strpt..... More

Print this item

  More than a couple problems.
Posted by: MurphysLaw - Oct-20-2020, 02:50 AM - Forum: General Coding Help - Replies (7)

I'd like to learn Python. Doing nothing but messing up on me. Here we go

Why if I set my installation folder to C/program files < why then is it in..... More

Print this item

  rez = (mass / h) | ZeroDivisionError
Posted by: Maryan - Oct-20-2020, 02:20 AM - Forum: GUI - Replies (5)

Before I post here I did some research, but still, I can't fix the problem. Are the entry fields both 0? How can I change the one of the values of the..... More

Print this item

  Help in using Flag pretty please
Posted by: kamui123 - Oct-20-2020, 01:42 AM - Forum: Homework - Replies (1)

Hi all, I am new to Python programming and I being tasked to create codes by my supervisor but I have no clue how to.

I am doing a project on robot..... More

Print this item

  Multiplying between two values
Posted by: doug2019 - Oct-19-2020, 10:14 PM - Forum: General Coding Help - Replies (7)

I need an equation in Python that gives me the values ​​that can be multiplied, since they must be less than 10. Only they must have one decimal place..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Graph Interpolate Difficu... 9 hours ago Tuurbo46 deanhystad General Codin...
  [SOLVED] Access keys and ... Yesterday, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... Yesterday, 08:44 Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
Most views
  The best Prog... 579104
  Tutorial Requ... 511276
  Web Scraping ... 442066
  Newbie with P... 386130
  New Users Int... 378443
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+ 12108
buran 8196
snippsat 7389
deanhystad 6914
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
aminrony1999 Yesterday
fobby888 Yesterday
digitalboy346 Yesterday
ben9090o Yesterday
ViktoriaMetodieva Yesterday

User Panel Messages

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