range and wx co - ords

Malcolm Clift mj.clift at virgin.net
Tue Nov 9 20:07:12 EST 2004


Hi All,

I have now got something approaching what I need. Could someone please
show me how to define the 'line', so rather than just the first 50
items being printed over and over it goes through the text
incrementally?


        line = text1[:50]
        for i in range(1000):
            dc.DrawText(line, 100, 100 + (i//2)*100) 


Thanks,

Malcolm



More information about the Python-list mailing list