Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion pypng.py problem in python 3.2
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
PKHG  
View profile  
 More options Jul 16 2012, 1:28 pm
From: PKHG <pkhgrag...@gmail.com>
Date: Mon, 16 Jul 2012 10:28:57 -0700 (PDT)
Local: Mon, Jul 16 2012 1:28 pm
Subject: Re: pypng.py problem in python 3.2

By the way the pypng-0.0.13.tar.gz  (forgotton where I got it) is
convertable for python 3.2 and all its test
run without error ;-) ... so maybe a  usable to make a working replacement
???

Op maandag 16 juli 2012 13:41:40 UTC+2 schreef PKHG het volgende:

> This
> >>> struct.pack("8B", 137, 80, 78, 71, 13, 10, 26, 10)
> b'\x89PNG\r\n\x1a\n'
> gives an error
> from line  (258 of my pypng.py)       outfile.write(struct.pack("8B", 137,
> 80, 78, 71, 13, 10, 26, 10))

> I assume that write needs an utf-8 string but the 137 from the pack is not
> convertable ... to utf-8

> So what should it be?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.