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,282
» Latest member: MattCarters
» Forum threads: 38,793
» Forum posts: 175,871

Full Statistics

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

Latest Threads
iBolt Cyber Hacker Recove...
Forum: General Coding Help
Last Post: MattCarters
1 hour ago
» Replies: 0
» Views: 9
data fetching for indian ...
Forum: General Coding Help
Last Post: drakhsin
11 hours ago
» Replies: 0
» Views: 43
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Yesterday, 08:30 PM
» Replies: 0
» Views: 37
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Yesterday, 06:15 AM
» Replies: 4
» Views: 1,470
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 123
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 49
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,042
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,292
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 344
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 187

 
  Tutorial: Python and pymsql database navigation
Posted by: JayCee - Apr-10-2020, 10:51 PM - Forum: GUI - No Replies

How to display MySQL database records in alphabetical order on a PyQT5 form using Python and pymysql without depending on record ID numbers:


Hello, ..... More

Print this item

  The "FindAll" Error
Posted by: BadWhite - Apr-10-2020, 09:40 PM - Forum: General Coding Help - Replies (6)

[b]Dears,

I'm very newbie to the Python Language and I have spent some time teaching myself. Every time I face an error I try to dig for the soluti..... More

Print this item

  Value error
Posted by: jithin123 - Apr-10-2020, 09:39 PM - Forum: Data Science - Replies (2)

for data in alldata:
    if (data['Familysize']==1):
        data['isalone']=1
What is the error in this simple code?

[error]..... More

Print this item

  difference between «1 in [2] == False» and «(1 in [2]) == False»
Posted by: fbaldit - Apr-10-2020, 07:17 PM - Forum: General Coding Help - Replies (2)

Hi,
could someone here explain to me why the first boolean expression of thread subject (namely « 1 in [2] == False ») evaluates to False whereas sec..... More

Print this item

  How Do I Only Get the Year from Date and Isolate Data for Year?
Posted by: WhatsupSmiley - Apr-10-2020, 06:36 PM - Forum: Data Science - Replies (2)

Hi,

