On my cygwin system I just do the following for my network drive 'q' import commands print commands.getoutput('ls /cygdrive/q') Run it as - python fileList.py Here is the output: DataTables Functions Object_Repositories Recovery_Scenarios Scripts