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,274
» Latest member: SavingSquirrel199835
» Forum threads: 38,788
» Forum posts: 175,860

Full Statistics

Online Users
There are currently 37 online users.
» 0 Member(s) | 32 Guest(s)
Bing, Mojeek, Apple, AOL

Latest Threads
link variable to exc bloc...
Forum: General Coding Help
Last Post: Astrobert
8 hours ago
» Replies: 0
» Views: 58
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
10 hours ago
» Replies: 2
» Views: 140
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Yesterday, 04:13 PM
» Replies: 5
» Views: 3,066
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-17-2025, 10:27 PM
» Replies: 3
» Views: 198
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 184
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Nov-17-2025, 08:44 AM
» Replies: 2
» Views: 138
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 189
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 362
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 77
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 380

 
  SSD and HDD
Posted by: UldSKull - Sep-16-2020, 08:02 AM - Forum: General Coding Help - Replies (6)

Hello ! I need help (please ! ) from experienced users.

I will try to summarize my problem briefly. If my request is "stupid", I humbly apologize:..... More

Print this item

  Really stumped now
Posted by: Milfredo - Sep-16-2020, 07:05 AM - Forum: General Coding Help - Replies (7)

I thought I had fixed my problem. In fact I marked post solved. The following code works as long as user selects Race 1. But select any other race num..... More

Print this item

  tkinter get method is not accepting value when called by function
Posted by: jagasrik - Sep-16-2020, 05:09 AM - Forum: GUI - Replies (1)

I want to call print value in a after getting the input from user, function myoptions() just take the input from the user and calls user_choice to pri..... More

Print this item

  Problem with If statement and dataframe
Posted by: Milfredo - Sep-16-2020, 03:28 AM - Forum: General Coding Help - Replies (1)

I am trying to use an If statement with a Dataframe. Without the If statement the Dataframe prints out beautifully, But it prints out all 63 rows. I a..... More

Print this item

  password with Entry widget
Posted by: TAREKYANGUI - Sep-16-2020, 03:16 AM - Forum: GUI - Replies (9)

Hi

I tried to set a password with widget Entry,

The right password is "tarek"
Only 3 attempts are allowed

the goal is :
when i enter a wro..... More

Print this item

  qrcode detector not in cv2
Posted by: Pedroski55 - Sep-15-2020, 10:51 PM - Forum: General Coding Help - Replies (2)

I am just following the instructions here, trying to learn how this work..... More

Print this item

  illustrate for/else
Posted by: Skaperen - Sep-15-2020, 10:46 PM - Forum: Code sharing - No Replies

this code is for educational purpose to show the effect of for followed by else.
[python]
# this is just to illustrate how for followed by else work..... More

Print this item

  problem python search engine
Posted by: forumpy - Sep-15-2020, 10:26 PM - Forum: General Coding Help - No Replies

hi,i need help, I want to create a python search engine that will search for clients' names (from a sqlite3 database and display them on the Treeview ..... More

Print this item

  Matplotlib 2 lines with different markers
Posted by: medatib531 - Sep-15-2020, 09:47 PM - Forum: Data Science - No Replies

Hello,
I want to create a matplotlib plot for 2 different lines, however I need the lines to have different markers.
i.e. use 'x' as marker for line..... More

Print this item

  trouble with list array
Posted by: Milfredo - Sep-15-2020, 09:32 PM - Forum: General Coding Help - Replies (2)

I have changed the code and I know I am creating a list. But when I go to print out list I get an error. Don't understand why. I know what it says at ..... More

Print this item

  Newbie: Application/programme to write code
Posted by: lasek723 - Sep-15-2020, 09:13 PM - Forum: News and Discussions - Replies (3)

Hi there,

I have tried to download Xcode and Visual Studio. However, my MacBook does not support either application, as it's quite old.

Can anyone..... More

Print this item

  Multiple Or Statements
Posted by: JoeDainton123 - Sep-15-2020, 07:15 PM - Forum: General Coding Help - Replies (8)

