chrsch
chrsch
WWindmill
Created by chrsch on 11/22/2024 in #help
import workplace script in inline skript
I have a script in my workspace: u/chrsch/useful def foo(): print('Common logic!') def main(): foo() I want to call the function foo() or also main() from my inline Skript: inline script from .useful import foo def main(persdata: str): foo() return persdata I get the error: TypeError: 'module' object is not callable What do I wrong?
3 replies