current working directory issue
How to find the current working directory for the ipython console? Where is the default location?

Python-3.4.3 Loading-Data-From-Files 00-01 min 0-10 sec 22-06-19, 3:10 p.m. Petta

Answers:

you can type:
import os
os.getcwd()
22-06-19, 3:13 p.m. PriyaBhatnagar
In addition to this you can also use the command below to get the current directory (only in IPython)

pwd
22-06-19, 3:18 p.m. ankitrj.iitb


Click here to reply/comment online