Hello all

I have trying to write some code that loops through all values in a dataframe and checks if the value is equal to 5 values that i am inte..... More

Print this item

  Anyone Using the Spyder IDE?
Posted by: JoeDainton123 - Sep-15-2020, 06:46 PM - Forum: General Coding Help - Replies (2)

Hi all

I was wondering if someone could explain what the colors represented in the Spyder IDE variable explorer for a data frame.

I have the da..... More


Attached Files

Thumbnail(s)
       
Print this item

  list from a data file problem
Posted by: Marre - Sep-15-2020, 06:05 PM - Forum: General Coding Help - Replies (3)

hello. i need advice for an simple problem.

[python]with open("clusters.csv", "r") as data_file:
all_words = []
for line in data_file.rea..... More

Print this item

  tkinter get method is not accepting value
Posted by: jagasrik - Sep-15-2020, 05:25 PM - Forum: GUI - Replies (4)

I am trying a mini project just for my practice purpose, here when i enter the value '1' when i run this program, the option.get() is not accepting th..... More

Print this item

  How to parse JSON DIC?
Posted by: ogautier - Sep-15-2020, 04:41 PM - Forum: General Coding Help - Replies (4)

Hello I'm trying to parse the JSON DIC, to get only the values of each item of the response and save them in a mysql table.
Does anybody can help me ..... More

Print this item

  ERROR: Cannot load plugin
Posted by: dbwest1 - Sep-15-2020, 04:28 PM - Forum: General Coding Help - No Replies

Test1

Print this item

  USZIPCODE error
Posted by: lokesh - Sep-15-2020, 03:24 PM - Forum: General Coding Help - Replies (1)

Hi,

I am wondering if anyone is facing the issue with uszipcode package error.till yesterday it works fine without any issues with latest version ..... More

Print this item

  Looking for help in Parse multiple XMLs and update key node values and generate Out..
Posted by: rajesh3383 - Sep-15-2020, 01:39 PM - Forum: General Coding Help - No Replies

Hello,

I got struck in Parsing multiple XML files and update key node values. Can you please help..

The Code below works as expected for single ..... More

Print this item

  Data merging & Timestamp
Posted by: pandoori - Sep-15-2020, 01:02 PM - Forum: Data Science - Replies (1)

Hi,

New using Python, I can code simple stuff in several languages but I’m far from being an expert.
Here is my current situation:

I have 2 Datafram..... More

Print this item

  Load external font and does not show font in the window
Posted by: ATARI_LIVE - Sep-15-2020, 12:30 PM - Forum: General Coding Help - Replies (16)

Confused the Coding with the font... Huh Doh

