16-bit colour representation

2007-07-25 Thread beertje
This has me a bit stumped... I'm trying to extract pictures from a file. So far I'm successfully retrieved the header and what I think is the colour for each pixel. Here's the description: """ 3) The picture data format: The color information is 15 bit data stored in 16 bit. This means the most s

Re: Printing dots in sequence ('...')

2007-05-23 Thread beertje
On May 23, 3:36 am, rzed <[EMAIL PROTECTED]> wrote: > "Tim Williams" <[EMAIL PROTECTED]> wrote innews:[EMAIL PROTECTED]: > > [...] > > > maybe this: (on Win32, don't know about *nix) > > > for x in range(10): > > print '.\b', > > better: > print '\b.', > > -- > rzed print '.\b' gives a

Re: Printing dots in sequence ('...')

2007-05-22 Thread beertje
Perfect, thanks :) -- http://mail.python.org/mailman/listinfo/python-list

Printing dots in sequence ('...')

2007-05-22 Thread beertje
This is a very newbie question for my first post, perhaps appropriately. I want to print '' gradually, as a progress indicator. I have a for-loop that every 10 steps executes: print '.', This results in something like 'Loading. . . .', whereas I want 'Loading' A pet peeve, I can't for th