Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Is using while True loop good?
Post: RE: Is using while True loop good?

(Jul-03-2020, 09:49 AM)HarleyQuin Wrote: Sure, its also important to take into account the time it will take your function to complete. What sort of function are you using? Does it take long to exe...
escape_freedom13 General Coding Help 5 3,535 Jul-03-2020, 08:27 PM
    Thread: Is using while True loop good?
Post: RE: Is using while True loop good?

(Jul-02-2020, 04:36 PM)HarleyQuin Wrote: It would constantly loop so whilst it doesn't seem like the code would use up much resource it doesn't seem sensible. I'd at least add a time delay to loop ...
escape_freedom13 General Coding Help 5 3,535 Jul-02-2020, 11:16 PM
    Thread: Is using while True loop good?
Post: Is using while True loop good?

Hi, I've created a process in which I've used one while True loop for watch on a changeable variable. If the variable change something happens, otherwise the while loop rotates blank. This process...
escape_freedom13 General Coding Help 5 3,535 Jul-02-2020, 03:30 PM
    Thread: importing same python library in multiple custom module
Post: RE: import python library in custom module

(May-10-2020, 03:53 PM)deanhystad Wrote: I don't think this is a concern. As a test I import PySide2 which is a fairly large package Thank you bro. This nice test is very helpful for me to understa...
escape_freedom13 General Coding Help 6 3,836 May-10-2020, 07:01 PM
    Thread: importing same python library in multiple custom module
Post: RE: import python library in custom module

(May-09-2020, 07:40 PM)deanhystad Wrote: Python does not have include (which is what you are looking for). Each python module has to be valid. If scenario 2 was possible it would be really hard to...
escape_freedom13 General Coding Help 6 3,836 May-10-2020, 06:42 AM
    Thread: importing same python library in multiple custom module
Post: importing same python library in multiple custom m...

Hi All, Scenario 01: module: import time def printtime(): print(time.time())master program: import module module.printtime() print(list(module.time.gmtime()))Output will be: Output:158904...
escape_freedom13 General Coding Help 6 3,836 May-09-2020, 07:10 PM
    Thread: Using Python IDLE3 with Python 3.8
Post: RE: Using Python IDLE3 with Python 3.8

(Nov-18-2019, 03:40 PM)Gribouillis Wrote: Try typing in a terminal Output:python3.8 -m idlelib print("You are marvellous") while True: . . . . print("Thaaaaank Youuuuuu") I've created a des...
escape_freedom13 News and Discussions 2 1,858 Nov-23-2019, 02:09 PM
    Thread: Using Python IDLE3 with Python 3.8
Post: Using Python IDLE3 with Python 3.8

I'm using Linux Mint 19.1 I've alt-installed python 3.7.4 and 3.8.0 "idle3 is already the newest version (3.6.7-1~18.04)" Whenever I launch IDLE it starts with: Python 3.6.8 (default, Oct 7 2019, 12...
escape_freedom13 News and Discussions 2 1,858 Nov-18-2019, 03:39 AM
    Thread: Is mainloop() necessary?
Post: RE: Is mainloop() necessary?

(Sep-01-2019, 02:35 PM)Yoriz Wrote: IDLE is written in tkinter, running tkinter code in IDLE will use idle's mainloop. Best advice is not to use IDLE for tkinter code. Edit: yes mainloop is necessa...
escape_freedom13 GUI 2 12,742 Sep-01-2019, 02:49 PM
    Thread: Is mainloop() necessary?
Post: Is mainloop() necessary?

Henlo, I'm a noob to Python and Tkinter, learning things, Using Python 3.7.4 in a Windows PC, using default IDLE for programming. This is a simple test program for example to my question. -------...
escape_freedom13 GUI 2 12,742 Sep-01-2019, 01:06 PM

User Panel Messages

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