March 21st, 2005, 06:53 PM
Class to Application
I just have a quick question and I'm hoping someone can answer it soon. I'm working on my own Queue class which will work for any program that needs a queue. Here's my question:
If I were to use time.sleep() in my class (and yes the class is imported into the Python application), would the application running the class also pause? Or would (I'm hoping) it pause only the class itself?
[Off-topic]I just had a quick off-topic question. I noticed that my reputation dropped down to 0, is it possible that this happened because I recommended to someone to find a certain software through a file sharing software?
Last edited by †Yegg†; March 21st, 2005 at 07:10 PM.
March 22nd, 2005, 12:10 AM
The application will also pause.
To avoid this, you could start the function using time.sleep() in a new thread. Have a look at the modules thread and threading.
Hope this helps.
March 22nd, 2005, 06:40 PM
March 23rd, 2005, 02:14 AM
I think the number shows how many agree/disagree comments you can make in a day. If you only had one point, it would drop to zero when you made the comment. It should come back after 24 hours.
Originally Posted by †Yegg†
March 23rd, 2005, 11:37 AM
Ya, a little while after that post jacksasia's signature said to click that icon next to his name. That's when I realized what it did and how your reputation was set up.