Bill Sneddon wrote:
> Does anyone know of a website with windows code
> examples?
>  

I'm surprised Golden didn't mention his site. It has lots of examples on
it.

http://timgolden.me.uk/python/index.html

I had originally thought I would create a wiki for this very purpose.
However, my interest waned and I stupidly dropped it. The good news is
that that has continued to bother me, so I hope to get it going again,
even if it's just to create a basic skeleton and then let all the good
people on here have a whack at it.

If anyone thinks that's a good idea, let me know. I'm thinking it would
be good to do a CookBook / FAQ style plus something like this guy is
doing with the Python Standard Library: http://pbe.lightbird.net/

Maybe my ideas are too grandiose though...

> I have googled this have not found much.  I know about
> Activestate's site but does not seemed to be organized
> in a way to get these easily.
>
> Is there a FAQ for this mail list?
>
> Right know I am interested in finding out how to
> access a windows server share in Python 2.4.  Seems to
> work fine in Python 2.5 with win32 installed, but the
> MoinMoin server at work has not been upgraded.
> The problem is this open can not use this kind of
> path.
>
> I don't have access to the network now but the problem
> is like this example:
>
> txtFile = open(r'\\aServer\share$\myfile.txt','r')
>
> This command is unable to find the file on Python 2.4.
> I apologies if this is a FAQ but I have looked some.
>
> Is there a work around to this problem, can I map a
> network drive on the at runtime?
>
> Bill Sneddon
>
>  

As Golden pointed out, this should work just fine with standard Python
code. I do it all the time at work. Oh, and if you're just going to read
it, you don't even need to include that flag. It can just be:

txtFile = open(r'\\aServer\share$\myfile.txt')


Mike

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to