User Profile

Collapse

Profile Sidebar

Collapse
Jogi
Jogi
Last Activity: Mar 31 '10, 12:37 PM
Joined: Mar 23 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Jogi
    replied to Start (multiple) parallel processes
    ah, ok... thats the way (aha aha) i like it ;-)
    Thx all!
    See more | Go to post

    Leave a comment:


  • Jogi
    replied to Start (multiple) parallel processes
    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,...
    See more | Go to post

    Leave a comment:


  • Jogi
    started a topic Start (multiple) parallel processes

    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)
    See more | Go to post
    Last edited by Jogi; Mar 29 '10, 08:23 PM. Reason: Partly solved

  • Jogi
    replied to Assign return-value to unnamed, clicked button
    Ok, i think that might work :D
    Thank you!
    See more | Go to post

    Leave a comment:


  • Jogi
    replied to Assign return-value to unnamed, clicked button
    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?
    See more | Go to post

    Leave a comment:


  • Jogi
    started a topic Assign return-value to unnamed, clicked button

    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)
    m is a 9x9 matrix (btw, it's a Sudoku-solver).
    Or, if it can't be done that way, how can I dynamically name 81...
    See more | Go to post
No activity results to display
Show More
Working...