Skip to content
Sign upLog in
← Back to Community

call python function from console or shell

Profile icon
ZegovernoHacker
Voters
Profile icon
Zegoverno
Comments
hotnewtop
Profile icon
PikachuB2005

for the console, just import it. like from filename import functionname. Then you can call the function normally.

Profile icon
Zegoverno

@PikachuB2005
didn't work

Profile icon
PikachuB2005

@Zegoverno
can you link a repl and explain what you're trying to test?