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
--
http://mail.python.org/mailman/listinfo/pyth
On Jun 22, 2011 11:44 AM, "Travis Altman" wrote:
>
> I want to be able to connect to a windows share via python. My end goal
is to be able to recursively search through windows shares. I want to do
this in Linux as well. So given a share such as \\computer\test I would
like to search through th
On 22/06/2011 19:38, Travis Altman wrote:
I want to be able to connect to a windows share via python. My end goal
is to be able to recursively search through windows shares. I want to
do this in Linux as well. So given a share such as \\computer\test I
would like to search through the test dir
I want to be able to connect to a windows share via python. My end goal is
to be able to recursively search through windows shares. I want to do this
in Linux as well. So given a share such as \\computer\test I would like to
search through the test directory and any sub directories for any file