Where/how to add my own functions so I can import them in the Python Script Widget #6493
Replies: 1 comment
-
Adding libraries into the Python environment of Orange makes them importable. The location depends on the OS and installation. The easiest way to find it is to run the following in a Python Script widget:
This will output a list of folders. Putting scripts into any of them will make them importable. As an example, I get:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
Might be a trivial thing but I just can not figure it out.
I created a py-file containing a function that helps me to fix decimal issues in german datasets (conversion between comma and dot) and I want to be able to just import this function in the Python scripting widget. I saved the Py-file in the Orange/data folder where also other packages, such as pandas_compat and such can be found. Still, I get the error, that my module can not be found.
Any ideas on this?
Thanks in advance,
Merit
Beta Was this translation helpful? Give feedback.
All reactions