[Tutor] print issue
Alan Gauld
alan.gauld at btinternet.com
Wed Oct 2 14:03:41 EDT 2019
On 02/10/2019 18:49, Alan Gauld via Tutor wrote:
> On 02/10/2019 17:38, Alan Gauld via Tutor wrote:
>> We have already given you several suggestions, I will incorporate them
>> below: I will assume that for some reason you need to use Python v2...
> Not sure why the formatting got messed up, I'll try again!
>
> with open('output.txt', 'r') as reader: counter = 100 fmtString =
> "%11s-[%d, 'tcp', 'allow', %s, null, null, %d, %d]\n" with open
OK, Something must be screwed up in my settings.
I'll try again once I figure out what's messed up..
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
More information about the Tutor
mailing list