'Creating and Using Modules Outside of Jupyter

I have been working in Jupyter Notebook/Python for a while now and want to modularize a lot of my scripts, so that I can just call them going forward and have data populate inside or outside of Jupyter.

import mynewdatatable

mynewdatatable.spinon()

-> Wonderful new table

In addition to modularizing my scripts, I'm also trying to get more comfortable in Visual Studio.

Where do I write my code in VS so that it can take advantage of all the modules in Conda and where do I save the modules I create so that they can be used by other scripts?

Also, any good resources on managing/understanding directories would be greatly appreciated.


Additional Details

  • OS: Windows


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source