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 41 online users.
» 1 Member(s) | 37 Guest(s)
Bing, Google, Mojeek, Gribouillis

Latest Threads
How to make ball stay wit...
Forum: General Coding Help
Last Post: SledgeNE
1 hour ago
» Replies: 1
» Views: 46
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: Skaperen
6 hours ago
» Replies: 4
» Views: 282
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
7 hours ago
» Replies: 0
» Views: 27
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: 116
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: 387
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

 
  .grid buttons
Posted by: AnunnakiKungFu - Feb-07-2021, 11:09 PM - Forum: GUI - Replies (3)

So, I keep having trouble with this and when I ask on the Python FB groups, they can't seem to get what I am asking. Maybe I am asking it wrong? Anywa..... More

Print this item

  /home/pi/.local/bin is not on PATH
Posted by: hcccs - Feb-07-2021, 09:51 PM - Forum: General Coding Help - Replies (3)

I installed w1thermsensor and it says that
library /home/pi/.local/bin is not on PATH and I should consider adding it.
Should I add it to $PATH or s..... More

Print this item

  Creating guest list manager
Posted by: nickster11 - Feb-07-2021, 09:42 PM - Forum: Homework - Replies (1)

Hello I am currently having issues with my homework assignment, here are the instructions.

Create a list at the top of the program with three names,..... More

Print this item

Photo i want to locate an image according to the mouse position
Posted by: rachidel07 - Feb-07-2021, 09:23 PM - Forum: General Coding Help - Replies (1)

i want to to locate an image on screen by "Pyautogui.locateOnScreen" but i want the region depend to the mouse. for example if the mouse in position [..... More

Print this item

  GitHub question
Posted by: AnunnakiKungFu - Feb-07-2021, 06:02 PM - Forum: News and Discussions - Replies (5)

I didn't see a specific section for this question, I think. Before I ask, please know that I am new to programming, I am not the smartest person in th..... More

Print this item

  Play fixed frequency sound in python 3
Posted by: jpezz - Feb-07-2021, 05:44 PM - Forum: General Coding Help - Replies (2)

I would just like to play a fixed frequency for a fixed period of time to the default speakers (HDMI or other) on a RP3 running wheezy with eventual p..... More

Print this item

  Dataframe extract key values
Posted by: danipyth - Feb-07-2021, 03:52 PM - Forum: General Coding Help - No Replies

Given:
you have two columns ID , Status

ID 1 has the following Status value
[output]
[
{
'id': 0,
'name': 'PASS',
'description..... More

Print this item

  I guess it's about print
Posted by: tsavoSG - Feb-07-2021, 02:41 PM - Forum: General Coding Help - Replies (2)

code:

[python]money=1000
取款=int(input('请输入取款金额:'))
if 取款<=money:
print('请拿好钞票',取款)
print('账户余额为:', money = money-取款)
else:
print(..... More

Print this item

  websockets help :/
Posted by: kimblee - Feb-07-2021, 01:57 PM - Forum: Networking - Replies (3)

hello everyone,

so i've been trying to improve my skill with websockets, i tried to make a listener for chat42.online but no matter what i did i ke..... More

Print this item

  Login to NordVPN on Linux with python script
Posted by: AGreenPig - Feb-07-2021, 11:35 AM - Forum: General Coding Help - Replies (2)

Hello! I am fairly new to both python and Linux so forgive me if my code is bad or this is in the wrong Forum.
My Problem:
I am on a Kali Lin..... More

Print this item

  Can someone please help me write the code
Posted by: Ram - Feb-07-2021, 11:29 AM - Forum: Homework - Replies (8)

Hei, I am beginer in python. Can someone please help me write the code for below.
There are 150 apples on a tree. They are increased by 15% every wee..... More

Print this item

  Needing help with something to do with my assignment.
Posted by: TomSellers - Feb-07-2021, 02:38 AM - Forum: Homework - Replies (4)

I'm doing my GCSE OCR 20 hour coding task and have been told to just spend 20 hours on one of the 4 topics we could choose from. I chose to pick a 2 p..... More

Print this item

  Special Methods - what are they exactly?
Posted by: bytecrunch - Feb-06-2021, 11:44 PM - Forum: General Coding Help - Replies (1)

Hello Everyone,
I am trying to fully grasp what special methods are. In general, methods are functions which are defined inside a class, at least I b..... More

Print this item

  terminal to gui
Posted by: giorgosmarga - Feb-06-2021, 09:20 PM - Forum: GUI - No Replies

I have 2 scripts scriptA and scriptB.Using multithreading i want to call scriptA and print sometihng on the terminal and I want to get that something ..... More

Print this item

  Problem Getting Pip To Work Behind Linux Proxy
Posted by: joedirgy - Feb-06-2021, 07:57 PM - Forum: General Coding Help - No Replies

Hello,

I am just wondering if someone can help me get pip to work behind network proxy on Linux. If I configure Linux environmental variables I can..... More

Print this item

  Trouble reading files using pyexcel
Posted by: codebeacon - Feb-06-2021, 06:28 PM - Forum: General Coding Help - Replies (2)

I was able to fix the issue, I realized I accidentally type casted a variable! In terms of my other question though: should I use the [python]with ope..... More

Print this item

  look at first letter in list and append word for assertion
Posted by: mapypy - Feb-06-2021, 03:41 PM - Forum: Homework - Replies (3)

Hi,

I have a list of names, such as: words=['cat', dog', 'lion','snake', 'fox']

I then want to write a function that looks at the words that st..... More

Print this item

Question Use builtins variable for single entry point. Good Idea or not?
Posted by: Nab - Feb-06-2021, 12:34 PM - Forum: Code Review - No Replies

Hello!

There is a QT project. It includes several services and all sorts of constants, flags and states that are used throughout the project.
For ..... More

Print this item

  Simple calculation using datetime
Posted by: mapypy - Feb-06-2021, 09:13 AM - Forum: Data Science - Replies (2)

Hi, How can i calculate age using date time without hardcoding current year? The way I want to solve and validate is as follows:
[python]
from date..... More

Print this item

  How to add previous date infront of every unique customer id's invoice date
Posted by: ur_enegmatic - Feb-06-2021, 07:34 AM - Forum: General Coding Help - Replies (1)

Im trying to add a previous date cloumn in my current df where every infornt of every unique cust_id i ndeed to populate the previous date based on in..... More

Print this item

  Return both key and value by calling only dict value
Posted by: mapypy - Feb-06-2021, 07:31 AM - Forum: General Coding Help - Replies (3)

Hi I want to write a 3-5 line function, very small that returns state name and code as a tupple. e.g. if input "CA" return "California", "CA"

[pyth..... More

Print this item

  How to set the font size for a pandas table?
Posted by: AlekseyPython - Feb-06-2021, 03:34 AM - Forum: Data Science - No Replies

I'm using the pandas.Series.plot.bar method to plot chart with a set table parameter True. In this case, the table is displayed, but font size very sm..... More

Print this item

  Python Application Not Finding Excel File
Posted by: dseals26 - Feb-06-2021, 03:12 AM - Forum: GUI - Replies (2)

Hey Guys,

I am a newbie in Python! I am trying to import my excel data in python! But I always keep getting this error! I don't know what to do! I..... More

Print this item

  Problem with an iterator
Posted by: grimm1111 - Feb-06-2021, 02:11 AM - Forum: General Coding Help - Replies (9)

Hello,

I am trying to write a chess program that grabs a random chess position, sends the position to an evaluation engine, and returns both the po..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to make ball stay wit... 1 hour 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... 510515
  Web Scraping ... 441992
  Newbie with P... 386013
  New Users Int... 377090
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