You can buy this project and download/modify it how often you want.
bar = 1 def foo(): return 2 bar and foo()