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,421
» Latest member: zalexisshulzeo8879
» Forum threads: 38,829
» Forum posts: 176,075

Full Statistics

Online Users
There are currently 30 online users.
» 0 Member(s) | 25 Guest(s)
Bing, Google, Mojeek, AOL, AOL

Latest Threads
If I open a file write or...
Forum: General Coding Help
Last Post: noisefloor
5 hours ago
» Replies: 3
» Views: 72
a function to watch files
Forum: News and Discussions
Last Post: Skaperen
11 hours ago
» Replies: 3
» Views: 741
python re.finditer return...
Forum: General Coding Help
Last Post: Pedroski55
Today, 02:57 AM
» Replies: 8
» Views: 491
Exponential Number Conver...
Forum: General Coding Help
Last Post: DeaD_EyE
Jan-09-2026, 08:47 PM
» Replies: 4
» Views: 441
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
Jan-08-2026, 04:31 PM
» Replies: 14
» Views: 798
How to put my game loop i...
Forum: Game Development
Last Post: MarkHenry
Jan-08-2026, 12:47 PM
» Replies: 12
» Views: 7,747
Code failing to ask input...
Forum: Homework
Last Post: perfringo
Jan-08-2026, 06:35 AM
» Replies: 4
» Views: 721
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: OtiliaGen
Jan-07-2026, 07:13 AM
» Replies: 6
» Views: 1,031
Data Science
Forum: Data Science
Last Post: OtiliaGen
Jan-04-2026, 10:20 AM
» Replies: 4
» Views: 3,612
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Jan-02-2026, 12:32 PM
» Replies: 29
» Views: 17,371

 
  [SOLVED] Filling multidict from CSV file?
Posted by: Winfried - Oct-24-2020, 07:13 PM - Forum: General Coding Help - Replies (3)

Hello,

For some reason, the list that is filled from the CSV file is OK, but when printing the contents of the multidict, I get more than three val..... More

Print this item

  View and extend native python class
Posted by: PythonDev - Oct-24-2020, 06:53 PM - Forum: General Coding Help - Replies (2)

How do I view the code of a native python class to be able to extend it? Class would be FieldStorage of the cgi module.

Print this item

  Switch Frames
Posted by: Maryan - Oct-24-2020, 05:59 PM - Forum: GUI - Replies (2)

Any help is appreciated. I'm trying to create main window(quiz), on click start button I want to switch the frame(pagetwo)etc.

[python]from tkinter..... More

Print this item

  Can't open files
Posted by: Lass86 - Oct-24-2020, 05:30 PM - Forum: General Coding Help - Replies (5)

Hello everyone,

I keep running into this issue and after some research I still don't know what to do. I have used different IDE's and editors, but ..... More

Print this item

  Passing on values
Posted by: DurkVell - Oct-24-2020, 05:17 PM - Forum: GUI - Replies (4)

Hi, I'm new to Python and tkinter programming. I have tried to find an answer to my problem on this forum, but couldn't find it. This problem is surel..... More

Print this item

  saving issue on homework assignment
Posted by: russoj5 - Oct-24-2020, 04:26 PM - Forum: Homework - Replies (2)

Hi All,

Anyone have any experience with saving a python module on a Mac? I was doing a homework assignment and there were no issues. I saved the fi..... More

Print this item

  Tkinter font style
Posted by: ATARI_LIVE - Oct-24-2020, 04:01 PM - Forum: General Coding Help - Replies (2)

Here I have code:
[python]Label(window_1, textvariable=display_alarm_switch, font=("Ticking Timebomb BB", 30), fg=colorfg, bg=colorbg).place(x=x_pos,..... More

Print this item

  unexpected output
Posted by: asyrafcc99 - Oct-24-2020, 02:40 PM - Forum: General Coding Help - No Replies

def compile_data():
with open("dict.pickle","rb") as f:
tickers = pickle.load(f)

main_df = pd.DataFrame()

for count,ticker..... More

Print this item

  Anyone interested in joining a start-up let me know!
Posted by: JackTarsh - Oct-24-2020, 01:37 PM - Forum: Data Science - Replies (1)

Hi guys! I'm the CEO of a tech start-up and need the help of a developer. If anyone here is interested please let me know by replying or sending me a ..... More

Print this item

  define a variable using an if statement
Posted by: Margaridalopes - Oct-24-2020, 01:31 PM - Forum: General Coding Help - Replies (2)

I would like to define a variable using an if statement, for example:

a=0
b=1

if a = 0:
   c = b
 else:
   c = a
I know ..... More

Print this item

  repeating
Posted by: pastakipp - Oct-24-2020, 11:28 AM - Forum: Homework - Replies (1)

hello guys, when i run this code i can only change 1 item in the list, but i want to repeat the code untill all the three items in the list are change..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  If I open a file write or... 5 hours ago Pedroski55 noisefloor General Codin...
  a function to watch files 11 hours ago Skaperen Skaperen News and Disc...
  python re.finditer return... Today, 02:57 arbiel Pedroski55 General Codin...
  Exponential Number Conver... 01-09, 20:47 Tuurbo46 DeaD_EyE General Codin...
  Possible bug found, pleas... 01-08, 16:31 Hassher alexajames General Codin...
  How to put my game loop i... 01-08, 12:47 temlotresid6 MarkHenry Game Developm...
  Code failing to ask input... 01-08, 06:35 Phoenix_Narukami perfringo Homework
  sorting a lisr of file pa... 01-07, 07:13 Skaperen OtiliaGen News and Disc...
  Data Science 01-04, 10:20 Oshadha OtiliaGen Data Science
  Merge video with subtitle... 01-02, 12:32 Pavel_47 OtiliaGen General Codin...
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
Most views
  The best Prog... 580736
  Tutorial Requ... 522186
  Web Scraping ... 442909
  New Users Int... 388031
  Newbie with P... 387132
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+ 12117
buran 8197
snippsat 7399
deanhystad 6921
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
zalexisshulzeo8879 Today
SUMIATI Today
starboy25 Today
zabenjamitop8877 Yesterday
zanaaliepetrovz6060 Yesterday

User Panel Messages

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