r/learnpython • • 27m ago

Where should I store user created modules?

Good morning,

I use conda environments with pandas for updating product information and data analysis.

I use Windows 11 and Fedora, but am more often using Windows.

I want to start creating and storing my own modules and packages for ease of use on my own machine for private use.

Is there a dedicated storage location for user created modules as there is for say Powershell 7?

I've asked chatgpt and searched google but a lot of the information is conflicting.

Are there dedicated locations and methods of retrieval depending on OS used?

1 Upvotes

2 comments sorted by

•

u/ninhaomah 20m ago

Create functions/ classes and import ?

•

u/AlexMTBDude 6m ago

Yeah, it's called "Python Packaging" and here are the docs: https://packaging.python.org/en/latest/