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,397
» Latest member: JulioLet
» Forum threads: 38,823
» Forum posts: 176,029

Full Statistics

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

Latest Threads
IP address for users
Forum: Networking
Last Post: Ruth_Hernandez
8 hours ago
» Replies: 5
» Views: 7,143
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
9 hours ago
» Replies: 28
» Views: 15,576
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:11 AM
» Replies: 1
» Views: 137
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,608
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 212
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,627
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 182
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 337
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,996
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 205

 
  How to create Asynchronous API using Flask
Posted by: srivastavavyom1991 - May-11-2021, 07:01 PM - Forum: Tutorial Requests and Submissions - No Replies

I created a tutorial on how to make Asynchronous API using Flask and Async.io:

..... More

Print this item

  tkinter lightswitch
Posted by: menator01 - May-11-2021, 06:52 PM - Forum: Code sharing - Replies (1)

Just wanted to share a little program using tkinter and images in hoping maybe it will help someone.

[video=youtube]https://youtu.be/GeD6xdYLRmY[/v..... More

Print this item

  Object inheriting from two classes?
Posted by: Melendroach - May-11-2021, 02:32 PM - Forum: General Coding Help - Replies (3)

So let's say I have 10 'roles' and 10 'races', I'd like to make each of them into a class.
Every character (player, npc, whatever) has a role and als..... More

Print this item

Sad Starting first code
Posted by: Ricky - May-11-2021, 12:56 PM - Forum: General Coding Help - Replies (4)

Hi, I've downloaded and been through the topics.
I've now typed - once I opened EDLE. print ("Hisssssss...") Saved As then OPEN the file and clicked..... More

Print this item

  I cannot delete and the elements from the list
Posted by: quest - May-11-2021, 09:17 AM - Forum: General Coding Help - Replies (4)

Hello,
I am trying to run this code. The idea is to compare all elements in the list with another single element. If they are same, process and delet..... More

Print this item

Bug Djongo (mongoDb) - Django rest framework Problem with search on JsonFields
Posted by: grzybekrafal - May-11-2021, 09:04 AM - Forum: General Coding Help - No Replies

I have a problem with filtering on JsonFIleds in Django REST API on MongoDB. I use djongo to connect with MongoDB.

Every time I get this error:

..... More

Print this item

  AttributeError: 'Node' object has no attribute 'insert'
Posted by: Anldra12 - May-11-2021, 07:58 AM - Forum: General Coding Help - Replies (4)

Quote:Get an error while insert a node to implement tree after insert node values what are missing and where
[error]AttributeError ..... More

Print this item

  Are You Suggesting That Coconuts Migrate?
Posted by: perfringo - May-11-2021, 07:37 AM - Forum: News and Discussions - No Replies

Quote:Please. This is supposed to be a happy occasion. Let’s not bicker and argue over who killed who…

..... More

Print this item

  function defined inside a function
Posted by: Skaperen - May-11-2021, 12:46 AM - Forum: News and Discussions - Replies (2)

when defining a function inside a function, even deep functions can access variables all the way to the first function. is there any limit to how far..... More

Print this item

  Clickable Rectangles Tkinter Canvas
Posted by: MrTim - May-10-2021, 08:16 PM - Forum: GUI - Replies (4)

Hello there.

I am attempting to bind the left mouse button to a grid of tkinter rectangles. I am trying to execute function clicked() when someone ..... More

Print this item

  using re.search()
Posted by: ebolisa - May-10-2021, 06:48 PM - Forum: General Coding Help - Replies (5)

Hi,

I'm trying to read the outputs from a GPS device. The only data I'm interested in is the one between the words '$GPGGA' and '$GPGSA'.

The co..... More

Print this item

  Basic help with a dataframe
Posted by: stylingpat - May-10-2021, 05:23 PM - Forum: Data Science - Replies (2)

Hello everyone, I am just running a loop through a data frame. Here is an example of it.

