Bruno Desthuilliers wrote:
> Here's a straightforward solution:
Thank you. I learned several things from that. :-)
Gustaf
--
http://mail.python.org/mailman/listinfo/python-list
Yu-Xi Lim wrote:
> David Mertz's Text Processing in Python might give you some more
> efficient (and interesting) ways of approaching the problem.
>
> http://gnosis.cx/TPiP/
Thank you for the link. Looks like a great resource.
Gustaf
--
http://mail.python.org/mailman/listinfo/python-list
On Nov 1, 5:04 am, Paul Hankin <[EMAIL PROTECTED]> wrote:
> On Oct 31, 5:02 pm, Gustaf <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
>
> > Just for fun, I'm working on a script to count the number of lines in
> > source files. Some lines are auto-generated (by the IDE) and shouldn't be
> > counted. Th
On Oct 31, 5:02 pm, Gustaf <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Just for fun, I'm working on a script to count the number of lines in source
> files. Some lines are auto-generated (by the IDE) and shouldn't be counted.
> The auto-generated part of files start with "Begin VB.Form" and end with
Gustaf a écrit :
> Hi all,
>
> Just for fun, I'm working on a script to count the number of lines in
> source files. Some lines are auto-generated (by the IDE) and shouldn't
> be counted. The auto-generated part of files start with "Begin VB.Form"
> and end with "End" (first thing on the line).
Gustaf wrote:
> Hi all,
>
> Just for fun, I'm working on a script to count the number of lines in
> source files. Some lines are auto-generated (by the IDE) and shouldn't
> be counted. The auto-generated part of files start with "Begin VB.Form"
> and end with "End" (first thing on the line). Th
On Wed, 31 Oct 2007 18:02:26 +0100, Gustaf wrote:
> Just for fun, I'm working on a script to count the number of lines in
> source files. Some lines are auto-generated (by the IDE) and shouldn't be
> counted. The auto-generated part of files start with "Begin VB.Form" and
> end with "End" (first t
Hi all,
Just for fun, I'm working on a script to count the number of lines in source
files. Some lines are auto-generated (by the IDE) and shouldn't be counted. The
auto-generated part of files start with "Begin VB.Form" and end with "End"
(first thing on the line). The "End" keyword may appear