Posted By

eristoddle on 07/05/11


Tagged

python pygtk grun


Versions (?)

Run PyGtk with grun


 / Published in: Python
 

  1. all of these work so I can use them to interact
  2. from grun import grun
  3.  
  4. print grun("Do you want to continue ?")
  5.  
  6. def working():
  7. yield 0.0
  8. yield 0.4
  9. yield 0.8
  10. yield 1.0
  11.  
  12. grun( working() )
  13.  
  14. @grun
  15. def ask_login(login, passwd_password):
  16. """ Just enter your login and password """
  17. return login, passwd_password
  18.  
  19. print ask_login(login="marc")

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: eristoddle on July 5, 2011

Still playing with things from inside LEO editor. Can't get all the tags to upload.

You need to login to post a comment.