ah, ok... thats the way (aha aha) i like it ;-)
Thx all!
User Profile
Collapse
-
As i understand it that's not exactly what I need...
Threats are parallel processes within a single file, aren't they?
What I want is the following:
I have the Files 'File1.py', 'File2.py', 'FileXY.py' ...
I start File1.py, and this File1 then starts File2.py, but it should go on to run (and not to wait for File2.py to finish). File2.py again starts File3.py and so on...
I don't need any result from these Files,...Leave a comment:
-
Start (multiple) parallel processes
Hi there,
How can i use os.popen or os.startfile to start a parallel running python script from within my running script?
i don't get the usage of these two -.-
with popen it seems as if the parent programm pauses and only the child programm is running, but i need both to run -.-
Code:run="python "+file_to_run os.popen(run)
-
-
That's it - nearly.
Is it possible to give additional parameters to the func=self.handl er ? (in addition to 'event')... i tried 'func=self.hand ler(matrix,i,j) ', but then the event is missing.
Or if not, is it possible to give the (new) text of the button as parameter, so that the new number can be inserted into the matrix?Leave a comment:
-
Assign return-value to unnamed, clicked button
How can I assign a value that is returned from a function to an unnamed button that just called the function?
Code:def felder_updaten(m): for i in range(9): for j in range(9): Button(mainframe, text=m[i][j], command=insert_number).grid(row=i, column=j, sticky=W+E)
Or, if it can't be done that way, how can I dynamically name 81...
No activity results to display
Show More
Leave a comment: