> -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
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
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
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.
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
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
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