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,271
» Latest member: aminrony1999
» Forum threads: 38,787
» Forum posts: 175,856

Full Statistics

Online Users
There are currently 34 online users.
» 0 Member(s) | 29 Guest(s)
Applebot, Google, Bing, AOL

Latest Threads
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
6 hours ago
» Replies: 3
» Views: 162
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Yesterday, 11:47 AM
» Replies: 4
» Views: 153
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Yesterday, 08:44 AM
» Replies: 2
» Views: 120
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 165
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 347
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 66
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 112
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 357
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 204
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 315

 
  Not able to set up a virtual environment with venv
Posted by: mohanp06 - Oct-24-2020, 06:58 AM - Forum: General Coding Help - Replies (7)

I am new to Python. While going through the tutorials, I came to know that we should set up a virtual environment before installing any Python package..... More

Print this item

  Create new variable dependent on two existing variables
Posted by: JoeOpdenaker - Oct-24-2020, 04:52 AM - Forum: General Coding Help - Replies (6)

[python]
#create trial type to determine stimulus switching vs recurrent
def TrialType(Congruency):
if 'Congruency' = 'pCongruency' return 'True'
..... More

Print this item

  autocomplete working code sample not working...
Posted by: aviper4u - Oct-24-2020, 03:04 AM - Forum: General Coding Help - No Replies

hello,

I have followed the guide and even downloaded the source though I cannot get the autocomplete to work locally...
https://www.roytuts.com/au..... More

Print this item

  calling a function and argument in an input
Posted by: phillup7 - Oct-24-2020, 02:57 AM - Forum: General Coding Help - Replies (3)

hi I was wondering if anyone could help me with this for a personal prject I am working on
what I want to do is to call a function and an argument in..... More

Print this item

  name error with text based rpg code
Posted by: cris_ram415 - Oct-24-2020, 12:57 AM - Forum: General Coding Help - Replies (4)

I am getting a NameError in my text based rpg and I was wondering if anyone could help. Here's the code:

[python]
def chooseCoffee ():
coffee = "..... More

Print this item

  Python error for style2paint
Posted by: chainslinger - Oct-23-2020, 10:01 PM - Forum: General Coding Help - Replies (1)

Hi, this is the error I'm getting.
Style2Paints Customed Tensorflow Shifting to GPU.
[error]Traceback (most recent call last):
File "site-package..... More

Print this item

  RadioButton
Posted by: Maryan - Oct-23-2020, 09:15 PM - Forum: GUI - Replies (2)

When I run the app, all values are selected. How can I fix this?

