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,237
» Latest member: lary_p
» Forum threads: 38,776
» Forum posts: 175,792

Full Statistics

Online Users
There are currently 43 online users.
» 0 Member(s) | 41 Guest(s)
Bing, Google

Latest Threads
I’m building a Python Dat...
Forum: GUI
Last Post: woooee
4 hours ago
» Replies: 1
» Views: 90
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:56 AM
» Replies: 4
» Views: 141
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Nov-08-2025, 10:39 AM
» Replies: 3
» Views: 124
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 124
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,247
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,377
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,577
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 201
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,208
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,458

 
  Python3 hashlib
Posted by: ogautier - Mar-28-2022, 02:42 AM - Forum: General Coding Help - Replies (1)

Quote:Hello, I'm trying to read and compare from an online list, through a given hash, but I'm getting this error:
[quote]
Does anybody c..... More

Print this item

  Typeerror
Posted by: Leo - Mar-28-2022, 12:21 AM - Forum: Homework - Replies (2)

For this assignment we are to make a program that prompts the user for two temperature values between -20 and 50. The second one must be bigger than t..... More

Print this item

  accessing value in dict_values class
Posted by: CompleteNewb - Mar-27-2022, 09:40 PM - Forum: General Coding Help - Replies (14)

i have this program snippet:

[python]
samelist = []
list1 = []
lst = [1,1]
alllist = {
4:[1,1,1,1],
5:[1,1,1],
6:[1,1]
}

for i in lst:
..... More

Print this item

  Trading System Architect and Developer, Eastern Europe, full remote
Posted by: AlexanderElkin - Mar-27-2022, 06:59 PM - Forum: Jobs - Replies (1)

Hi everyone! We are a sports analytics startup. We develop predictions of unparalleled quality for sports events such as soccer games, leveraging our ..... More

Print this item

  AttributeError: 'function' object has no attribute 'metadata
Posted by: 3lnyn0 - Mar-27-2022, 06:35 PM - Forum: General Coding Help - Replies (5)

Hi!
Please help me with the error below.

[error] Base.metadata.create_all(engine)
AttributeError: 'function' object has no attribute 'metadata..... More

Print this item

  Return a value to __main__
Posted by: menator01 - Mar-27-2022, 03:58 AM - Forum: GUI - Replies (7)

Using this example, is there a way to return the updated value or how to use the after method in the main?

[python]import tkinter as tk

class Wi..... More

Print this item

  Reading an Input File
Posted by: DaveG - Mar-26-2022, 11:36 PM - Forum: General Coding Help - Replies (1)

Hi
I hope this makes sense. I have a Python script that reads an input (binary??) file of geographic coordinates and I get this error:

forrtl: sev..... More

Print this item

  Selenium - bypass Cloudflare bot detection
Posted by: klaarnou - Mar-26-2022, 08:11 PM - Forum: Web Scraping & Web Development - Replies (5)

Hello,

Cloudflare detects my scraper and blocks access to the site.
I have tried to use selenium_stealth, this seems to pass bot detection at http..... More

Print this item

  Save JSON data to sqlite database on Django
Posted by: Quin - Mar-26-2022, 06:22 PM - Forum: Web Scraping & Web Development - No Replies

Hello everyone

I am trying to save JSON data to sqlite database on Django

I have these small code chunks here which are giving me some problems...... More

Print this item

  Python and SQL mastery
Posted by: OmegaRed94 - Mar-26-2022, 04:29 PM - Forum: General Coding Help - Replies (1)

Good day, Dear Pythonistas

I have the following question:

I know that there are a lot of courses and materials about (Python + SQL) implementati..... More

Print this item

  Pynput Library not Working with Windows
Posted by: jacknewport - Mar-26-2022, 03:11 PM - Forum: General Coding Help - Replies (1)

I'm trying to create a simple autoclicker where when I hold down on caps lock, the mouse will left click over and over again. I wrote a simple program..... More

Print this item

  tensorflow, How get value from Tensor
