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 62 online users.
» 0 Member(s) | 58 Guest(s)
Google, AOL, AOL

Latest Threads
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
44 minutes ago
» Replies: 9
» Views: 461
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,784
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

 
  ImportError with numpy
Posted by: stylingpat - Feb-08-2021, 11:53 PM - Forum: General Coding Help - Replies (7)

Hey guys, I'm new to Python but not new to coding, I was coding HTML/CSS in notepad back in the 90s haha.

Anyways, so I thought I had Python insta..... More

Print this item

  Short code for EventGhost not working
Posted by: Patricia - Feb-08-2021, 07:59 PM - Forum: General Coding Help - Replies (8)

Hi Guys. I'm just starting to learn Python
I have a short script that is supposed to play a random wav file in a folder but only between 9 and 5
It..... More

Print this item

  returning an error code
Posted by: Skaperen - Feb-08-2021, 06:55 PM - Forum: News and Discussions - Replies (8)

my function that works on the file system should inform the caller what error it encounters and where. the where would just be the path in a str. i ..... More

Print this item

  Help with this code
Posted by: ButtNut_Squash - Feb-08-2021, 03:45 PM - Forum: General Coding Help - Replies (3)

Can someone help me with this? I'm not sure what I have done wrong.

Exercise 5.2: Write a program that repeatedly prompts a user for integer num..... More

Print this item

  Cant Download Images from Unsplash Website
Posted by: firaki12345 - Feb-08-2021, 02:35 PM - Forum: Web Scraping & Web Development - Replies (1)

Good Evening Everyone

So I am trying to download all wallpaper images from unsplash, got their API link from the network tab in Firefox. (It loads ..... More

Print this item

  python matplotlib groupby
Posted by: okpython - Feb-08-2021, 11:09 AM - Forum: General Coding Help - No Replies

I am trying to use matplotlib to plot the data to mimic the behaviour in the excel screenshot below. I am not able to groupby twice, subsequently, I a..... More

Print this item

  GitHub Actions to guard your workflow
Posted by: elizabethlvova - Feb-08-2021, 10:46 AM - Forum: News and Discussions - No Replies

Read an article on how to use the GitHub Actions Evrone wrote to run rubocop, brakeman, reek, fasterer, h..... More

Print this item

  Student grader and sorter for assignment
Posted by: RazeAD - Feb-08-2021, 08:39 AM - Forum: Homework - Replies (7)

Can someone please help me, currently I am writing a code for an assignment that extracts the marks and the matrix number from a .txt file and grade t..... More

Print this item

  Why is it printing "None"?
Posted by: thortank - Feb-08-2021, 08:10 AM - Forum: General Coding Help - Replies (7)

Hello everyone,
I just started learning python yesterday, and I created a function creating a random password with small letters and some numbers.
[..... More

Print this item

  PyQt animation
Posted by: Rohan - Feb-08-2021, 05:00 AM - Forum: GUI - No Replies

Can we create animation of elevator going up and down using PyQt?

Print this item

  Issue with 'if' and datetime
Posted by: blakefindlay - Feb-07-2021, 11:30 PM - Forum: General Coding Help - Replies (6)

I'd like my gui to have a different background based on the current hour and month. I've imported datetime. Its not returning any errors but returns..... More

Print this item

  .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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Using a For Loop to subtr... 44 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... 576636
  Tutorial Requ... 498695
  Web Scraping ... 440479
  Newbie with P... 384403
  New Users Int... 367744
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