Re: [Tutor] converting EBCIDIC to ASCII

2012-07-16 Thread Flynn, Stephen (L & P - IT)
> -Original Message- > From: tutor-bounces+steve.flynn=capita.co...@python.org [mailto:tutor- > bounces+steve.flynn=capita.co...@python.org] On Behalf Of Steven D'Aprano > Sent: Saturday, July 14, 2012 2:42 AM > To: tutor@python.org > Subject: Re: [Tutor] conv

Re: [Tutor] converting EBCIDIC to ASCII

2012-07-16 Thread Flynn, Stephen (L & P - IT)
I am trying to convert an EBCIDIC file to ASCII, when the records are fixed length I can convert it fine, I have some files that are coming in as variable length records, is there a way to convert the file in Python? I tried using no length but then it just reads in to a fixed buffer size and I can

Re: [Tutor] converting EBCIDIC to ASCII

2012-07-13 Thread Steven D'Aprano
Prinn, Craig wrote: I am trying to convert an EBCIDIC file to ASCII, when the records are fixed length I can convert it fine, I have some files that are coming in as variable length records, is there a way to convert the file in Python? I tried using no length but then it just reads in to a fixed

Re: [Tutor] converting EBCIDIC to ASCII

2012-07-13 Thread Marc Tompkins
helps, and I don't know what you'd need to move forward. Good luck! > > ** ** > -- > > *From:* Marc Tompkins [mailto:marc.tompk...@gmail.com] > *Sent:* Friday, July 13, 2012 3:30 PM > *To:* Prinn, Craig > *Cc:* tutor@python.

Re: [Tutor] converting EBCIDIC to ASCII

2012-07-13 Thread Marc Tompkins
On Thu, Jul 5, 2012 at 9:30 AM, Prinn, Craig wrote: > ** ** ** ** ** ** > > I am trying to convert an EBCIDIC file to ASCII, when the records are > fixed length I can convert it fine, I have some files that are coming in as > variable length records, is there a way to convert the file in Python? I

[Tutor] converting EBCIDIC to ASCII

2012-07-13 Thread Prinn, Craig
I am trying to convert an EBCIDIC file to ASCII, when the records are fixed length I can convert it fine, I have some files that are coming in as variable length records, is there a way to convert the file in Python? I tried using no length but then it just reads in to a fixed buffer size and I

Re: [Tutor] Converting ebcidic to ascii

2011-06-15 Thread Prinn, Craig
Thanks Mark that did the trick, couldn't quite figure out the syntax before. Craig Prinn Document Solutions Manager Office Phone 919-767-6640 Cell Phone410-320-9962 Fax 410-243-0973 3600 Clipper Mill Road Suite 404 Baltimore, MD 21211 -Original Message- From: tutor-bounce