Posted by: Oleksnadr - Mar-26-2022, 02:55 PM - Forum: General Coding Help - Replies (1)

I upload the data in BatchDataset using the image_dataset_from_directory method
[python]
seed = 64
images = tf.keras.utils.image_dataset_from_direc..... More

Print this item

  how to add two buttons with different functions in Tk
Posted by: LinuxLife - Mar-26-2022, 02:16 PM - Forum: GUI - Replies (8)

hello all!
first time here,to ask for your support...
got this code in my attached file.it has two buttons,and two different functions.
the problem..... More


Attached Files

.py   teliko.py (Size: 2.67 KB / Downloads: 376)
Print this item

  Making Code Cleaner
Posted by: sklord - Mar-26-2022, 01:07 PM - Forum: Homework - Replies (1)

Is there any good website to hire a teacher per message on a simple question?


How do I make this code cleaner?
[python]
text_test = ('Hello'..... More

Print this item

  Loop through values in dictrionary and find the same as in previous row
Posted by: Paqqno - Mar-26-2022, 09:04 AM - Forum: General Coding Help - Replies (5)

I am new in Python and I am stuck with one problem for a few days now. I made a script that:

-takes data from CSV file
-sort it by same values in..... More

Print this item

  Python multiprocessing Pool apply async wait for process to complete
Posted by: sunny9495 - Mar-26-2022, 05:36 AM - Forum: General Coding Help - Replies (6)

I have coded a simple program of run through the list, but apply_sync isn't waiting until the list is complete, here is the code

[python]
import i..... More

Print this item

  How to ignore "Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=None))"
Posted by: const - Mar-26-2022, 05:18 AM - Forum: General Coding Help - Replies (3)

Hi

While running my code, I encounter this kind of warnings:

[python][WARNING] - Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=..... More

Print this item

  Tkinter not passing Value to Selenium
Posted by: Taksiepacze - Mar-25-2022, 05:40 PM - Forum: Web Scraping & Web Development - No Replies

Hi all, i'm going to try to explain this as accurately as i can.

My end goal is to successfully code a web scraper with Selenium with user inputs v..... More

Print this item

  Extracting Specific Lines from text file based on content.
Posted by: jokerfmj - Mar-25-2022, 12:42 PM - Forum: General Coding Help - Replies (8)

Hey, all. My apologies as I'm new to python in general, so I'm doing a lot of reading that goes over my head. :)

I'm working on a multi-step process ..... More

Print this item

  name.split() + (And) + print question
Posted by: sklord - Mar-25-2022, 11:57 AM - Forum: Homework - Replies (12)

The problem:

Input = My name is Bob and this is my wife Alice.
Output = Hello Bob and Alice!
else
Input = My name is Bob.
Output = Hello..... More

Print this item

  Results name is a variable itself
Posted by: paul18fr - Mar-25-2022, 08:32 AM - Forum: General Coding Help - Replies (2)

Hi
I do not remember how to proceed for the following assignment without using (hugly) local, global, and so on; the name if the functi..... More

Print this item

  MS access db
Posted by: DPaul - Mar-25-2022, 07:42 AM - Forum: General Coding Help - Replies (6)

Hi,
This question has been asked a 1000 times over the years in various forums.
I had hoped that with python 3.10 things would be smoother. I still ..... More

Print this item

  Change the key value in dictionary
Posted by: quest - Mar-25-2022, 01:42 AM - Forum: General Coding Help - Replies (3)

Hello

