Hello!

> > I want to move all the 1's move to the right, 1 index at a time,
> > preserving any spacing.

[ snip ]

> > I'm starting to think I'm going to have to go Cpp for this kind of
> > direct pixel tweaking stuff.
> > (640x480 (let alone 1024x768) is a lot of pixels to run through a for...
> > loop)

Pixels - just ones and zeroes? Pack them as integers and apply the 
right shift operator:
i>>=1

> > So yeah, anyone had this before?

Some might have ;-)

> > Regards,
> >
> > Liam Clarke

HTH and Greetings, J"o!


-- 
Wir sind jetzt ein Imperium und wir schaffen uns
unsere eigene Realität. Wir sind die Akteure der 
Geschichte, und Ihnen, Ihnen allen bleibt nichts,
als die Realität zu studieren, die wir geschaffen haben.
        -- Karl Rove zu Ron Suskind (NYT)

+++ Sparen Sie mit GMX DSL +++ http://www.gmx.net/de/go/dsl
AKTION für Wechsler: DSL-Tarife ab 3,99 EUR/Monat + Startguthaben
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to