[wingide-users] python 2.5

Martijn Pieters mj at zopatista.com
Fri Sep 29 01:01:42 MDT 2006


James Matthews wrote:
> I cannot seem to do any file io i am running under python 2.5 on windows
> code is
> 
> fi = open('somefile','w')
> fi. and wing doesnt see it any help!

That's prolly because open no longer is an alias for file, but now a
helper method that returns an instance of type file. Try
file('somefile', 'w') instead or wait for Wing to update their detection.

Martijn Pieters


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : /pipermail/wingide-users/attachments/20060929/32f3e15b/signature.bin


More information about the wingide-users mailing list