kai.pet...@gmail.com wrote:
> I just wrote this bit (coming from Pascal)
> if (((xdim / 8) * ydim) + header) <> filesize:
Yeah, either Pascal or Barry Warsaw is your uncle ;)
https://www.python.org/dev/peps/pep-0401/
> and am wondering how seasoned
> Python programmers would have done the
- Original Message -
> From: "kai peters"
> To: python-list@python.org
> Sent: Wednesday, 8 April, 2015 12:43:23 AM
> Subject: Code critique please
>
> I just wrote this bit (coming from Pascal) and am wondering how
> seasoned Python programmers wou
On 2015-04-08 01:54, Mark Lawrence wrote:
On 07/04/2015 23:43, kai.pet...@gmail.com wrote:
I just wrote this bit (coming from Pascal) and am wondering how seasoned
Python programmers would have done the same? Anything terribly non-python?
As always, thanks for all input.
import os, sys
from PI
On 07/04/2015 23:43, kai.pet...@gmail.com wrote:
I just wrote this bit (coming from Pascal) and am wondering how seasoned Python
programmers would have done the same? Anything terribly non-python?
As always, thanks for all input.
import os, sys
from PIL import Image, ImageFont, ImageDraw
As
On Tuesday, 7 April 2015 15:43:44 UTC-7, kai.p...@gmail.com wrote:
> I just wrote this bit (coming from Pascal) and am wondering how seasoned
> Python programmers would have done the same? Anything terribly non-python?
>
> As always, thanks for all input.
>
> K
>
>
>
> """
> Creates a PNG i
On 07Apr2015 15:43, kai.pet...@gmail.com wrote:
I just wrote this bit (coming from Pascal) and am wondering how seasoned Python
programmers would have done the same? Anything terribly non-python?
As always, thanks for all input.
K
"""
Creates a PNG image from EPD file
"""
import os, sys
from
On Tue, Apr 7, 2015 at 3:43 PM, wrote:
> I just wrote this bit (coming from Pascal) and am wondering how seasoned
> Python programmers would have done the same? Anything terribly non-python?
>
> As always, thanks for all input.
>
> K
>
>
>
> """
> Creates a PNG image from EPD file
> """
>
> imp
On Tue, Apr 7, 2015 at 4:43 PM, wrote:
> def RenderByte(draw, byte, x, y):
Python function and method names customarily use the
lowercase_with_underscores style.
> blist = list(bin(byte).lstrip('0b')) # turn byte into list with 8
> elements,
There's no guarantee that the resulting list wi
I just wrote this bit (coming from Pascal) and am wondering how seasoned Python
programmers would have done the same? Anything terribly non-python?
As always, thanks for all input.
K
"""
Creates a PNG image from EPD file
"""
import os, sys
from PIL import Image, ImageFont, ImageDraw
#
On Sun, 22 Jun 2008 08:44:25 -0500, Saul Spatz wrote:
> macoovacany wrote:
>> http://macoovacany.wordpress.com/
> When I tried to run it, I got all kinds of syntax errors because of
> non-ASCII characters; namely, you have fancy left and right single and
> double quotes.
That's probably WordPress
macoovacany wrote:
http://macoovacany.wordpress.com/
When I tried to run it, I got all kinds of syntax errors because of
non-ASCII characters; namely, you have fancy left and right single
and double quotes. Once I replaced these with the ASCII equivalents,
it worked fine. I suggest you use a
http://macoovacany.wordpress.com/
--
http://mail.python.org/mailman/listinfo/python-list
Hello all,
I'm trying to learn various programming languages (I did MATLAB at
uni), and have decided to start with Python. The programming exercises
are derived from Larry O'brien's http://www.knowing.net/
PermaLink,guid,f3b9ba36-848e-43f8-9caa-232ec216192d.aspx">15
Programming Exercises . First
13 matches
Mail list logo