[output]{'NQ':
Date ..... More

Print this item

  web3
Posted by: adam2001 - May-10-2021, 05:12 PM - Forum: General Coding Help - Replies (1)

Hi, when installing web3 module i've got the following error (C+++ is already installed):


ERROR: Failed building wheel for bitarray
ERROR: Comma..... More

Print this item

  List index out of range when turning CSV into dict
Posted by: ranbarr - May-10-2021, 01:06 PM - Forum: Homework - Replies (15)

Im trying to make a CSV file into a dict but I keep getting IndexError: list index out of range..
The CSV looks like this:
Num Country From To Partici..... More

Print this item

  TypeError: __init__() got an unexpected keyword argument 'value'
Posted by: Anldra12 - May-10-2021, 09:21 AM - Forum: General Coding Help - Replies (7)

[quote]This is overall code it return me an error TypeError: __init__() got an unexpected keyword argument 'value'
where return the general tree to f..... More

Print this item

  Calculate median for school grades per subject
Posted by: siki - May-10-2021, 08:33 AM - Forum: Homework - Replies (1)

Hi,

I need some help with calculating median for school grades for subject or subject and diffuculty level (..200, 300).

The text is not in engl..... More

Print this item

  os.getcwdb()
Posted by: Skaperen - May-10-2021, 02:11 AM - Forum: News and Discussions - No Replies

has anyone here ever used os.getcwdb()?

Print this item

  How to put users in a dictionary?
Posted by: nostradamus64 - May-09-2021, 10:10 PM - Forum: General Coding Help - Replies (3)

How do i put my users in a dictionary, then access the key value pairs uid, name and shell?

Print this item

  Decoupling business logic from GUI elements
Posted by: Oolongtea - May-09-2021, 08:23 PM - Forum: GUI - Replies (4)

I'd like some insight on how to structure a PyQt GUI architecture in a way that decouples the GUI from the underlying business logic.
My understandin..... More

Print this item

  BeautifulSoup: 6k records - but stops after parsing 20 lines
Posted by: apollo - May-09-2021, 07:40 PM - Forum: Web Scraping & Web Development - No Replies

dear Python-experts, dear community - dear Snippsat and Larsz60+ Smile


for the sake to create a quick overview on a set of opportunities fo..... More

Print this item

  creating dict out of CSV file without the headers
Posted by: ranbarr - May-09-2021, 07:28 PM - Forum: Homework - Replies (6)

Hi all,
Im pretty new to python and Im learing how to import CSV and make it a dictionary
I made it but I dont know how to remove the headers and th..... More

Print this item

  I wrote a cryptographic algorithm!
Posted by: keames - May-09-2021, 07:03 PM - Forum: Code sharing - Replies (3)

I am a hobbyist programmer with an occasional fascination with cryptography. I'm in no way a cryptographer, and my algorithm hasn't been vetted or pee..... More

Print this item

  iretate over columns in df and calculate euclidean distance with one column in pandas
Posted by: Pit292 - May-09-2021, 06:46 PM - Forum: Data Science - No Replies

Hi, I have a dataset with several columns (Time Series) and I would like to synchronize them - the 'col2' should be the reference.

[img]https://i.s..... More

Print this item

  Listing All Methods Of Associated With A Class
Posted by: JoeDainton123 - May-09-2021, 04:42 PM - Forum: General Coding Help - Replies (3)

Hello

I wanted to ask whether it was possible to list all the methods associated with a Class for example:-

I have created the following class:-..... More

Print this item

  Glow text of clickable object on hover with transition
Posted by: andy - May-09-2021, 08:36 AM - Forum: GUI - Replies (6)

I am relatively new in Tkinter and trying to achieve a glow effect on hover on clickable objects.
I have got this far in my effort which I am ashamed..... More

Print this item

  List of lists - merge sublists with common elements
Posted by: medatib531 - May-09-2021, 02:29 AM - Forum: General Coding Help - Replies (1)

Assume I have list1 as follows:

list1 = [['a','b'],['c','d'],['b','e'],['f','g'],['a','h'],['i','c']]
I want to merge the subli..... More

Print this item

  AttributeError: 'NoneType' object in a parser - stops it
Posted by: apollo - May-09-2021, 01:34 AM - Forum: Web Scraping & Web Development - Replies (4)

dear python-experts good day, Smile



I'm currently working on a parser to make a small preview of a page from a URL given by the user in P..... More

Print this item

  how to keep anaconda up to date?
Posted by: apollo - May-08-2021, 11:44 PM - Forum: Bar - Replies (1)

hi there

i have installed Anaconda on a linux machine. And i have to say - that i like it.
i can run python - without taking care for the environm..... More

Print this item

  Find string between two substrings, in a stream of data
Posted by: xbit - May-08-2021, 10:45 PM - Forum: General Coding Help - Replies (1)

I have this continuous serial data stream:

[python]----------------------------------------

SENSOR COORDINATE = 0

MEASURED RESISTANCE..... More

Print this item

  Modify Class on Button Click
Posted by: KDog - May-08-2021, 10:00 PM - Forum: GUI - Replies (4)

I have a program that shows the live webcam feed from my laptop. It uses Tkinter and OpenCV.
I would like to flip the live video when a button is pre..... More

Print this item

Exclamation URGENT: How to plot data from text file. Trying to recreate plots from MATLAB
Posted by: JamieAl - May-08-2021, 07:00 PM - Forum: Homework - Replies (4)

I have the following data saved from a MATLAB code and they have the following form:
[quote]0,0.001,0.002,0.003,0.004,0.005,0.006,0.007,0.008,0.009,0..... More

Print this item

  Printing Object Names
Posted by: JoeDainton123 - May-08-2021, 06:15 PM - Forum: General Coding Help - Replies (5)

Hello all

I am slowly moving ahead with my python journey. I wanted to ask the following regarding Object Oritentation.

Question 1)

I have c..... More

Print this item

  slideShow App
Posted by: Rubberduck - May-08-2021, 04:50 PM - Forum: General Coding Help - Replies (4)

Hi There,
I'm Rubberduck and an absolut beginner with python but I hope with your great help I become a solid python programmer and learn this fascin..... More

Print this item

  list box select event triggers when selecting another listbox
Posted by: Roshan - May-08-2021, 04:20 PM - Forum: GUI - Replies (1)

Hi !

I have 2 list box.

i have attached event with both list box.

but after 1st click in both list box, when i click any list box both event ..... More

Print this item

Exclamation urgent , Python homework
Posted by: alm - May-08-2021, 03:53 PM - Forum: Homework - Replies (2)

This is what I am supposed to do :



(Anagrams) An anagram of a string is another string formed by rearranging the letters in the first.
Write ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  IP address for users 8 hours ago Robots Ruth_Hernandez Networking
  Merge video with subtitle... 9 hours ago Pavel_47 OtiliaGen General Codin...
  Opencv findContours Q Yesterday, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
Most views
  The best Prog... 580458
  Tutorial Requ... 519860
  Web Scraping ... 442794
  Newbie with P... 387004
  New Users Int... 386705
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
JulioLet Today
aellatsz9602 Yesterday
cruisesfares Yesterday
azam Yesterday
zcharlesoogleto9533 Yesterday

User Panel Messages

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