Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Thread not Working
Post: RE: Thread not Working

(Aug-03-2021, 02:52 PM)deanhystad Wrote: I'm not ready to say can't, but I do not see a clean way to get around the problem input() blocking whatever process it runs in. The most obvious solution i...
michaelserra General Coding Help 4 3,454 Aug-04-2021, 10:08 AM
    Thread: Thread not Working
Post: RE: Thread not Working

(Aug-01-2021, 04:22 PM)deanhystad Wrote: Your code is blocking waiting for the user to press the enter key, so the "while timer:" loop never loops. "while timer:" doesn't make much sense either bec...
michaelserra General Coding Help 4 3,454 Aug-03-2021, 11:12 AM
  Thumbs Down Thread: Thread not Working
Post: Thread not Working

I've created a CLI little adventure game written in Python. I've defined a function that returns False whether time.sleep() is done and then I created a thread that allows the user to input the answer...
michaelserra General Coding Help 4 3,454 Aug-01-2021, 02:46 PM
    Thread: [SOLVED] Help with Threads
Post: RE: Help with Threads

(Jul-22-2021, 04:43 PM)deanhystad Wrote: Your limit thread will exit as soon as len(li) <= 5. Probably immediately.Thank you! Thanks to this advice I found the error!
michaelserra General Coding Help 3 2,006 Aug-01-2021, 02:21 PM
    Thread: [SOLVED] Help with Threads
Post: [SOLVED] Help with Threads

I'm hanging out with i/o bound stuff in Python and I created a little .py script wich contains three simply functions. import threading import time li = [] item = 0 def add_item(): global item ...
michaelserra General Coding Help 3 2,006 Jul-22-2021, 04:34 PM
    Thread: Pandas dictionary dataframe help
Post: RE: Pandas dictionary dataframe help

(Jun-18-2021, 09:16 PM)snippsat Wrote: Try this,i see your username in not just a string but a variable that get as argument from function. user_df = pd.DataFrame(credentials[username], index=[0])...
michaelserra General Coding Help 4 2,196 Jun-19-2021, 10:26 AM
    Thread: Pandas dictionary dataframe help
Post: RE: Pandas dictionary dataframe help

(Jun-18-2021, 08:24 PM)snippsat Wrote: Post code in code tag not image,same as you dos with error message. Try change to. user_df = pd.DataFrame(credentials['username'], index=[0])Edit: Ok i see you...
michaelserra General Coding Help 4 2,196 Jun-18-2021, 08:54 PM
    Thread: Pandas dictionary dataframe help
Post: Pandas dictionary dataframe help

I am developing a little program that stores user credentials in a dictionary and transfer them in a Pandas dataframe. Since the credentials are stored in a nested dictionary that begins with the user...
michaelserra General Coding Help 4 2,196 Jun-18-2021, 08:23 PM
    Thread: Python Nested Dictionary
Post: Thx a lot!

It worked, thx!
michaelserra General Coding Help 2 2,622 Apr-18-2021, 07:49 AM
  Lightbulb Thread: Python Nested Dictionary
Post: Python Nested Dictionary

I'm trying to create a little program that stores user-entered information in a nested dictionary and then converts it to a Pandas dataframe. The dictionary should look something like this: Credentia...
michaelserra General Coding Help 2 2,622 Apr-17-2021, 12:57 PM

User Panel Messages

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