I am working with a pandas dataframe which has a date column, called Occurrence Year. I am trying to only get the year for that column (drop t..... More

Print this item

  define certain array elements+display with digits
Posted by: lukezo - Apr-10-2020, 05:03 PM - Forum: Data Science - No Replies

I have a question about Jupyter arrays. I have a zero array A0 and want to replace say (n-2)-th element with a value defined in previous line in equat..... More

Print this item

  Paramiko resource shortage error
Posted by: michu7 - Apr-10-2020, 04:04 PM - Forum: Networking - No Replies

I want to log into a router from a gateway switch and then pass commands to get the logs of the router

Made a script for the same butting receiving..... More

Print this item

  how to write offset number to disk use python?
Posted by: Pyguys - Apr-10-2020, 03:57 PM - Forum: General Coding Help - Replies (4)

please advice. here is sample of result get view disk hex with xxd in terminal. thanks.
[output]
00000000: 0000 0000 0000 0000 dddd dddd dddd dddd ..... More

Print this item

  Accessing value in Dict
Posted by: Pioden - Apr-10-2020, 02:48 PM - Forum: General Coding Help - Replies (2)

I'm tearing my hair out trying to figure out what I'm doing wrong with access values in a dictionary!
Here's a greedy algorithm for returning change ..... More

Print this item

  Adding colour to Python console
Posted by: Archangelos - Apr-10-2020, 12:57 PM - Forum: General Coding Help - Replies (4)

Hello guys,

I tried to colourise the texts in a Python consol applications but the results were a little bit weird.

Firstly, I googled the whole..... More

Print this item

  script that handle windows notifications.
Posted by: darktitan - Apr-10-2020, 12:37 PM - Forum: General Coding Help - Replies (1)

Have any one got any idea how to handle windows notifications? I have searched every where about this.
I need to just make a script that detects a wi..... More

Print this item

  I can't control the speed of the turtle object
Posted by: Hesper - Apr-10-2020, 12:25 PM - Forum: Game Development - Replies (1)

I recently began writing a simple ping pong game in python using turtle. The code seems fine its just but I can't control the speed of ball which is a..... More

Print this item

  google home page change
Posted by: Larz60+ - Apr-10-2020, 11:54 AM - Forum: Bar - No Replies

Recently (past few days), google changed the entry widget on their home page.

Used to be that there was a magnification glass icon which when click..... More

Print this item

  how to run a series of py scripts
Posted by: davidm - Apr-10-2020, 11:19 AM - Forum: General Coding Help - Replies (2)

Hi Just starting out on the python path and would like to know the best way to run all the 4 steps below in one operation (batch file in my day)

1...... More

Print this item

  Do lists of classes take up more space in memory?
Posted by: DreamingInsanity - Apr-10-2020, 11:13 AM - Forum: General Coding Help - Replies (1)

I'm going through refactoring and cleaning up my code.

At the moment, I have data written to a file to store it, then later on I take the file and cr..... More

Print this item

  mysql.connector
Posted by: Nobima - Apr-10-2020, 11:00 AM - Forum: General Coding Help - Replies (1)

In Ubuntu and Python 3.5.2 I want to connect to a Mysql-Database.

With the command "import mysql.connector" I get an ImportError "No module named '..... More

Print this item

  Python interpreter - output to file
Posted by: SectionProperties - Apr-10-2020, 08:49 AM - Forum: General Coding Help - Replies (8)

With the Python interpreter, analogous to the Command Prompt in windows, is there a way to export or write output to a file.

In looking at the code f..... More

Print this item

  Variable from notepad problem
Posted by: samuelbachorik - Apr-10-2020, 08:43 AM - Forum: General Coding Help - Replies (2)

Hello dear users, let me explain you my problem with variable.

b = open("test.txt", "r").readline()

a = input("Write")

if a == b:
print..... More

Print this item

  Python "Terminal" vs "Shell"
Posted by: SectionProperties - Apr-10-2020, 07:30 AM - Forum: General Coding Help - Replies (2)

I have installed Python 3.6.0 on my machine.

From the Windows Start menu, the options for coding seem to be as follows:
[b]- IDLE (Python 3.6 64-b..... More

Print this item

  Python Returns Hexadecimal
Posted by: BushChooks - Apr-10-2020, 06:01 AM - Forum: Data Science - Replies (1)

Within Python Simpy library, you have Resources that can be used by Processes, and at any point in time there may be Processes queuing to use a partic..... More

Print this item

  Is it possible to automate button generation in tkinter?
Posted by: FirePepi - Apr-10-2020, 01:11 AM - Forum: GUI - Replies (3)

I would like to write a simple image viewer. I have already written it, when my friend said she wanted nothing from the pictures to appear in the prog..... More

Print this item

  Iteration Help
Posted by: jareyesluengo - Apr-09-2020, 09:34 PM - Forum: General Coding Help - No Replies

Hi;

i create a code for find a replace words of a list. But i had a proble in the iterarion of this code, only change the first word

[python]def..... More

Print this item

  Getting errors when trying to run programs
Posted by: whois1230 - Apr-09-2020, 06:42 PM - Forum: General Coding Help - Replies (8)

I tried to copy the code of a game to see what happens, ..... More

Print this item

  Program with Multiple Windows - how to use Class:
Posted by: Riddle - Apr-09-2020, 06:13 PM - Forum: GUI - Replies (1)

Hi everyone,
This is my first post on this forum. I have been trying to learn Tkinter and find answers via web searches, but it only got me so far. I..... More

Print this item

  Error 13 permission
Posted by: tpolim008 - Apr-09-2020, 05:49 PM - Forum: General Coding Help - Replies (2)

Hello,
Im slowly getting into the game of python and learning its much strict than other languages. Im running into an issue with my script Im work..... More

Print this item

  How to Remove Non-ASCII Characters But Leave Line Breaks In Place?
Posted by: bmccollum - Apr-09-2020, 05:35 PM - Forum: General Coding Help - Replies (4)

I have a function in a Python script that serves to remove non-ASCII characters from strings before these strings are ultimately saved to an Oracle da..... More

Print this item

  Python 3.9 alpha how to install psutil?
Posted by: lmh1 - Apr-09-2020, 04:36 PM - Forum: General Coding Help - Replies (10)

I tryed python 3.9 alpha but its failed to install psutil?

pip install psutil
Requirement already satisfied: psutil in /usr/local/lib64/python3.8/..... More

Print this item

  struct.decode() and '\0'
Posted by: deanhystad - Apr-09-2020, 03:11 PM - Forum: General Coding Help - Replies (1)

I am writing some socket code and have to convert bytes to a str. The bytes contains a string that is padded with 0x00 to a fixed size. When I decod..... More

Print this item

  ValueError: invalid literal for int() with base 10: '\n'
Posted by: srisrinu - Apr-09-2020, 02:43 PM - Forum: General Coding Help - Replies (9)

I'm getting the error "int() with base 10" can anyone please find the error
[quote]
choclate 35
biscuit 20
Icecream 50

D..... More

Print this item

  what does x reprsent in this code ?
Posted by: astral_travel - Apr-09-2020, 01:57 PM - Forum: General Coding Help - Replies (27)

thisset = {"apple", "banana", "cherry"}

for x in thisset:
  print(x)

Print this item

  fmt_directory_entry = "{counter:>02}. {director:<52} {avg}"
Posted by: ClassicalSoul - Apr-09-2020, 01:44 PM - Forum: General Coding Help - Replies (7)

What exactly is going on with the {counter:>02} parameter in the fmt_directory_entry assignment? In particular, how is it effected that 0 should b..... More

Print this item

  Checking for equality
Posted by: PythonGainz - Apr-09-2020, 01:44 PM - Forum: General Coding Help - Replies (8)

Guys,I know this is so kindergarten, but I just can't find the answer.

So according to my textbook to check for equality in a simple example, all I..... More

Print this item

  Installing sectionproperties
Posted by: SectionProperties - Apr-09-2020, 01:25 PM - Forum: General Coding Help - Replies (7)

Hi, this is my first post.
I've been trying to install the software "sectionproperties", which requires Python, with instructions in the following li..... More

Print this item

  Python version on Linux
Posted by: whois1230 - Apr-09-2020, 01:06 PM - Forum: General Coding Help - Replies (5)

Hello, I'm running Linux Mint Cinnamon 18.3 64-bit and I want to learn Python 3. When I write

python --version
in the Terminal I get ..... More

Print this item

  Help with espeak
Posted by: microphone_head - Apr-09-2020, 10:40 AM - Forum: Game Development - No Replies

Hi all!

I've been using espeak for one of my projects. I noticed a while back that sometimes it sounded like the synth voice would stutter or soun..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  iBolt Cyber Hacker Recove... 1 hour ago MattCarters MattCarters General Codin...
  data fetching for indian ... 11 hours ago drakhsin drakhsin General Codin...
  Brazil Python Help to aut... Yesterday, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... Yesterday, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
Most views
  The best Prog... 579236
  Tutorial Requ... 512065
  Web Scraping ... 442172
  Newbie with P... 386287
  New Users Int... 379414
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+ 12109
buran 8196
snippsat 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
MattCarters Today
drakhsin Today
MileHigh303 Yesterday
ndx101 Yesterday
OtiliaBecker Yesterday

User Panel Messages

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