简体   繁体   中英

Where do I put my .py/project files when I create an environment with conda, does it go in the conda environment?

Okay so I created a conda environment conda create --name myfirstenv then I did conda activate myfirstenv , and installed a bunch of packages like openpyxl and jupyter notebook and whatever. So where do I place my files, like let's say I create an automation.py file which does some automation with csv reader or whatever, do the files go inside the myfirstenv environment?

No, your environment folder contains the dependencies and python execute file to run your code. As for your project files, it can be anywhere. When you want to run the files, you active the environment to use the python and the dependencies inside of it to run the files.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM