Some python general tools.
Unstabler version (NOT RECOMMENDED)
pip install josiauhtools
Here's what you can do with JosiauhTools!
Explanation:
TL;DR: Prints "i got", and the result of running "foo" (bar)
Will read
Runs a function called "foo", which will return "bar". After that, it runs "bar", which will print "i got bar", where bar was retrieved from "foo".Code:
from josiauhtools import synx
def foo():
return 'bar'
def bar(p):
print("i got " + p)
synx.then(foo, bar)
You can find some in the tests folder!