I have this dictionary:
[python]
{('i', 'i'): (0.4958635668040591+0.033985852749267645j),
('i', 'x'): (-3.713537562982453e-06-2.578284945..... More

Print this item

  Zero Division Error
Posted by: Leo - Mar-24-2022, 11:48 PM - Forum: Homework - Replies (2)

Hello everyone
This goal of this assignment is to use a separate text file and then use the numbers within it and compute the variance. My professor ..... More

Print this item

  [solved] How to display a pdf-file in a PyQt6 widget
Posted by: BigMan - Mar-24-2022, 10:38 PM - Forum: GUI - Replies (13)

Hello,

The problem
I would like to display a pdf-file in a widget. That widget is part of a layout. Since the pdf files can contain more th..... More

Print this item

  how to make a rectangle
Posted by: shanesgameYT - Mar-24-2022, 10:35 PM - Forum: News and Discussions - No Replies

[b]im trying to make a rectangle on my screen and the rectangle shows up but for a split second after i click the close button this is my code in the ..... More


Attached Files

.py   main.py (Size: 570 bytes / Downloads: 278)
.py   tiles.py (Size: 236 bytes / Downloads: 288)
Print this item

  DELETE Post using Python FaceBook Graph API
Posted by: BIG_PESH - Mar-24-2022, 08:28 PM - Forum: General Coding Help - No Replies

Hey All,

I'm currently programming a Facebook auto poster using the FaceBook Graph API (Facebook-SDK 3.1.0)with Python 3.10.

I have it posting a..... More

Print this item

  unique on 2 columns at the same time
Posted by: paul18fr - Mar-24-2022, 07:40 PM - Forum: Data Science - Replies (2)

Hi,

I'm looking for a way to get unique couple of data on 2 columns here as shown bellow; I had to look to numpy and Pandas, duf on i..... More

Print this item

  Unpacking zip object
Posted by: Mark17 - Mar-24-2022, 06:52 PM - Forum: General Coding Help - Replies (12)

Here's some code:

[Python]
exceptions = 0

a = ['1-6-2017', '1-13-2017', '1-20-2017', '1-27-2017']
b = [265, -10, 130, 330]
c = ['d', '', 'd',..... More

Print this item

  How to speed up nested cycles?
Posted by: alexfrol86 - Mar-24-2022, 06:50 PM - Forum: General Coding Help - Replies (3)

I try to optimize and speed up the code. With numba, it started to work much better, but still takes hours because of a lot of data that should be ite..... More

Print this item

  extracting a function/class/method from code
Posted by: Skaperen - Mar-24-2022, 05:34 PM - Forum: News and Discussions - Replies (5)

i'm not sure how to look for this. i would like a tool that can be given a file (or stdin) with code and the name of a function or class or method wh..... More

Print this item

  Loop through a list of string
Posted by: oldtrafford - Mar-24-2022, 02:48 PM - Forum: General Coding Help - Replies (4)

Hello,
I would like to write the following code,

[python]caeXmlObjects.kernel.mainXML.saveXMLRecords(fileName='settings.xml',
className='cae..... More

Print this item

  Python Encapsulation
Posted by: codinglearner - Mar-24-2022, 12:47 PM - Forum: General Coding Help - Replies (2)

Hi,

Was reading some articles and got this code in the multi-choice option, wanted to know what would be the put of this code?

[code]
class Ba..... More

Print this item

Question How to understand the received bytes of ser.read?
Posted by: pf2022 - Mar-24-2022, 10:51 AM - Forum: General Coding Help - Replies (3)

Hello,

I'm using a function ser.read (from PySerial) to read a sequence of 2000 bytes from a microcontroller. Two received bytes in a sequence are a..... More


Attached Files

Thumbnail(s)
   
Print this item

  background music in the gameloop
Posted by: flash77 - Mar-24-2022, 10:35 AM - Forum: Game Development - Replies (6)

Dear community,

I've got a problem with game development/tkinter...

I generated a form which let the user choose some tracks.
These tracks shou..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] I’m building a ... 4 hours ago tsgiannis woooee GUI
  Two arguments in input fu... Yesterday, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... 11-08, 10:39 yutaozhou buran News and Disc...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578718
  Tutorial Requ... 509347
  Web Scraping ... 441859
  Newbie with P... 385818
  New Users Int... 375247
Most reputation
buran 581
snippsat 510
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
lary_p Yesterday
Cristiano 11-08
Alfredd 11-08
clayote 11-08
yutaozhou 11-07

User Panel Messages

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