Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,974
» Latest member: Williamcaurb
» Forum threads: 38,732
» Forum posts: 175,558

Full Statistics

Online Users
There are currently 63 online users.
» 1 Member(s) | 51 Guest(s)
Bing, Google, AOL, AOL, Mojeek, Applebot, Facebook, Gribouillis

Latest Threads
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
6 hours ago
» Replies: 2
» Views: 754
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 05:45 PM
» Replies: 6
» Views: 786
Integer Factorization Too...
Forum: Code sharing
Last Post: fosuwxb
Yesterday, 04:45 PM
» Replies: 0
» Views: 99
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 12:59 PM
» Replies: 8
» Views: 500
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 2,878
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,280
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,845
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,266
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,201
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,513

 
  Need code for buttons to move to previous and next documents
Posted by: JayCee - Apr-02-2020, 05:19 PM - Forum: GUI - Replies (1)

Hello everyone,

Greetings from Brazil! I'm a beginner programmer learning Python 3. I created a form in Qt5 Designer to navigate through my mongoDB..... More

Print this item

  Database Connect
Posted by: JohnnyCoffee - Apr-02-2020, 05:09 PM - Forum: General Coding Help - Replies (1)

Which native (official) python module can I use to connect to any sql database ?

Print this item

  How to loop through all QLineEdit widgets on a form
Posted by: JayCee - Apr-02-2020, 05:02 PM - Forum: GUI - Replies (6)

Hello everyone,

Greetings from Brazil! Does anybody know a quick and easy way to loop through all QLineEdit widgets on a form and clear them? Thank..... More

Print this item

  Edit Json file
Posted by: mcmxl22 - Apr-02-2020, 04:57 PM - Forum: General Coding Help - Replies (1)

I am trying to add key\value pairs to a Json file. I can write one pair to the file but I can't figure out how to append additional pairs. When I try,..... More

Print this item

  Q on use of Class
Posted by: ebolisa - Apr-02-2020, 03:05 PM - Forum: General Coding Help - Replies (2)

Hi,

The code below runs as designed when executed the first time. It creates a file with binary data. Because on the first run the file doesn't exi..... More

Print this item

  Bind error
Posted by: PeterLinux - Apr-02-2020, 12:14 PM - Forum: GUI - Replies (1)

With Python2 I have this little script with an error in the line with "******" stars:
[python]#!/usr/bin/python

import wx

