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
-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] converting EBCIDIC to ASCII
Prinn
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
On Thu, Jul 5, 2012 at 9:30 AM, Prinn, Craig craig.pr...@bhemail.comwrote:
** ** ** ** ** **
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
:* Marc Tompkins [mailto:marc.tompk...@gmail.com]
*Sent:* Friday, July 13, 2012 3:30 PM
*To:* Prinn, Craig
*Cc:* tutor@python.org
*Subject:* Re: [Tutor] converting EBCIDIC to ASCII
** **
On Thu, Jul 5, 2012 at 9:30 AM, Prinn, Craig craig.pr...@bhemail.com
wrote:
I am trying
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
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: