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,941
» Latest member: Noya_Yonatan
» Forum threads: 38,722
» Forum posts: 175,508

Full Statistics

Online Users
There are currently 40 online users.
» 1 Member(s) | 33 Guest(s)
Applebot, Bing, AOL, Google, AOL, Noya_Yonatan

Latest Threads
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: Anunderling
2 hours ago
» Replies: 0
» Views: 40
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 04:28 PM
» Replies: 11
» Views: 4,285
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 733
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,607
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,072
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,576
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,403
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,598
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,540
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,701

 
  Problems with inserting images into an Excel File
Posted by: FightingFarmer - May-11-2021, 11:25 PM - Forum: General Coding Help - Replies (2)

When I add an image to the excel file, the excel file has unreadable content.

The excel file and the png file are both valid files.

openpyxl ..... More

Print this item

  tkinter - update/refresh treeview
Posted by: snakes - May-11-2021, 09:32 PM - Forum: GUI - Replies (5)

I've got a treeview widget that is supplied data from an sql database.

I've been trying all day to make it so when I add a row to the database tha..... More

Print this item

Exclamation getting a syntax error and i don't know why
Posted by: ilikedofs - May-11-2021, 09:08 PM - Forum: General Coding Help - Replies (10)

I've looked at the whole code and can't see what's wrong. please help me it's giving me a head ache!
[python]
food = ['donuts', 'pancakes', 'bacon', '..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Using a For Loop to subtr... 2 hours ago Anunderling Anunderling General Codin...
  403 Error Yesterday, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... 09-19, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
Most views
  The best Prog... 576477
  Tutorial Requ... 498340
  Web Scraping ... 440369
  Newbie with P... 384260
  New Users Int... 367351
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+ 12087
buran 8175
snippsat 7368
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 6
buran 3
Newest members
Noya_Yonatan Today
Saipython555 Today
Anunderling Today
Monir Today
atylerfraces2254 Yesterday

User Panel Messages

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