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: pllrdvalery
» Forum threads: 38,723
» Forum posts: 175,517

Full Statistics

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

Latest Threads
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
56 minutes ago
» Replies: 9
» Views: 462
A coding beginner needs h...
Forum: General Coding Help
Last Post: paul18fr
Today, 08:55 AM
» Replies: 1
» Views: 320
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,664
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,020
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,372
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,923
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,695
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,785
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,928
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,484

 
  Sum of list items
Posted by: tristanfermat - Feb-06-2021, 01:42 AM - Forum: General Coding Help - Replies (2)

Hello everyone

If the sum of the numbers in the list1 is not 4000, it should give the closest value to 4000. The maximum number of elements of the ..... More

Print this item

  exception for EXDEV error
Posted by: Skaperen - Feb-06-2021, 12:19 AM - Forum: News and Discussions - Replies (2)

i am doing os.rename() or os.link() which may sometimes cause (on POSIX) system error EXDEV for which there is no specific exception def..... More

Print this item

  Subprocess window won't open on Mac
Posted by: blakefindlay - Feb-05-2021, 11:42 PM - Forum: GUI - Replies (1)

So I've been working on a rental form program for my work. Long story short I am using tkinter gui and I've set up a subprocess to open the specific ..... More

Print this item

  change for loop into numpy functions
Posted by: ToffiFaye - Feb-05-2021, 10:26 PM - Forum: Data Science - Replies (1)

Hello,

I am having problems changing the following code including a for loop (it is running 1,5 hours by now with no solution yet) into a numpy fun..... More

Print this item

  Wiring DHT11 to Raspberry pi
Posted by: hcccs - Feb-05-2021, 10:02 PM - Forum: General Coding Help - Replies (3)

I'm struggling with this simple setup with DHT11. I have wired in the 3-wire DHT11 sensor like this on my RP 2 model B version 1:
Vcc > pin 2 (5V)
G..... More

Print this item

  Determine number of all the immediately adjacent points in python
Posted by: zackk - Feb-05-2021, 09:12 PM - Forum: General Coding Help - Replies (1)

I have grid of point and want to calculate number of red and blue point surrounded by each point

for example

For point( X marked )

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

Print this item

  how to resize image in canvas tkinter
Posted by: samuelmv30 - Feb-05-2021, 06:42 PM - Forum: GUI - Replies (2)

i am trying to resize the image to fit the window as i adjust the size. i dont know where im going wrong please help


[python]from tkinter import ..... More

Print this item

  Kivy pop up shows duplicate buttons from main screen
Posted by: CEKinch - Feb-05-2021, 05:40 PM - Forum: GUI - No Replies

I'm very new to Kivy and I've hit a wall with popups.

I have a main screen which has four buttons in a float layout. On press down I want the 'MOVE..... More

Print this item

  Understand what it means that everything in Python is an object...
Posted by: bytecrunch - Feb-05-2021, 05:22 PM - Forum: General Coding Help - Replies (8)

Hello everyone,

I am new to the forum and relatively new to Python. I understand that Python considers everything as an "object". Lists, variables,..... More

Print this item

  Installing Modules / packages
Posted by: Oshadha - Feb-05-2021, 04:33 PM - Forum: General Coding Help - Replies (1)

Is there any script to make python install a pip module?

Ex :

try:
    import Module
except:
    install Module

Print this item

  What type of Artificial Intelligence for Detecting Early Signs of Diseases via Image
Posted by: Sidar - Feb-05-2021, 03:33 PM - Forum: Data Science - Replies (3)

What type of Artificial Intelligence for Detecting Early Signs of Diseases via Image Analysis?
I am seeking to build an Artificial Intelligence via P..... More

Print this item

  Counting number of words and organize for the bigger frequencies to the small ones.
Posted by: valeriorsneto - Feb-05-2021, 03:33 PM - Forum: General Coding Help - Replies (1)

Hi, everybody
I am doing a systematic literature review and I copied all the references used in my sample. I would like to identify the most common w..... More

Print this item

  convert set to a list type in python
Posted by: firaki12345 - Feb-05-2021, 02:52 PM - Forum: Web Scraping & Web Development - Replies (2)

hi everyone so i am scraping amazon website, but having trouble to turn every absolute link into a list type? what am i doing wrong.. I am only gettin..... More

Print this item

  Converting tkinter listbox into list
Posted by: BigSwiggy - Feb-05-2021, 01:30 PM - Forum: General Coding Help - Replies (6)

Hi all,

I am using the below code (PART A) to allow a user to enter words.

Then, I want to save what a user entered into a normal list. Indeed..... More

Print this item

  How can I sort my column so that NaN is at the bottom?
Posted by: soft - Feb-05-2021, 12:35 PM - Forum: Homework - Replies (3)

I tried sort_values to put na as last position. But it is not working. I do not wish to remove the NaN fields as it will affect my data analysis later..... More

Print this item

  What is the Python Implementation for This?
Posted by: pythonflea - Feb-05-2021, 11:49 AM - Forum: General Coding Help - Replies (5)

I have a Windows text file with the following info inside it:

25 05 38 26 53 04
07 45 50 33 19 34
55 25 21 30 09 39
26 11 30 12 13 41
32 23 44 ..... More

Print this item

  merge two dataframes with different number of rows
Posted by: dawid294 - Feb-05-2021, 10:20 AM - Forum: General Coding Help - Replies (5)

Hello , please can you help me with merge. i tried find anything in forum but i did not find it.
i have two dataframes and i would like to merge the..... More

Print this item

  Drawn line shift when that surface is copied to another in pygame
Posted by: Leo_Red - Feb-05-2021, 09:46 AM - Forum: Game Development - Replies (4)

