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,261
» Latest member: SledgeNE
» Forum threads: 38,785
» Forum posts: 175,843

Full Statistics

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

Latest Threads
How to make ball stay wit...
Forum: General Coding Help
Last Post: SledgeNE
2 hours ago
» Replies: 1
» Views: 46
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: Skaperen
6 hours ago
» Replies: 4
» Views: 284
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
7 hours ago
» Replies: 0
» Views: 28
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Yesterday, 06:38 PM
» Replies: 0
» Views: 51
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 06:02 PM
» Replies: 10
» Views: 228
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 03:33 PM
» Replies: 3
» Views: 117
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 202
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Nov-13-2025, 11:52 AM
» Replies: 6
» Views: 388
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Nov-12-2025, 07:26 PM
» Replies: 2
» Views: 133
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-12-2025, 10:11 AM
» Replies: 6
» Views: 266

 
  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

  how to avoid reapiting lines with locateonscreen
Posted by: rachidel07 - Feb-04-2021, 11:13 AM - Forum: General Coding Help - Replies (3)

hello !

there is any solution to avoid repetition lines in python when i search for many images on screen with Pyautogui.locateOnScreen()
because ..... More

Print this item

  optimization of identical lookup
Posted by: Skaperen - Feb-04-2021, 01:20 AM - Forum: News and Discussions - Replies (2)

if i have code like:

import os
...
if os.path.lexists((mypath):
    if os.path.isdir(mypath):
...
does the compiler in ..... More

Print this item

  continue statement
Posted by: Skaperen - Feb-04-2021, 12:24 AM - Forum: News and Discussions - Replies (2)

why is there a continue statement in Python? isn't it equivalent to a goto?

Print this item

  ModuleNotFoundError 'wget'
Posted by: Tuxedo - Feb-03-2021, 11:32 PM - Forum: General Coding Help - Replies (2)

Hi, I get a ModuleNotFoundError when trying to import wget in a Python program within Spyder. I'm using Anaconda in Windows 8. When I launch the Ana..... More

Print this item

  How to make curses.border() use A_BOLD atttribute?
Posted by: pjfarley3 - Feb-03-2021, 11:22 PM - Forum: General Coding Help - No Replies

For a window in a curses screen for which you want a box around the window border, one uses window.border() to populate the border.

However, there ..... More

Print this item

  I do not understand how to make the correction
Posted by: Led_Zeppelin - Feb-03-2021, 10:04 PM - Forum: Web Scraping & Web Development - Replies (1)

[python]
#!/usr/bin/env python
# coding: utf-8

# In[ ]:


import bs4
from urllib.request import urlopen as uReq
from bs4 import BeautifulSou..... More

Print this item

  Project to create music
Posted by: m270 - Feb-03-2021, 09:15 PM - Forum: Homework - Replies (6)

Good evening
I am a student and I have a computer project in python. The goal is to create music from a given score. So I tried to make the code bel..... More

Print this item

  disable subprocess.popen prompt echo
Posted by: paul18fr - Feb-03-2021, 08:58 PM - Forum: General Coding Help - Replies (1)

Hi all

When using subprocess.popen, program and argument echo in the prompt (see bellow): I've not figure out how to ..... More

Print this item

  Start stop button stack
Posted by: stergeol - Feb-03-2021, 08:03 PM - Forum: GUI - Replies (5)

Hello help me iam new in the world of tkinter and programming
I want in same window two button one start and one stop . If you push start call any pyt..... More

Print this item

  'int' object is not callable
Posted by: hcccs - Feb-03-2021, 07:39 PM - Forum: General Coding Help - Replies (5)

When testing an example Python program I get 'int' object is not callable


[python]
import time
import board
import Adafruit_DHT

# Initial ..... More

Print this item

  Integrate/import a gui code to my main.py
Posted by: penahuse - Feb-03-2021, 07:21 PM - Forum: General Coding Help - Replies (6)

Hi, need some help here.

I wrote a code that has a GUI base on pysimplegui.

This gui was a class in my maincode.py:

[python]class TelaPython:

..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to make ball stay wit... 2 hours ago nathanael SledgeNE General Codin...
  sorting a lisr of file pa... 6 hours ago Skaperen Skaperen News and Disc...
  conditional nested loops 7 hours ago Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... Yesterday, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue Yesterday, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... Yesterday, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
  why is the image not show... 11-12, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... 11-12, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
Most views
  The best Prog... 578975
  Tutorial Requ... 510517
  Web Scraping ... 441992
  Newbie with P... 386013
  New Users Int... 377091
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+ 12108
buran 8195
snippsat 7388
deanhystad 6910
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
SledgeNE Today
nathanael Yesterday
JamesFalkner Yesterday
stevecoh1 Yesterday
Bamboo Yesterday

User Panel Messages

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