Re: Python simple web development

2009-06-25 Thread Private Private
On Jun 25, 10:59 am, Chris Withers wrote: > Private Private wrote: > > from those forms, etc. I have read a bit about Django and TurboGears > > but I am afraid that this is too big for my requirements (am I > > wrong ?). > > You are wrong :-) Why ? What I've read

Python simple web development

2009-06-25 Thread Private Private
Hi, I am looking for a python library which will allow me to do a simple web development. I need to use some forms (but nice looking :-) ), creating images based on input from those forms, etc. I have read a bit about Django and TurboGears but I am afraid that this is too big for my requirements (

Re: fileinput.input, readlines and ...

2009-06-24 Thread Private Private
On Jun 24, 12:23 pm, Przemyslaw Bak wrote: > Hello, > > I many files with log data. The structure of the file is quite Each requested value is in separated file. While traversing using os.path.walk I have noticed that I get files unsorted. Is it possible to get them sorted ? przemol -- http://m

Re: fileinput.input, readlines and ...

2009-06-24 Thread Private Private
On Jun 24, 11:00 pm, Peter Otten <__pete...@web.de> wrote: > Private Private wrote: > > > lines = fileinput.input(filename) > > > for line in lines: > > >     if "Data2" in line: > > >         print line.strip(), "-->", next(lin

Re: fileinput.input, readlines and ...

2009-06-24 Thread Private Private
On Jun 24, 1:32 pm, Peter Otten <__pete...@web.de> wrote: > Przemyslaw Bak wrote: > > Hello, > > > I many files with log data. The structure of the file is quite > > inconvenience and similar to the following example: > > Data1 > >   ValueA > > Data2 > >   ValueB > > Data3 > >   ValueC > > ... > >