Unusual behavior with rotor
jeff at cowz.com
Wed Aug 21 09:06:40 CEST 2002
Ahh, yes, the joy of Windows. Adding the "b" to my open flags works
likes a charm.
Thanks to Terry and Jeff.
Terry Reedy wrote:
> "Jeff Sykes" <jeff at cowz.com> wrote in message
> news:3D62F701.E4DE1270 at cowz.com...
> > I'm using rotor to encrypt some files. When I open and decrypt the
> > files, they are being truncated. Not quite sure what's happening
> > but here's a code snip from the class I'm using:
> > Weird. Any ideas what's causing this?
> Are you on Windows? Can a rotored char become ^Z (dos/win end of file
> If so, and open in (default?) text mode, you could get behavior
home.email - jeff at cowz.com
home.phone - 831-460-1977
home.fax - 508-355-0506
"This does remind me of a good
friend who used to taunt me
whenever i said, 'PIN Number.'
In a very silly voice he would
say, 'Yes! Give me my PIN Number
so that i can go to the ATM
Machine and get some Cash Money!'"
More information about the Python-list