Hi, I am currently making a pixel editor. And I was making the drawing tools, when I hit a problem. I was making a system where it will show how the c..... More

Print this item

  Help using Flask for a countdown on webpage
Posted by: ZenBuddhism - Feb-05-2021, 02:47 AM - Forum: Web Scraping & Web Development - Replies (1)

So using python and Flask (Unless theres something better than Flask) I want to make a count down on a webpage. For example counting from 100 down to ..... More

Print this item

  Matplotlib scatter plot slider with datetime
Posted by: sonny - Feb-05-2021, 02:31 AM - Forum: Data Science - No Replies

I have a matplotlib scatter plot with dates on the x axis, that updates with a slider, very similar to the example linked ..... More

Print this item

  How to use vectorization instead of for loop to improve efficiency in python?
Posted by: PJLEMZ - Feb-05-2021, 02:14 AM - Forum: General Coding Help - Replies (4)

Hi all!

I've been having trouble with the run time of my code as it is taking too long. I imagine this is because I am using for loops which is wha..... More

Print this item

  Button Plays Random .MP3 File From Folder
Posted by: blufacebaby - Feb-05-2021, 01:33 AM - Forum: GUI - Replies (2)

I have been trying to figure this out for a while, and can't find a solution to why it won't work. I'm pretty new, and this is probably an easy fix, b..... More

Print this item

  how to create a tool with tkinter to convert img to text
Posted by: rachidel07 - Feb-04-2021, 11:22 PM - Forum: General Coding Help - Replies (3)

hello!
i created a script who pyautogui.locatOnScreen() for a specific image and takes automatically a screenshot, . and he convert the image to t..... More

Print this item

  Using RNN for unseen data
Posted by: hobbyist - Feb-04-2021, 09:48 PM - Forum: General Coding Help - Replies (1)

Hello,

I am using this RNN python code from this github website: https://github[url=https://python-forum.io/thread-32355.html]..... More

Print this item

  Python script to summarize excel tables, then output a composite table? i'm a total n
Posted by: surfer349 - Feb-04-2021, 09:15 PM - Forum: General Coding Help - Replies (1)

So I have a production Limits management system, basically a huge table that has rows for each permutation of [Plan | subgroup | Tool | Item | Statist..... More

Print this item

Bug [for a h/w project] How to save and get back dictionary in a .json file in TinyDB.
Posted by: adithya_like_py - Feb-04-2021, 08:09 PM - Forum: Homework - Replies (4)

hi
I am trying to save a dictionary named Dict on a .json file using TinyDB. The rest of the program is working except the part wherein the Dict is s..... More

Print this item

  Need better solution for time-delayed printing
Posted by: Arimathean - Feb-04-2021, 07:07 PM - Forum: General Coding Help - Replies (6)

You have my sincerest apologies if my question is terribly basic. I am very new to Python, but I have tried to exhaust all of my resources for the la..... More

Print this item

  "tkinter.TclError: NULL main window"
Posted by: Rama02 - Feb-04-2021, 05:44 PM - Forum: GUI - Replies (1)

Hi, I am creating a quiz as part of an assignment that is set for my course work. Here is my actual code for the quiz:

[python]global score

imp..... More

Print this item

  IDLE editing window no longer works
Posted by: chris1 - Feb-04-2021, 05:10 PM - Forum: General Coding Help - Replies (2)

IDLE editing window no longer works

after installation of Python 3.9 on Windows 10, IDLE worked fine

As PIP was not recognized and I could not..... More

Print this item

Exclamation Python and Django Developer role - fully remote role
Posted by: RobertMD - Feb-04-2021, 02:44 PM - Forum: Jobs - Replies (6)

Hi everyone,

I am recruiting for a Pyhton Developer with Django experience for a FinTech company in Europe.

The role is paying approx.€55,000 - ..... More

Print this item

  EOF while parsing
Posted by: Leo_Red - Feb-04-2021, 02:19 PM - Forum: General Coding Help - Replies (2)

Hi, so I am starting to get some unusual errors on some of my python scripts. it randomly giving an error like "IndentationError: expected an indented..... More

Print this item

  Online editing
Posted by: xtergo - Feb-04-2021, 02:16 PM - Forum: News and Discussions - Replies (5)

Hi

I'd like to know if there is some kind of environment for users to write python from Web (execution would also be good).
Similar to https://www..... More

Print this item

  ws server exit after getting 1 connection
Posted by: korenron - Feb-04-2021, 01:40 PM - Forum: General Coding Help - Replies (3)

Hello ,

this is my WS server test
just listen and wait for message with '29' then send "ok" \ "false" acoording to the request

[python]import asy..... More

Print this item

  Array search and filter
Posted by: tech_frk - Feb-04-2021, 12:12 PM - Forum: General Coding Help - Replies (6)

Hello experts,

I have an array as shown below with 6 common elements repeated for 20-100 entries and want to extract the elements with 'Power' in the..... More

Print this item

  python automation
Posted by: newcode - Feb-04-2021, 11:14 AM - Forum: General Coding Help - Replies (3)

i have a python file which when run opens a new python shell of its own.then i need to run commands in the python shell.collect results ,parse it and ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Using a For Loop to subtr... 56 minutes ago Anunderling deanhystad General Codin...
  A coding beginner needs h... Today, 08:55 Littlefish paul18fr General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  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...
  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
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576637
  Tutorial Requ... 498696
  Web Scraping ... 440479
  Newbie with P... 384403
  New Users Int... 367747
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 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
pllrdvalery Today
Littlefish Today
Noya_Yonatan Yesterday
Saipython555 Yesterday
Anunderling Yesterday

User Panel Messages

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