Search code examples
pythonoperating-systempackageanacondaprompt

How can I install the "OS" package of python using the anaconda prompt?


So this question is pretty easy, but I didn't find a great answer. In my program, I want to import the OS package using: import os. Well, how can I import this package using the anaconda prompt? I tried conda install os and pip install os and it didn't work. Can anyone help me?


Solution

  • os is already installed with your python package. You just have to import it into your python files, you can do this by import os.