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 75 online users.
» 0 Member(s) | 67 Guest(s)
AOL, Google, Bing, AOL, Twitter

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

 
  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

  IronPython from CPython
Posted by: amasis - Feb-03-2021, 07:02 PM - Forum: General Coding Help - Replies (3)

Hello, guys...
My test framework and the whole project is developed in CPython, currently project needs to access C# Dlls to integrate with .NET.
I ..... More

Print this item

  How to use Selenium on EdgeHTML, when having WebDrivers in other location?
Posted by: euras - Feb-03-2021, 04:31 PM - Forum: Web Scraping & Web Development - Replies (2)

I want to launch Python script on EdgeHTML (Edge v.18 Legacy), using Selenium. But I face a problem to do a connection. I'm trying to launch it on job..... More

Print this item

  how to remove \n from file?
Posted by: shams - Feb-03-2021, 04:07 PM - Forum: General Coding Help - Replies (7)

This python code writing configuration file for getmail to retrieve the mail, in the first and last f.write code i use the "\n" to break the lines for..... More

Print this item

  Does a pandas have a date without a time?
Posted by: AlekseyPython - Feb-03-2021, 01:41 PM - Forum: Data Science - Replies (6)

When I create a series object, I specify the type without time: 'datetime64[D]'. But when I look at the data type of this series in the debugger, I se..... More

Print this item

  how to take a screnshot by Pyautogui automatically and randomly
Posted by: rachidel07 - Feb-03-2021, 01:12 PM - Forum: General Coding Help - No Replies

objective i want to extract text from image. i play a game which an icon appears randomly ,and there is a text(text as image) near to the icon from th..... More

Print this item

Question Trouble with Client/Server reverse Shell!
Posted by: Gilush - Feb-03-2021, 12:40 PM - Forum: Networking - No Replies

Hi all,

So i'm trying to create a reverse shell client/server program.
So far i'm able to listen for connections and execute the first command.
a..... More

Print this item

  creating a loop
Posted by: yk303 - Feb-03-2021, 10:53 AM - Forum: General Coding Help - Replies (2)

Hello,

I have a line of code that works fine for a single column in the data frame. I would now like to convert this so that it finds all the colum..... More

Print this item

  little parser-script crashes after doing good work for some time
Posted by: apollo - Feb-03-2021, 10:48 AM - Forum: Web Scraping & Web Development - No Replies

hello dear all - good day Smile

i have some code where i do not know why this permanently runs into an error...

[python]import requests
f..... More

Print this item

  Not getting email notifications
Posted by: CynthiaMoore - Feb-03-2021, 06:29 AM - Forum: Board - Replies (4)

I checked my profile options. In the Messaging and Notification section I have Default Thread Subscription Mode set to "Instant email no..... More

Print this item

  How to skip to a different line while importing a different script
Posted by: kat_gamer - Feb-03-2021, 01:24 AM - Forum: General Coding Help - Replies (2)

Hi! I was coding a program as a little side project that I work on in my spare time and I found a sort of, unwanted occurrence in my program. I want..... More

Print this item

  Pandas DataFrame Code Query
Posted by: eddywinch82 - Feb-02-2021, 11:45 PM - Forum: General Coding Help - Replies (6)

Hi there,

I have the following Python Code in Pandas, which I run in Jupyter Notebook :-

[python]import pandas as pd
import requests
from bs4 ..... More

Print this item

  Pyinstaller query
Posted by: spyf8 - Feb-02-2021, 11:37 PM - Forum: General Coding Help - Replies (2)

Is there anyway to install a python package completely offline if you have downloaded the entire gz package to your local machine?
I tried to downloa..... More

Print this item

  Clicker count increase by 1 each time
Posted by: blakefindlay - Feb-02-2021, 11:37 PM - Forum: General Coding Help - Replies (1)

Trying out making a clicker game and wondering what the likely simple fix to this is. I'm not quite sure how to approach it but I want to have the cl..... More

Print this item

  Remove extra count columns created by pandas groupby
Posted by: spyf8 - Feb-02-2021, 11:25 PM - Forum: Data Science - Replies (1)

Is there anyway to remove the extra count columns created by pandas groupby?

I'm doing a groupby nunique on multiple columns so it does the groupin..... More

Print this item

  Why won't my merge sort will not work?
Posted by: ggg - Feb-02-2021, 11:24 PM - Forum: General Coding Help - Replies (4)

I am practicing algorithms.
I don't understand why the below code is not working.
It is suppose to be merge sort.
Also I am confused on how to best..... More

Print this item

Photo Python won`t launch error
Posted by: newbieee - Feb-02-2021, 10:35 PM - Forum: General Coding Help - No Replies

Hi everyone!
Been having this problem last 3 days. Never had anything to do with this, decided to start learning python and run into problems straigh..... More

Print this item

  How to add a delay without using the sleep command
Posted by: MaxTyree - Feb-02-2021, 09:41 PM - Forum: Homework - Replies (12)

I'm working on an assignment in which I am supposed to output a sentence saying how many times the photointerrupter has been interrupted every 4 secon..... More

Print this item

  talib - RSI error
Posted by: sambanerjee - Feb-02-2021, 08:40 PM - Forum: General Coding Help - Replies (3)

I've been struggling trying to troubleshoot this - please let me know if you need more code / info - thanks

Error Message: [quote]TypeError: Argum..... More

Print this item

  Connecting to a web server with authentification
Posted by: arbiel - Feb-02-2021, 08:31 PM - Forum: Web Scraping & Web Development - No Replies

Hi

I'm trying to connect to the following page

https://www.happyvisio.com

This server requires authentification.

When I connect from a web..... More

Print this item

  multiprocessing and sharing object
Posted by: cyrduf - Feb-02-2021, 08:14 PM - Forum: General Coding Help - No Replies

Hi,

I want to define nested objects that can be read/written by several processes defined by multiprocessing module.
I search on some networks but..... More

Print this item

  Calling Input for Random Generation
Posted by: ScaledCodingWarrior - Feb-02-2021, 07:07 PM - Forum: General Coding Help - Replies (1)

Hey, I'm a returning python coder, but it's been a while since the last time I've done anything with functions. I was trying to make a GUI application..... More

Print this item

  Bitwise ~ Operator
Posted by: muzikman - Feb-02-2021, 05:24 PM - Forum: General Coding Help - Replies (10)

Can someone please explain why the following bitwise statement returns -11 and not -10? It does this with every number. Just negates it ..... More

Print this item

  Python - Import file sequence into Media Pool
Posted by: jensenni - Feb-02-2021, 05:00 PM - Forum: General Coding Help - Replies (1)

MacOS 10.13.2 | Python 3.6.8 | External API Application: DaVinci Resolve v15.3.1

Hi. I am working on some automation fo..... More

Print this item

  pairing in a list
Posted by: jakemace - Feb-02-2021, 03:53 PM - Forum: Homework - Replies (17)

I have an assingment which is about a chess tournament that has as many players and turns as you have given as input, and I need to update the rankin..... 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 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... 576647
  Tutorial Requ... 498719
  Web Scraping ... 440488
  Newbie with P... 384411
  New Users Int... 367797
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