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,279
» Latest member: ndx101
» Forum threads: 38,790
» Forum posts: 175,868

Full Statistics

Online Users
There are currently 39 online users.
» 0 Member(s) | 35 Guest(s)
Bing, Google

Latest Threads
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Today, 06:15 AM
» Replies: 4
» Views: 1,457
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Yesterday, 02:10 PM
» Replies: 2
» Views: 104
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Yesterday, 06:48 AM
» Replies: 0
» Views: 39
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:59 AM
» Replies: 11
» Views: 6,014
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:46 AM
» Replies: 2
» Views: 4,286
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 312
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 157
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 222
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Nov-18-2025, 04:13 PM
» Replies: 5
» Views: 3,120
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 266

 
  Pytest and rootdirectory
Posted by: Master_Sergius - May-31-2020, 06:02 PM - Forum: General Coding Help - Replies (4)

Hello.

I have a lot of tests and run with pytest. Some code (in product, not in tests) perform operations like os.chdir(some_dir), thus tests whi..... More

Print this item

  Log In Button Won't Click - Python Selenium Webdriver
Posted by: samlee916 - May-31-2020, 05:52 PM - Forum: Web Scraping & Web Development - Replies (2)

[python]
#import what I need
from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager
import time

#set my driver..... More

Print this item

  Help with Spotify Playlist
Posted by: Benji1995 - May-31-2020, 04:45 PM - Forum: General Coding Help - Replies (3)

Hi everyone,



first of all I must say I'm NOT a Python expert. In reality, I've never even used Python, but I know that it is a super powerful t..... More

Print this item

  Exercises -- Who does them? Do they matter?
Posted by: pav1983 - May-31-2020, 04:36 PM - Forum: News and Discussions - Replies (5)

I just have a question about python exercises?

1. Who does them?
2. Do they really matter to people?

I seem to get more experience from bui..... More

Print this item

  Uml modelling tool that generates Python code
Posted by: Emekadavid - May-31-2020, 03:28 PM - Forum: Bar - No Replies

Hi everyone. Please I am a student studying software development and have choose Python as my language. I am looking for an open source uml tool that ..... More

Print this item

  [HELP] Nested conditional? double condition followed by another condition.
Posted by: penahuse - May-31-2020, 02:42 PM - Forum: General Coding Help - Replies (25)

Im trying to learn python but struggling on this problem. I will be thankfull if anyone give me some help.


[python]while button1_pressed and button2..... More

Print this item

  how to draw dynamic moving scale and potting trace point on waveform in tkinter pytho
Posted by: sameer_1985 - May-31-2020, 01:52 PM - Forum: GUI - No Replies

I want to create this type of dynamic graph using tkinter python, But I don't want to use matplotlib or pyqt(because pyqt is paid). So there is any ot..... More

Print this item

  classes
Posted by: mp3909 - May-31-2020, 12:46 PM - Forum: General Coding Help - Replies (11)

So I am learning classes in python and I stumbled across something that did not make sense to me.
In the code below, when I change the name of the st..... More

Print this item

  Training Quiz Unsolved
Posted by: simonsadiq - May-31-2020, 12:33 PM - Forum: General Coding Help - Replies (2)

I'm relatively new to Python, trying to learn. One quiz I am trying to slove contains the following code:
The value of result at the end of code is g..... More

Print this item

  Coding Help
Posted by: simonsadiq - May-31-2020, 12:22 PM - Forum: General Coding Help - Replies (5)

For the following code:

