Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please give more "practical" examples, #98

Open
berrytsakala opened this issue May 19, 2022 · 1 comment
Open

Please give more "practical" examples, #98

berrytsakala opened this issue May 19, 2022 · 1 comment

Comments

@berrytsakala
Copy link

berrytsakala commented May 19, 2022

I can't understand what the example in the readme is trying to achieve.
I saw that other users are struggling and requesting info.
Can we have a practical, simple example?

e.g.

def main(*args):   sleep(3);print('after sleep')
def success(*args):   print('success', args);return 'ok'
def reject(*args):   print('fail')

print('before')
>>> what now? <<<
print('end')

I was expecting to see:

before
end

< sleeping ...>

after sleep
success ok

Thanks in advance,

@Bizarrus
Copy link

+1

Its hard to use it as python-newbie.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants