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,272
» Latest member: DataScientist071
» Forum threads: 38,787
» Forum posts: 175,859

Full Statistics

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

Latest Threads
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
56 minutes ago
» Replies: 2
» Views: 128
best way to learn python
Forum: News and Discussions
Last Post: mamta25
3 hours ago
» Replies: 5
» Views: 3,058
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 10:27 PM
» Replies: 3
» Views: 186
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Yesterday, 11:47 AM
» Replies: 4
» Views: 169
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Yesterday, 08:44 AM
» Replies: 2
» Views: 131
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 177
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 353
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 73
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 375
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 217

 
  Missing positional arguments error??
Posted by: hhydration - Oct-01-2020, 12:47 AM - Forum: Homework - Replies (2)

[python]

def lattice_moves(n, m, l):
if n==0 and m==0 and l==0:
return 1
elif n==0 and m==0:
return (lattice_moves(n, m..... More

Print this item

  Settle the tourists into their rooms
Posted by: Katenn - Sep-30-2020, 09:57 PM - Forum: Homework - Replies (10)

There are several rooms in the same hall on the same side of the hall in the hotel. The distance between adjacent rooms equals 1 meter. You know which..... More

Print this item

  My first python project
Posted by: etracher - Sep-30-2020, 08:35 PM - Forum: Code Review - Replies (3)

Hello to everyone here. I have been learning python for a few weeks now with the book 'Learn Python 3 the Hard Way' and Jose Portilla's Udemy Complete..... More

Print this item

  What IDE do you use?
Posted by: JarredAwesome - Sep-30-2020, 08:12 PM - Forum: News and Discussions - Replies (4)

Hey everyone,

I have been programming in python for a few weeks now, and I am starting to get a better handle on it. I am currently using KOMODO ID..... More

Print this item

  Help: Beautiful Soup - Parsing HTML table
Posted by: ironfelix717 - Sep-30-2020, 07:25 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi,

I am trying to get a table from this link:
https://www.wund[url=https://python-forum.io/thread-30022.html]..... More

Print this item

  Uploading images from multipart/data/-from get corrupted
Posted by: jdc18 - Sep-30-2020, 07:16 PM - Forum: Web Scraping & Web Development - No Replies

I am trying to upload images using aws lambdas, I am testing locally with serverless offline. When I upload an image it gets corrupted, but when I upl..... More

Print this item

  How to remove char from string??
Posted by: ridgerunnersjw - Sep-30-2020, 01:17 PM - Forum: General Coding Help - Replies (2)

Good morning....

I have a string being returned '@S0601\r\n'.....I am trying to remove the @ at the front using .replace and .lstrip but to no avai..... More

Print this item

  How to print string multiple times on new line
Posted by: ace19887 - Sep-30-2020, 12:34 PM - Forum: General Coding Help - Replies (7)

How do I get the below to print the output 4 x and each print to start on a new line

[python]name = input("What is your name: ")

age = input("Wh..... More

Print this item

  Tkinter function to clear old canvas and start a fresh "operation"
Posted by: zazas321 - Sep-30-2020, 11:35 AM - Forum: GUI - Replies (5)

Hello. I am using python tkinter to create interface for my application. I have made a very bad spaghetti code initially and managed to get it to work..... More

Print this item

  Pyaudio
Posted by: Souls99 - Sep-30-2020, 10:42 AM - Forum: General Coding Help - Replies (7)

here is my code what i am trying to do is
when in text noting or something else than mentioned in my code do noting and continue till in text someth..... More

Print this item

  ON-SCREEN KEYPAD module
Posted by: ATARI_LIVE - Sep-30-2020, 09:18 AM - Forum: GUI - Replies (1)

Does anyone have module code for the on-screen keypad than the on-screen keyboard?

Thanks!
RAM

Print this item

  Convolution "same" in Python doesn't work as Matlab
Posted by: claw91 - Sep-30-2020, 09:05 AM - Forum: Data Science - Replies (4)

Hello, I'm trying to replicate Matlab's convolution aka conv function.

Matlab's conv works like this:

[quote]w = conv(u,v,shape) returns a subs..... More

Print this item

  "Switch-to-spreadsheet" entry. Feasible in Python?
Posted by: whatspython - Sep-29-2020, 11:48 PM - Forum: General Coding Help - Replies (2)

My situation:

Know almost nothing about coding, and I need to do this...

Hit a switch or button (in this case a switch) outside of the keyboard,..... More

Print this item

  turtle won't crawl
Posted by: Pedroski55 - Sep-29-2020, 10:56 PM - Forum: General Coding Help - Replies (1)

EDIT: a workaround is: restart the shell each time, somehow the window killer remains in memory. Any way to reset this without restarting the shell??
..... More

Print this item

  Completeing the Class
Posted by: baboon - Sep-29-2020, 09:40 PM - Forum: Homework - Replies (1)

Can someone please help me finish this code. I am a college student learning python for the first time and I am stuck at the def getNextToken part

..... More

Print this item

  convert int to other bases
Posted by: Skaperen - Sep-29-2020, 06:11 PM - Forum: General Coding Help - Replies (7)

i have a big int. i want to convert it to a string in base 36. i know of functions to do that in base 10 and base 16 (str and hex). but what about ..... More

Print this item

  DLL load failed
Posted by: flaviu2 - Sep-29-2020, 05:42 PM - Forum: General Coding Help - Replies (5)

I have successfully ran:
pip install --upgrade matplotlib
and then I wrote in my simple Python program:
from matplotlib import pyplot..... More

Print this item

  shorten an if condition
Posted by: naughtysensei - Sep-29-2020, 05:06 PM - Forum: Homework - Replies (2)

Is there a way to write this in short and clean way:

if (x == 'a') or (x == 'e') or (x == 'i') or (x == 'o') or (x == 'u'):

Print this item

  Unable to Update SQLite Table
Posted by: sambanerjee - Sep-29-2020, 02:45 PM - Forum: General Coding Help - Replies (5)

Hi:

I am not able to get the update statement to work :( - any help on what I'm missing ?

[python]c.execute("select DISTINCT Symbol from Stock..... More

Print this item

  Listing data from a list
Posted by: ebolisa - Sep-29-2020, 02:02 PM - Forum: General Coding Help - Replies (1)

Hi,

How do I enumerate the info within the list as a shopping list like this:

0. First WiFi info
1. Second WiFi info
...
n. Last WiFi info

my code ..... More

Print this item

  tkinter| listbox.insert problem
Posted by: Maryan - Sep-29-2020, 01:39 PM - Forum: GUI - Replies (3)

Hi! I'm beginner with tkinter, I have one question.
When I select item from the list, I want to copy it and added again to the same list. However, th..... More

Print this item

  How to create local copies of Python packages so they do not have to be downloaded
Posted by: okhajut - Sep-29-2020, 01:30 PM - Forum: General Coding Help - Replies (3)

So basically there are issues with proxy server at work. They are quite persistent. One way around this is, to download the important packages once an..... More

Print this item

  Where to start?
Posted by: Blainexi - Sep-29-2020, 01:28 PM - Forum: General Coding Help - Replies (5)

Hi, I've been trying to learn python, my goal is to make a bot that can gather data from in-game marketplace and feed that data to a database, and the..... More

Print this item

  P3, openpyxl, csv to xlsx, cell is not number, problem with colorize
Posted by: genderbee - Sep-29-2020, 10:55 AM - Forum: General Coding Help - Replies (1)

Hello,
I am using P3 and openpyxl module for convert CSV to XLSX. But numbers are converted with ' at the beginning. Why?
There is problem th..... More

Print this item

  remove .0
Posted by: oli_action - Sep-29-2020, 10:51 AM - Forum: Homework - Replies (3)

Hey everyone. I've written this code. It all works fine except the answer always has a .0 . The answer is correct, but is there a way to get rid of th..... More

Print this item

  Automated service status for windows
Posted by: Pkhan - Sep-29-2020, 10:46 AM - Forum: General Coding Help - Replies (2)

Hello All,

I am looking for a simple command to fetch the automated service status in Windows, ESX, VMware/VMware cluster servers.

Also, please ..... More

Print this item

  convert list to five columns dataframe in sequence
Posted by: tonycat - Sep-29-2020, 06:09 AM - Forum: General Coding Help - Replies (2)

I am new to programming and python, need help to convert the list to five columns Dataframe , but keep the sequences Huh Huh


small samp..... More

Print this item

  List index out of range error while accessing 2 lists in python
Posted by: K11 - Sep-29-2020, 04:55 AM - Forum: General Coding Help - Replies (2)

I have 2 Lists in my code.
data list is having len = 11
new_list is having len = 23

I have to search if a string from data list exists in new_li..... More

Print this item

  Press on touchscreen area.
Posted by: ATARI_LIVE - Sep-29-2020, 12:01 AM - Forum: GUI - Replies (3)

I looked up google and seem not same what I am looking for.

Here what I am looking for to get position such area on the touchscreen by the finger l..... More

Print this item

  Convert a sentence to pig latin
Posted by: SalsaBeanDip - Sep-28-2020, 09:51 PM - Forum: Homework - Replies (4)

I am writing a function that will convert a sentence to pig latin. To do this, I convert all the letters to uppercase, remove the first letter and pla..... More

Print this item

  Please help my while loop does not work as expected
Posted by: KingKhan248 - Sep-28-2020, 07:07 PM - Forum: General Coding Help - Replies (6)

I was doing some math and came across a tedious problem that I thought could be solved easily by a computer, so I thought I would try writing some pyt..... More

Print this item

  Read mouse position on separate between two HDMIs
Posted by: ATARI_LIVE - Sep-28-2020, 07:02 PM - Forum: General Coding Help - Replies (1)

I need help with the reading the mouse position on each HDMI.
I have two HDMI outputs.
I need like this:
One reading mouse X Y on HDMI 0
AND
One ..... More

Print this item

  Factors in statsmodels mixedlm
Posted by: rleduc42 - Sep-28-2020, 05:51 PM - Forum: Data Science - Replies (1)

Hello All,

I'm trying to calculate a nested effect mixed model where both a and b are factors (in R terminology) or class variables (in SAS). The i..... More

Print this item

  Jupyter Notebook cell ?
Posted by: flaviu2 - Sep-28-2020, 05:12 PM - Forum: General Coding Help - Replies (6)

Sorry for this trivial question. I have read in some Python tutorial how to "import" OpenCV in Python: OpenCV can be installed through pip, by running..... More

Print this item

  TouchScreen active on other HDMI...
Posted by: ATARI_LIVE - Sep-28-2020, 05:07 PM - Forum: Bar - No Replies

I use HDMI-0 with 5" LCD with touch screen and HDMI-1 with 27" LCD 1080i.
when i touching on the 5" LCD and the pointer moving on HDMI-1 which I do n..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  PyQt6 QWidgets and system... 56 minutes ago stevecoh1 Axel_Erfurt GUI
  best way to learn python 3 hours ago dutch mamta25 News and Disc...
  Graph Interpolate Difficu... Yesterday, 22:27 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...
  [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
Most views
  The best Prog... 579116
  Tutorial Requ... 511362
  Web Scraping ... 442076
  Newbie with P... 386142
  New Users Int... 378516
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 6915
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
DataScientist071 Today
aminrony1999 Yesterday
fobby888 Yesterday
digitalboy346 Yesterday
ben9090o Yesterday

User Panel Messages

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