Return to Snippet

Revision: 48549
at July 5, 2011 02:27 by eristoddle


Initial Code
all of these work so I can use them to interact
from grun import grun

print grun("Do you want to continue ?")

def working():
    yield 0.0
    yield 0.4
    yield 0.8
    yield 1.0

grun( working() )

@grun
def ask_login(login, passwd_password):
    """ Just enter your login and password """
    return login, passwd_password

print ask_login(login="marc")

Initial URL

                                

Initial Description

                                

Initial Title
Run PyGtk with grun

Initial Tags
python

Initial Language
Python