Ask coding questions

← Back to all posts
call python function from console or shell
h
Zegoverno
Voters
Zegoverno
Comments
hotnewtop
PikachuB2005

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

Zegoverno

@PikachuB2005 didn't work

PikachuB2005

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