Hi,
I’ve several functions in an Python file. I want to call them in ST console.
I’ve a package folder (cmdline_tools) and in this folder is my “tools.py”.
So I can import this in console and can call all functions from this file:
[code]import cmdline_tools.tools as cl
import cmdline_tools.tools as cl
cl.func_name()cl.func_name()[/code]
Now I’m searching for a way, to have the import automatically by starting ST. I’ve tried the following:
In my package folder I’ve made a “init.py”. Here I make the space name for import as global.
global cl
import cmdline_tools.tools as cl
But it has no effect. - What do I wrong?