def quit():
print("..... More

Print this item

  exec() in class, NameError
Posted by: niski1996 - Apr-02-2020, 12:10 PM - Forum: General Coding Help - Replies (6)

Hi. I've got a problem with exec() function in my class. If code is like:[python] def rysuj(self, frame, tuptus):
for bu in tuptus:
..... More

Print this item

  difficulties to chage json data structure using json module in python
Posted by: Sibdar - Apr-02-2020, 11:14 AM - Forum: General Coding Help - Replies (1)

Good Day, Python community

I am trying to create a script to change THIS JSON data structure:
[python]
{
"16bec99d-a13e-4a21-a761-f673631b606..... More

Print this item

  Instalation error (GetActiveProcesorCount)
Posted by: Mondata - Apr-02-2020, 10:10 AM - Forum: General Coding Help - Replies (4)

Hi there,

I am trying to install Python on my computer but get some errors.

When installing, I get the message
[error]"Python ha dejado de func..... More

Print this item

  Sublime Text 3 WinError 2 File Specified
Posted by: HelloWorld17 - Apr-02-2020, 09:03 AM - Forum: General Coding Help - No Replies

Hello, newbie to coding here. I am trying to run print("hello Python world!") on Sublime Text 3, but an error msg keeps popping up, as shown below:
..... More

Print this item

  I haven't a clue how to implement this logic
Posted by: 357mag - Apr-02-2020, 08:09 AM - Forum: General Coding Help - Replies (3)

I would like to write a psychology test for the fun of it. It would have ten questions and four multiple choice answers. At the end of the test you co..... More

Print this item

  bypassing find element click()
Posted by: windows11 - Apr-02-2020, 08:05 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello guys, I dont know why but sometimes the click() do not work


[python]
a=11

def my_function(i,driver):
while i<a:

element=driver..... More

Print this item

  Order of key and value in dictionary keeps changing
Posted by: palladium - Apr-02-2020, 07:04 AM - Forum: General Coding Help - Replies (2)

I am trying to write a code to sort out bookings for staff in a clinic. The idea is to allocate the next booking to the staff with the most availabili..... More

Print this item

  Django admin form with parent child
Posted by: tmmaersk - Apr-02-2020, 06:42 AM - Forum: Web Scraping & Web Development - No Replies

Hey

I have created a model in django, for categories - with a parent child structure.

But how can I change the look in the admin, of that dropdo..... More

Print this item

  using import with filename starting by a number followed by underscore
Posted by: SpongeB0B - Apr-02-2020, 05:12 AM - Forum: General Coding Help - Replies (2)

Hi everyone,

I have a file who is named 16_module.py

I would like to use some function from it. So i use import within my current ..... More

Print this item

  PyCharm asking for VC++ runtime 14.0 whereas I have already installed VC++ 19.0
Posted by: SarmadiRizvi - Apr-02-2020, 04:45 AM - Forum: General Coding Help - Replies (1)

Hello Dear Members!

I have on my system (windows 10) Visual C++ redistributable package 2019 running. Now when I wrote this statement - import mysq..... More

Print this item

  Creating an executable
Posted by: vman44 - Apr-02-2020, 04:26 AM - Forum: General Coding Help - Replies (8)

Hi.

I'm trying to create an executable file from a Python script.
I'm running Python v. 3.7 & Pycharm.

I tried "pyinstaller", but that didn't w..... More

Print this item

  How to access variables from dirsync module
Posted by: steve_shambles - Apr-02-2020, 04:18 AM - Forum: General Coding Help - Replies (3)

I have just completed a new project called Sync It,
it uses the excellent..... More

Print this item

  why is the ticker and date different
Posted by: junkone - Apr-02-2020, 12:33 AM - Forum: Data Science - Replies (1)

Here is my early attempts in using python. i am getting stock data from yahoo but i can see that the ticker, date column headers are lower than the hi..... More

Print this item

  Object reference in Dict - not resolved at runtime
Posted by: benthomson - Apr-01-2020, 10:39 PM - Forum: General Coding Help - Replies (2)

Here is my code:

[python]
total_runtime = None
mail_pfx = "dVDS FULL5 CN"

mail_subj = {
'completed' : f"{mail_pfx} : [INFO] Refresh complete..... More

Print this item

  Music Player
Posted by: merrickdav - Apr-01-2020, 09:40 PM - Forum: Game Development - Replies (1)

Hi I am trying to build a PlayAll method for my music player. The PlayAll method needs to be able play one song after the other from a playList. The p..... More

Print this item

  FTP with special character in password
Posted by: amatta - Apr-01-2020, 08:30 PM - Forum: Networking - Replies (5)

Hello
I am new to python and i am trying to connect to FTP to download files. The FTP password provided by vendor has a special character '(apostrop..... More

Print this item

  It seems like the overall Python syntax would be error prone
Posted by: CynthiaMoore - Apr-01-2020, 08:04 PM - Forum: News and Discussions - Replies (13)

I just started reading an intro to Python piece. It shows simple examples of several statements (def, for, while). I'm just getting started, but it lo..... More

Print this item

  Need help with Loop.
Posted by: gnosticwhispers - Apr-01-2020, 07:42 PM - Forum: General Coding Help - Replies (1)

Hello!

This is my first post so I apologize if Ive done this incorrectly.

I am a beginner and this is only my third day of learning python. I at..... More

Print this item

  An interesting Role-Play-Game battle script
Posted by: NitinL - Apr-01-2020, 06:22 PM - Forum: Homework - Replies (4)

The following are the files:


https://pastebin.com/4EyFEGxi - game.py # Define player and his set of actions
https://pastebin.com/BS..... More

Print this item

  numbers in list - max value and average
Posted by: stewie - Apr-01-2020, 06:07 PM - Forum: Homework - Replies (2)

Program ask user for input (how many fish he caught per day - 10 days) and than it needs to output average per day and output number from list that is..... More

Print this item

  NameError: name 'os' is not defined
Posted by: lrpirlet - Apr-01-2020, 05:42 PM - Forum: General Coding Help - Replies (6)

Hello
I am new to coding python and to this forum… If I do come with a NOOB question, please tell me..
My question is: what is the difference betwee..... More

Print this item

  Saving results
Posted by: Rokafly - Apr-01-2020, 05:25 PM - Forum: General Coding Help - Replies (2)

Hello guys, I'm new on this website so I will try to make the best subject that I can!
I'm a french student, I study mathematics but I do a little bi..... More

Print this item

  Newbee Question
Posted by: chas777 - Apr-01-2020, 05:24 PM - Forum: General Coding Help - Replies (4)

I am trying to make a class I can use to save a dataframe, two strings and two floats.
I cant seem to get it to work.

[python] import numpy as ..... More

Print this item

  messagebox is not being executed please help
Posted by: erwinsiuda - Apr-01-2020, 05:17 PM - Forum: GUI - Replies (2)

Hello
I am trying to create my first Alarm Clock but I've stuck. I've simply created Tkinter window with a clock and some entry boxes and button to s..... More

Print this item

  Indentation error... lol
Posted by: ironfelix717 - Apr-01-2020, 05:13 PM - Forum: General Coding Help - Replies (8)

Getting an indentation error which is usually indicative of a syntax error ELSEWHERE in the code (a big weakness of Python).

Code:

[pytho..... More

Print this item

  Help with Button press/curl
Posted by: Imbatech - Apr-01-2020, 04:34 PM - Forum: Networking - Replies (2)

Hello!

I'm in need of a code that sends a notification using ifttt when i press a button on my raspberry pi.
I been looking around for hours without ..... More

Print this item

  Question about if with () or without () / pathlib
Posted by: Tecuma - Apr-01-2020, 04:10 PM - Forum: General Coding Help - Replies (3)

Hello Community,

I am using
- macOS 10.15.4
- Python 3.8.2 (via Mac Ports)

In the macOS security settings the terminal has full disk access...... More

Print this item

  open a new window
Posted by: windows11 - Apr-01-2020, 04:02 PM - Forum: Web Scraping & Web Development - Replies (3)

Hello guys Im using python and selenium

I know the code Drive.find_element_byXpath("...").click()
But I want to open in a new window, not in the s..... More

Print this item

  sending sms messages from your smartphone
Posted by: skorost5 - Apr-01-2020, 03:46 PM - Forum: General Coding Help - Replies (4)

What library can I use to send sms messages from my smartphone?

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My goal to be hired worki... 6 hours ago GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... Yesterday, 17:45 llarkin6 noisefloor General Codin...
  Integer Factorization Too... Yesterday, 16:45 fosuwxb fosuwxb Code sharing
  Comparing 2 100GB Drives/... Yesterday, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
Most views
  The best Prog... 577330
  Tutorial Requ... 500620
  Web Scraping ... 440996
  Newbie with P... 385033
  New Users Int... 369503
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12090
buran 8176
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Williamcaurb Yesterday
sophielane Yesterday
Oscar0057 Yesterday
Cromulent Yesterday
PhamMaria Yesterday

User Panel Messages

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