I created a own __init__.py which call in a script.
Works just fine.
However, I renamed a module (all to lowercase), so a script obviously doesn't find the module.
Which raised the question, do you try to catch this error? o
Works just fine.
However, I renamed a module (all to lowercase), so a script obviously doesn't find the module.
Which raised the question, do you try to catch this error? o
import mymodule if mymodule.MyFunc: # MyFunc doesn't exist. myfunc doesor is this a case of 'you have to code correct'?