my_string = "0123456789"
print(my_string[3])
I get the output '3', which I understand
but when I run:
[p..... More

Print this item

  random.choice() takes two positional arguments, but three were given.
Posted by: ShakeyPakey - May-31-2020, 12:16 PM - Forum: General Coding Help - Replies (5)

Hello.

In Python, I am using the random module. I have used the random.choice() method to randomly pick from two strings:

[python]
import r..... More

Print this item

  Applied Data Science with Python - homework 2.2 (Weather plotting)
Posted by: eyavuz21 - May-31-2020, 11:54 AM - Forum: Homework - Replies (4)

Hey all,

I have the following code below:

[python]from datetime import datetime
import pandas as pd
import matplotlib.pyplot as plt

data = pd.read_..... More

Print this item

  Numpy doesn't work in Spyder 4.1.3
Posted by: player1681 - May-31-2020, 11:43 AM - Forum: Data Science - Replies (1)

Hello everyone. I have just istalled Spyder 4.1.3 as defined here using conda install spyder=..... More

Print this item

  syntax error on return statement
Posted by: l_butler - May-31-2020, 11:19 AM - Forum: General Coding Help - Replies (5)

The code below is for checking if there is a winner in a game of tic tac toe. I am getting a syntax error on the return line, with "return" being high..... More

Print this item

  os.walk question
Posted by: DPaul - May-31-2020, 09:58 AM - Forum: General Coding Help - Replies (2)

Hi,
I am trying to understand the logic behind os.walk.
What I want to achieve is a list of dirs and subdirs and sub-subdirs. (the max is 3 dirs de..... More

Print this item

  1st Project Guess between 1 and 20
Posted by: MiNigle - May-31-2020, 09:35 AM - Forum: Code Review - Replies (4)

Hi, first time on python (only dabbled with VBA previously) and I've done the cliche guessing game (sorry!) Taken me a few days.

I've tried to go f..... More

Print this item

  Help with function and sep( , ) value
Posted by: drewbty - May-31-2020, 09:20 AM - Forum: Homework - Replies (12)

Hi

Function def_length takes a list as a parameter and returns the length of the list. You must use a loop in your solution. You must not use bui..... More

Print this item

  Why this reverse lookup function not working
Posted by: Emekadavid - May-31-2020, 05:11 AM - Forum: Homework - Replies (4)

Please, can someone help me explain why this reverse lookup is not working. If I input any of the values in the dictionary, it says not found. Baffled..... More

Print this item

  Nu-B Q on dropna([list])
Posted by: expat_th - May-31-2020, 02:43 AM - Forum: Data Science - No Replies

Hi,
Probably something stupid but I can't spot it.
[Python]
droplist = ['City','State', 'Zip', 'Property County', 'Property State']
#This works
..... More

Print this item

  counting characters in an object
Posted by: Skaperen - May-31-2020, 01:51 AM - Forum: General Coding Help - Replies (11)

i have a string (str,bytes,bytearray) and an object with one or more characters (str,bytes,bytearray,set,frozenset,list,tuple). the beginning of the ..... More

Print this item

  Edabit -- Support Needed
Posted by: pav1983 - May-30-2020, 09:58 PM - Forum: News and Discussions - Replies (1)

Hi, does anyone here use Edabit? If so, what do you think of it. The problems that are so-called 'very easy' don't seem as easy as what the category..... More

Print this item

  Programming for Everybody 5.2 assignment
Posted by: sanjaykumar11 - May-30-2020, 09:32 PM - Forum: News and Discussions - Replies (1)

I have upload python assignment 5.2 full solution in the video
Moderator: Links removed

Print this item

  String slicing
Posted by: divyansh - May-30-2020, 09:30 PM - Forum: General Coding Help - Replies (6)

str1="divyansh tiwari" # this is just a string

var1=str1[-1:-16:1] # in this i know that the slicing will start at -1 index that is the last index an..... More

Print this item

  Use if with and function?
Posted by: ibutun - May-30-2020, 05:42 PM - Forum: General Coding Help - Replies (5)

Hi members, i am new here and I have so many requests in phyton to learn... Please help me... i write a code like this but not working

[python]num ..... More

Print this item

  binance script
Posted by: torgny4 - May-30-2020, 05:00 PM - Forum: General Coding Help - Replies (3)

[color=#2ECC71]






def initialize(state):
state.counter = 0



@schedule(interval="1h",
symbol="BTCUSDT”)




If state.count..... More

Print this item

  Can the video calling feature be used from python telegram bot api?
Posted by: Kumarkv - May-30-2020, 01:34 PM - Forum: News and Discussions - No Replies

Dear All,

I would like to know if the video calling feature can be implemented in Telegram through python telegram api.

Thanks,

Print this item

  display content from left to right in QComboBox or QLineEdit
Posted by: mart79 - May-30-2020, 12:34 PM - Forum: GUI - Replies (2)

Hi all,

I have several QComboBoxes and QLineEdits on my UI, which can show different content depending on user selections.
However, when the user ..... More

Print this item

  Referrals
Posted by: pyzyx3qwerty - May-30-2020, 10:49 AM - Forum: Board - Replies (2)

What are referrals? How do you do them?

Print this item

  Odd numpy error with subtraction
Posted by: DreamingInsanity - May-30-2020, 09:25 AM - Forum: General Coding Help - Replies (5)

I have this function here which is an answer from a thread of mine a while ago.
[python]
def find_closest(color, rgb):
return rgb[np.argmin(np...... More

Print this item

  Drop Keys From Dictionary
Posted by: donnertrud - May-30-2020, 09:23 AM - Forum: General Coding Help - Replies (8)

Hi guys,

I got a dictionary with values ranging from 0.25 to -0.25. I am looking for a way, to automatically drop all keys that are either

0 < v..... More

Print this item

  UnBoundLocalError
Posted by: Seaninho - May-30-2020, 08:59 AM - Forum: General Coding Help - Replies (3)

Hello to everyone!

I'm trying to create a code using Python but I have a problem.
It gives me this error:
[error]File "/opt/miniconda3/bin/sfi..... More

Print this item

  _tkinter.TclError: image "pyimage2" doesn't exist
Posted by: Killdoz - May-30-2020, 08:14 AM - Forum: GUI - Replies (1)

[error]Traceback (most recent call last):
File "C:\Users\User\Desktop\програування\stickmen\mister mario goes to exit.py", line 331, in <module>
..... More

Print this item

  if the input is not number, let user input again
Posted by: teatea - May-30-2020, 07:28 AM - Forum: General Coding Help - Replies (14)

hi :) i am starting to learn python, and learning from Automating Boring Stuff With Python, then i tried to implement the knowledge and do something b..... More

Print this item

  File Opening
Posted by: Hitso - May-30-2020, 07:04 AM - Forum: General Coding Help - Replies (10)

I cannot open the file below. Both the .py file and the salesdata.csv are stored in the same directory.

This is the error :
FileNotFoundError: [Er..... More

Print this item

  Google Sheets API Error
Posted by: Connerb42 - May-30-2020, 06:45 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi I am high school senior and I want to do a small program for a school project.

I need to get information from a google sheet into my code. I fol..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My goal to be hired worki... Today, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... Yesterday, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... Yesterday, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... Yesterday, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... Yesterday, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python 11-18, 16:13 dutch mamta25 News and Disc...
  [SOLVED] Access keys and ... 11-17, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... 11-17, 08:44 Tuurbo46 Tuurbo46 GUI
Most views
  The best Prog... 579200
  Tutorial Requ... 511955
  Web Scraping ... 442147
  Newbie with P... 386229
  New Users Int... 379193
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+ 12109
buran 8196
snippsat 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
ndx101 Today
OtiliaBecker Today
NAGASOWMYAGUNDU Yesterday
shipa1autotransport Yesterday
eastnoob 11-19

User Panel Messages

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