I use to download the font at:
http[url=https://python-forum.io/thread-29667.html]..... More

Print this item

  Password
Posted by: Mathisdlg - Sep-15-2020, 12:15 PM - Forum: General Coding Help - Replies (5)

Hello I work in cyber security and I need help.
I wan't to secure password on my device.(I already encrypt my password and my device)
Can you help m..... More

Print this item

  parser json response
Posted by: absolut - Sep-15-2020, 11:14 AM - Forum: General Coding Help - Replies (4)

Hi!

I'm trying to traslate shell script bash to pyhton. I use jq to extract fileds of json response but with jsonresponse I can't do it with python. ..... More

Print this item

  scipy.signal.find_peak VS Matlab's findpeaks function
Posted by: claw91 - Sep-15-2020, 10:47 AM - Forum: Data Science - Replies (2)

I'm interested in finding positive and negative peaks in a data sample with Python.

To give you a better idea, I'm considering Matlab's findpeaks f..... More

Print this item

  What is wrong with my code???
Posted by: MrLeads - Sep-15-2020, 09:49 AM - Forum: General Coding Help - Replies (15)

Can anyone please help me with the problem with this code-

[python]def prime_num(a):
if a>1:
for x in range(2,a):
if (a%x)==0:..... More

Print this item

  How to Print a list = ['a','b','c'], using tkinter along with a custom font?
Posted by: Pleiades - Sep-15-2020, 03:43 AM - Forum: GUI - Replies (2)

Smash

I'm trying to print out a list using tkinter and a custom font with the font family that is named Voynich. I have made several lists name..... More

Print this item

  Repeat keywords at end of every line
Posted by: knob - Sep-15-2020, 02:01 AM - Forum: Homework - Replies (4)

Good evening, I would like to read a text file and create an output with the results.
I'm new on python and i'm looking a way to develop this code.
..... More

Print this item

  Function help
Posted by: Nickd12 - Sep-15-2020, 01:01 AM - Forum: General Coding Help - Replies (10)

[python]def my_room_light_on():
my_room_l_on = b.set_light([1, 2, 9, 10], 'on', True)
my_room_l_off = b.set_light([1, 2, 9, 10], 'on', False..... More

Print this item

  pip3 install opencv-python fails on 'skbuild'
Posted by: Pedroski55 - Sep-14-2020, 10:40 PM - Forum: General Coding Help - Replies (2)

With some help from askubuntu I got it working:

I used:

Quote:sudo apt-get install python3-opencv

I must have installed the module for Pyt..... More

Print this item

  Error when running mktorrent subprocess command
Posted by: pythonnewbie138 - Sep-14-2020, 09:53 PM - Forum: General Coding Help - Replies (4)

Hi there,

I can't figure out why my mktorrent subprocess command is failing. Any help in understanding why would be much appreciated.

Here's my ..... More

Print this item

  Comparing items from 2 lists of dictionaries
Posted by: illwill - Sep-14-2020, 08:38 PM - Forum: General Coding Help - Replies (7)

Hey all,

I working with 2 json data sets, I've imported them into variables so that I now have 2 lists of dictionaries.

I need to check if the i..... More

Print this item

  RE: Data isn't writing to the Database with Django and SQL Lite
Posted by: card51shor - Sep-14-2020, 08:35 PM - Forum: Homework - Replies (15)

Hey guys I'm working on creating an Auction site and I've got a bunch of it done but I'm running into trouble with the Watchlist model I created.

W..... More

Print this item

  Concatenate two dataframes
Posted by: moralear27 - Sep-14-2020, 07:04 PM - Forum: General Coding Help - Replies (2)

Hi, I am currently trying to do which looks like a pretty complicated program. I have one dataframe without header which looks in this way:


Param..... More

Print this item

  Can somebody check what is wrong with my code?
Posted by: hplus_liberation - Sep-14-2020, 06:39 PM - Forum: General Coding Help - Replies (4)

The purpose of the code is to add the digits of the factorial product such as 5! = 120 and the output is 1 + 2 = 3.
[python]import math
num = 10
fa..... More

Print this item

  Matplotlib clear x,y data
Posted by: LoneStar - Sep-14-2020, 05:55 PM - Forum: GUI - No Replies

Hi,

How do I clear a Matplotlib line chart's data? I have the following lines when a user clicks a button:

[python]
def on_btn_reset(self):
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  link variable to exc bloc... 8 hours ago Astrobert Astrobert General Codin...
  PyQt6 QWidgets and system... 10 hours ago stevecoh1 Axel_Erfurt GUI
  best way to learn python Yesterday, 16:13 dutch mamta25 News and Disc...
  Graph Interpolate Difficu... 11-17, 22:27 Tuurbo46 deanhystad General Codin...
  [SOLVED] Access keys and ... 11-17, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... 11-17, 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...
Most views
  The best Prog... 579126
  Tutorial Requ... 511442
  Web Scraping ... 442080
  Newbie with P... 386147
  New Users Int... 378579
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
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
SavingSquirrel199835 Yesterday
Astrobert Yesterday
DataScientist071 Yesterday
aminrony1999 11-17
fobby888 11-17

User Panel Messages

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