Re: [Tutor] Convert a Sequence of Images into an AVI file

2008-10-18 Thread Alan Gauld
"Wayne Watson" <[EMAIL PROTECTED]> wrote I have a file of images shot at a frame rate of 1/30th of a second. ...I'd like to simply take the large images out of the file and make an avi file from them. What in Python will help me do that? Have you looked at PIL? The Python wrapper around Imag

Re: [Tutor] name 'x" is not defined

2008-10-18 Thread carme colominas
thank you very much, very clear explanation, I will try with the beginner Phyton tutorials. carme 2008/10/17 Alan Gauld <[EMAIL PROTECTED]> > "carme colominas" <[EMAIL PROTECTED]> wrote > it > >> I'm a linguist and absolut new on Python; I'm trying to follow the first >> chapter of *Natural Lan

Re: [Tutor] [Edu-sig] school physics/math courses

2008-10-18 Thread michel paul
"We should abandon the vision that physicists seek an ultimate mathematical description of the universe since it is not obvious that it exists. The job of the physicist is that of modeling phenomena within the physical scales of observed events. For some systems, the modeling can be done more effe

Re: [Tutor] [Edu-sig] school physics/math courses

2008-10-18 Thread Edward Cherlin
2008/10/17 michel paul <[EMAIL PROTECTED]>: > "We should abandon the vision that physicists seek an ultimate mathematical > description of the universe since it is not obvious that it exists. I disagree with this attitude. We can seek an ultimate mathematical description, since it is not obvious t

Re: [Tutor] automatically generate python/pylons documentation

2008-10-18 Thread Kent Johnson
On Fri, Oct 17, 2008 at 10:18 AM, Arun Tomar <[EMAIL PROTECTED]> wrote: > hi! > > I'm trying to generate documentation for my pylons web application. > 2. epydoc > I liked epydoc, the generated document looks more like what is > generate by ruby tools, i guess rdoc. if i give it a single python >

Re: [Tutor] automatically generate python/pylons documentation

2008-10-18 Thread Arun Tomar
hi! On Sat, Oct 18, 2008 at 5:17 PM, Kent Johnson <[EMAIL PROTECTED]> wrote: > On Fri, Oct 17, 2008 at 10:18 AM, Arun Tomar <[EMAIL PROTECTED]> wrote: >> hi! >> >> I'm trying to generate documentation for my pylons web application. > >> 2. epydoc >> I liked epydoc, the generated document looks mor

Re: [Tutor] automatically generate python/pylons documentation

2008-10-18 Thread Marc Tompkins
On Sat, Oct 18, 2008 at 6:45 AM, Arun Tomar <[EMAIL PROTECTED]> wrote: > > I've a pylons web application in the directory called helloworld. > if i give the command for epydoc to generate the documentation it > gives the below mentioned errors: > > epydoc helloworld/ > Error: Directory 'hellowor

Re: [Tutor] [Edu-sig] school physics/math courses

2008-10-18 Thread bob gailer
Edward Cherlin wrote: [snip] As a teacher, I know very well what it means. Some representations are easier to understand, or easier to work with, or easier to learn from. Various thinkers, including Babbage, Whitehead, and Iverson, have commented on the effects of the way we represent problems o

[Tutor] PyCon 2009 (US) - Call for Tutorials

2008-10-18 Thread Greg Lindstrom
The period for submitting tutorial proposals for Pycon 2009 (US) is open and will continue through Friday, October 31th. This year features two "pre-conference" days devoted to tutorials on Wednesday March 25 & Thursday March 26 in Chicago. This allows for more classes than ever. Tutorials are 3-h

Re: [Tutor] [Edu-sig] school physics/math courses

2008-10-18 Thread Massimo Di Pierro
On Oct 18, 2008, at 12:03 AM, Edward Cherlin wrote: 2008/10/17 michel paul <[EMAIL PROTECTED]>: "We should abandon the vision that physicists seek an ultimate mathematical description of the universe since it is not obvious that it exists. I disagree with this attitude. We can seek an ulti

Re: [Tutor] retrieving httponly cookies on accessing webpage with urllib2

2008-10-18 Thread xbmuncher
Thanks for the insight Kent. The problem wasn't because of the httpOnly cookies, I just wasn't requesting the right page. I did get it to send me the httpOnly cookies when I requested the right page. Apparently, the right page was a redirection of the original page. When I used to use cURL in PHP I

Re: [Tutor] automatically generate python/pylons documentation

2008-10-18 Thread Alan Gauld
"Arun Tomar" <[EMAIL PROTECTED]> wrote if i give the command for epydoc to generate the documentation it gives the below mentioned errors: epydoc helloworld/ Error: Directory 'helloworld/' is not a package Error: Nothing left to document! What happens if you don;t pass the trainiling slash:

Re: [Tutor] retrieving httponly cookies on accessing webpage with urllib2

2008-10-18 Thread Kent Johnson
On Sat, Oct 18, 2008 at 12:26 PM, xbmuncher <[EMAIL PROTECTED]> wrote: > Apparently, the right > page was a redirection of the original page. When I used to use cURL in PHP > I remember that it had an option to automatically follow redirects. How can > I do this with urllib2? urllib2 will follow H

Re: [Tutor] retrieving httponly cookies on accessing webpage with urllib2

2008-10-18 Thread Kent Johnson
On Sat, Oct 18, 2008 at 1:32 PM, Kent Johnson <[EMAIL PROTECTED]> wrote: >> For the headers, I did verify that it sent the headers as I had formed them >> (just not in the right order) with wireshark. So my method does work, I also >> got this method from here: >> http://www.voidspace.org.uk/python

Re: [Tutor] automatically generate python/pylons documentation

2008-10-18 Thread Arun Tomar
hi! On Sat, Oct 18, 2008 at 10:42 PM, Alan Gauld <[EMAIL PROTECTED]> wrote: > "Arun Tomar" <[EMAIL PROTECTED]> wrote >> >> if i give the command for epydoc to generate the documentation it >> gives the below mentioned errors: >> >> epydoc helloworld/ >> Error: Directory 'helloworld/' is not a pac

Re: [Tutor] automatically generate python/pylons documentation

2008-10-18 Thread Kent Johnson
On Sat, Oct 18, 2008 at 10:52 PM, Arun Tomar <[EMAIL PROTECTED]> wrote: > creating a __init__.py file does the trick but not completely. > epydoc helloworld > +--- > | In /tmp/hello

[Tutor] Creating a single .exe file without py2exe and pyinstaller

2008-10-18 Thread Abah Joseph
I have written a small application of about 40-45 lines which is about 4KB, so I want to create a single .exe file from it, using py2exe it created unnecessary files, that just increase the size of the program and also less portable to me. What else can I use? I am on windows XP. Python 2.5 ___