Jun-13-2022, 03:23 AM
(Jun-12-2022, 01:56 PM)Larz60+ Wrote: Note: You can eliminate steps 7 and 8 as this will happen the first time MyPaths in imported into any of your scripts. I haven't tested outside of virtual environment, as, frankly, I always use a virtual environment ofr any new project, but this should work without.
Thanks, and I understand that if the class 'MyPaths' is included in a Python script it will create the paths if not already present. But how do I use the class in another scripts, without having to have all the code for the class ?
For example, in PHP, it is simply an "include" statement.