[wxPython] readlines() et al.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[wxPython] readlines() et al.

Chris Barker-4
HI folks,

I know this is off topic, but since it's been discussed here I thought I
'd try one more question:

Is there a way to call readlines(n), or soomething like it, so that you
get a specified number of lines, rather than a specified number of

It would be really handy to be able to do this without the performance
hit of:

for i in range(n):


Christopher Barker,
[hidden email]                      ---           ---           ---
http://www.jps.net/cbarker          -----@@       -----@@       -----@@
                                   ------@@@     ------@@@     ------@@@
Water Resources Engineering       ------   @    ------   @   ------   @
Coastal and Fluvial Hydrodynamics -------      ---------     --------    

wxPython-users maillist  -  [hidden email]