Hello Geeks!
I am wondering, what is the correct, and industry standard way to work on python project. To give a context, I am working at IT company as a Python developer (beginner). Till now, during my learning journey, I used python with Conda. I used Conda without any knowledge and followed random youtubers and their method of developing Python’s project. But now, I have just joined the organization and worked on some Python’s project. Actually, the way we are developing python’s project does not seem industry acceptable and professional way. We follow following steps when starting any new project. Provided that first we have installed Python globally for instance, version 3.9.
step 1: open project directory and in VS code’s terminal type following command
"C:UsersmynamePython3.9.1python.exe" -m venv project_env_name
here according to my understanding, we are creating project specific virtual environment using globally installed Python.
step 2: activating the virtual environment.
step 3: installing all the libraries of requirements.txt (if requirements.txt is there else install all the packages using “pip”).
Here I do not understand why we cannot use Conda instead of pip. When I ask this same question to one my senior, he replied to me that, Conda has some vulnerabilities which can hinder Company’s policy. So senior asked me to apply this method when working on any new project. But I do not think this is industry standard approach to work on python project. Could you Geeks please teach me industry standard way of doing it.
Thanks
submitted by /u/JordaarFin
[link] [comments]
r/learnpython Hello Geeks! I am wondering, what is the correct, and industry standard way to work on python project. To give a context, I am working at IT company as a Python developer (beginner). Till now, during my learning journey, I used python with Conda. I used Conda without any knowledge and followed random youtubers and their method of developing Python’s project. But now, I have just joined the organization and worked on some Python’s project. Actually, the way we are developing python’s project does not seem industry acceptable and professional way. We follow following steps when starting any new project. Provided that first we have installed Python globally for instance, version 3.9. step 1: open project directory and in VS code’s terminal type following command “C:UsersmynamePython3.9.1python.exe” -m venv project_env_name here according to my understanding, we are creating project specific virtual environment using globally installed Python. step 2: activating the virtual environment. step 3: installing all the libraries of requirements.txt (if requirements.txt is there else install all the packages using “pip”). Here I do not understand why we cannot use Conda instead of pip. When I ask this same question to one my senior, he replied to me that, Conda has some vulnerabilities which can hinder Company’s policy. So senior asked me to apply this method when working on any new project. But I do not think this is industry standard approach to work on python project. Could you Geeks please teach me industry standard way of doing it. Thanks submitted by /u/JordaarFin [link] [comments]
Hello Geeks!
I am wondering, what is the correct, and industry standard way to work on python project. To give a context, I am working at IT company as a Python developer (beginner). Till now, during my learning journey, I used python with Conda. I used Conda without any knowledge and followed random youtubers and their method of developing Python’s project. But now, I have just joined the organization and worked on some Python’s project. Actually, the way we are developing python’s project does not seem industry acceptable and professional way. We follow following steps when starting any new project. Provided that first we have installed Python globally for instance, version 3.9.
step 1: open project directory and in VS code’s terminal type following command
"C:UsersmynamePython3.9.1python.exe" -m venv project_env_name
here according to my understanding, we are creating project specific virtual environment using globally installed Python.
step 2: activating the virtual environment.
step 3: installing all the libraries of requirements.txt (if requirements.txt is there else install all the packages using “pip”).
Here I do not understand why we cannot use Conda instead of pip. When I ask this same question to one my senior, he replied to me that, Conda has some vulnerabilities which can hinder Company’s policy. So senior asked me to apply this method when working on any new project. But I do not think this is industry standard approach to work on python project. Could you Geeks please teach me industry standard way of doing it.
Thanks
submitted by /u/JordaarFin
[link] [comments]