self.Radio_Value2 = StringVar()
self.radb4 = Radiobutton(frame, value = 'Yes', te..... More

Print this item

  iteration
Posted by: d8a988 - Oct-23-2020, 09:12 PM - Forum: Data Science - Replies (2)

I am trying to remove the first item from a list at every iteration if when subtracted from the next number on the list will give a result that is equ..... More

Print this item

  Python linter Pylance: What does "(variable): List | Unbound" mean?
Posted by: Drone4four - Oct-23-2020, 08:13 PM - Forum: General Coding Help - Replies (1)

Hello Pythonistas!

I’m running VS Code. The default Python linter helps. I’m exploring an enhanced Python linter called Pylance. It’s highlighting ..... More

Print this item

  Buliding a dataframe with where conditions
Posted by: cspower - Oct-23-2020, 07:18 PM - Forum: Data Science - Replies (2)

I'm trying to build a data-frame from csv file by selecting only the rows where one column is = to a string and a 2nd column has no value. The code be..... More

Print this item

  Help with a random.randint choice in Python
Posted by: booponion - Oct-23-2020, 02:59 PM - Forum: General Coding Help - Replies (5)

import random

#This program is being written for a close friend of mine and I need help with the choice program, I need it to choose a random letter ..... More

Print this item

  How to read csv files parallay
Posted by: Mekala - Oct-23-2020, 02:22 PM - Forum: General Coding Help - Replies (2)

Hi,
I have multiple CSV files in the folder, I want to read them parallelly. Each file takes 1min to read and do some calculations. I want to read CS..... More

Print this item

  SystemError: error return without exception set!!!
Posted by: faryad13 - Oct-23-2020, 02:18 PM - Forum: General Coding Help - Replies (3)

Hi everybody

I am trying to read s0me data from an excel file in python. Here is a part of my code:

def main():


xl_element = ut..... More

Print this item

  Trying to play sound. Getting fatal error.
Posted by: giladal - Oct-23-2020, 01:59 PM - Forum: Game Development - Replies (1)

Hello guys.

I am creating a space invader sort of game and for some reason when the sound of the shooting or explosion is heard, right after the pr..... More

Print this item

  list subtraction
Posted by: d8a988 - Oct-23-2020, 01:06 PM - Forum: Data Science - Replies (3)

I separated a list into sublists and now I want to subtract the second list from the first one, the third from the second and so on.
The following co..... More

Print this item

  Pandas, How to trigger parallel loop
Posted by: Mekala - Oct-23-2020, 01:05 PM - Forum: General Coding Help - Replies (4)

Hi,
I have multiple CSV files in the folder, and I need to read each file and some calculation (like getting the first coulmn sum) and concate to res..... More

Print this item

  Upgrade pip error
Posted by: karunas - Oct-23-2020, 11:11 AM - Forum: General Coding Help - Replies (3)

I installed python 3.9 and I started getting pip version error when using it in edx dl

There was a problem confirming the ssl certificate: HTTPSCon..... More

Print this item

  Increase Numbers forever and need reset?
Posted by: ATARI_LIVE - Oct-23-2020, 10:30 AM - Forum: General Coding Help - Replies (4)

Here my code for the mouse click modes 0 = released, 1 = clicked, 2 = press and hold.

It's WORKS.

[python]
from tkinter import *

lp_id = pr..... More

Print this item

  sleep to half past the hour
Posted by: Skaperen - Oct-23-2020, 10:26 AM - Forum: News and Discussions - Replies (11)

a script needs to sleep to half past the hour. how would you do it?

Print this item

  Telegram Users Scrapper - Exclude UserPrivacyRestricted
Posted by: graphite2015 - Oct-23-2020, 05:43 AM - Forum: General Coding Help - No Replies

Hi expert coders,
I am using following python script to export Telegram Group users in .csv format.
It is exporting a csv file from the targeted pub..... More

Print this item

  Requests library failure in name resolution/Network is unreachable
Posted by: zazas321 - Oct-23-2020, 04:37 AM - Forum: General Coding Help - Replies (1)

Hello. I am using Requests library to make API requets to the internal server/database.
I am making requests as following:
[code]

while(1):
..... More

Print this item

  Guess your number
Posted by: joe_momma - Oct-23-2020, 02:46 AM - Forum: Code sharing - No Replies

tkinter script that knows the number you have chosen, pick a number between 1 and 63,127,255, or 511. Then answer if your number is in the displayed ..... More

Print this item

Star How to perform math function in different page of Tkinter GUI
Posted by: ravaru - Oct-23-2020, 02:45 AM - Forum: GUI - Replies (2)

[python]
from tkinter import *
from functools import partial

def raise_frame(frame):
frame.tkraise()

win = Tk()
win.geometry("400x30..... More

Print this item

  looks like i need to learn ...
Posted by: Skaperen - Oct-23-2020, 01:58 AM - Forum: Bar - Replies (7)

looks like i need to learn interfacing Python to C. just too many syscalls that are not implemented.

Print this item

Bug Help with the syntax
Posted by: pawelll3 - Oct-23-2020, 12:06 AM - Forum: General Coding Help - Replies (2)

Hi :) im new to python and tried to modifie someone elses code. When i run the debugger syntax error occured and i don't know how to handle that. (im ..... More

Print this item

  order to call Popen for 2 piped processes
Posted by: Skaperen - Oct-22-2020, 11:31 PM - Forum: News and Discussions - No Replies

when starting 2 processes with subprocess.Popen() and connecting then together with a pipe using the stdout=PIPE option and passi..... More

Print this item

  Get error message in a GAN neural network tutorial
Posted by: jdude50 - Oct-22-2020, 11:11 PM - Forum: Data Science - No Replies

I am taking a tutorial course in Generative Adversarial Networks with Python. I have been following along with the teacher. I have been executing the ..... More

Print this item

  [SOLVED] [requests] Why 404?
Posted by: Winfried - Oct-22-2020, 10:01 PM - Forum: General Coding Help - Replies (2)

Hello,

I'm learning how to use the "requests" module to download and parse web pages with Python3.

For some reason, I get a 404 when looping thr..... More

Print this item

  reading text file with gtts
Posted by: Nickd12 - Oct-22-2020, 09:37 PM - Forum: General Coding Help - No Replies

i am looking to retrieve contents that are in a file i am able to print the contents that i search but i am not able to use gtts to speak it.

[pyt..... More

Print this item

  How to search for specific string in Pandas dataframe
Posted by: Coding_Jam - Oct-22-2020, 07:19 PM - Forum: Data Science - Replies (1)

Hi, Smile
I'm trying to extract lines from my dataframe using Pandas in a specific column named Equipe_Junior. For now I have ben able to extrac..... More

Print this item

  lcd script
Posted by: JarredAwesome - Oct-22-2020, 06:38 PM - Forum: Code sharing - Replies (2)

Hey everyone,

I'm working on a function that helps phrase the values for a 16x2 char lcd. every 5 seconds the screen changes to a different 'page'...... More

Print this item

  Error on trying to use NLTK Punkt
Posted by: PythonDE - Oct-22-2020, 05:41 PM - Forum: Data Science - Replies (1)

Hi,

I have all NLTK packages loaded locally, however when I run the following commands in my source code i am getting errors:

import nltk
fro..... More

Print this item

  ERROR: Command errored out with exit status 1
Posted by: calesii - Oct-22-2020, 03:06 PM - Forum: General Coding Help - Replies (3)

Hi,
I am a freshman about coding things. I have just installed python 3.9. version. Now, I am trying to install jupyter notebook a hundred times. I w..... More

Print this item

  Python 2.7 - Help-me please!
Posted by: dansup - Oct-22-2020, 02:02 PM - Forum: Homework - Replies (3)

Guys, I'm studying python and if someone can help me solve these algorithms in python version 2.7, I will be grateful. Thank you!

Question 1:

Ma..... More

Print this item

  Time Series forecating with multiple independent variables
Posted by: Krychol88 - Oct-22-2020, 01:14 PM - Forum: Data Science - Replies (1)

Hi,

I am starting my journey with Data Science and I need you help to move forward.

I have the file with number of sold cars (76 different mod..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Graph Interpolate Difficu... 6 hours ago Tuurbo46 deanhystad General Codin...
  [SOLVED] Access keys and ... Yesterday, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... Yesterday, 08:44 Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 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...
Most views
  The best Prog... 579101
  Tutorial Requ... 511251
  Web Scraping ... 442066
  Newbie with P... 386128
  New Users Int... 378426
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 8196
snippsat 7389
deanhystad 6914
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
aminrony1999 Yesterday
fobby888 Yesterday
digitalboy346 Yesterday
ben9090o Yesterday
ViktoriaMetodieva Yesterday

User Panel Messages

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