Re: [BangPypers] Issue with CherryPy

2009-04-27 Thread S.Ramaswamy
> I am trying to use the CherryPy webserver to serve a simple application on > the localhost. > When I start the sever from command line using: python my_app.py > I am getting the following error in the browser: > > Traceback (most recent call last): > File "C:\Python25\lib\site-packages\che

Re: [BangPypers] Detailed talk on the GIL

2009-07-26 Thread S.Ramaswamy
> > What are the odds, I just downloaded this for later viewing yesterday. :) > Weird, I viewed the video a bit today morning. Ramaswamy ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] HTML Parsing in python

2009-09-10 Thread S.Ramaswamy
On Thu, Sep 10, 2009 at 2:29 PM, Puneet Aggarwal wrote: > Hi BangPypers, > > Can anyone suggest me a good library for html parsing in python ? > I googled a found few libararies BeautifulSoup, HTMLParser, SGMLParser > etc. > > Can anyone suggest me which should I go for from your experience. > >

[BangPypers] [OT] Guido's Tweet on Top Posting

2009-09-10 Thread S.Ramaswamy
"Top-posting complaints is the old timers trying to assert their power over the newer generation who takes everything for granted." http://twitter.com/gvanrossum/status/2403974538 ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/m

Re: [BangPypers] [OT] Guido's Tweet on Top Posting

2009-09-11 Thread S.Ramaswamy
> > who knows what the context is - the OP did not provide the link > > > > The "in reply to" link in the tweet provides the context. I am using the Twitter web ui, not sure how it works with various Twitter clients. Context: = http://twitter.com/jtauber/status/2403

Re: [BangPypers] import module error

2009-11-16 Thread S.Ramaswamy
>>> import dbf > Traceback (most recent call last): > File "", line 1, in > ImportError: No module named dbf > >>> from dbf import * > Traceback (most recent call last): > File "", line 1, in > ImportError: No module named dbf > >>> > > The example on the project page http://dbfpy.sourceforge.n

Re: [BangPypers] Simple python database library

2010-03-03 Thread S.Ramaswamy
> > Am explicitly looking for lightweight libraries, not heavy weight ORM > solutions. > > AntiORM: http://furius.ca/antiorm/ . Not sure if this an active project. Ramaswamy ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman

Re: [BangPypers] Extracting zipfile

2010-05-31 Thread S.Ramaswamy
> > Not by default but you need to stick 2 or 3 lines into your startup > file to get it going. > > -- > > Tab completion with the standard interpreter doesn't work on Windows even with those 2-3 lines in the startup file - GNU Readline doesn't work on Windows AFAIK. With IPython you can get it wo

Re: [BangPypers] HarvestMan with eventlets

2008-01-01 Thread S.Ramaswamy
> > I have been evaluating twisted for sometime for doing this, but I have not > been able to wrap my brain around twisted. Also the fact that twisted > requires an explicit event loop call is not very good and makes it difficult > to write an application which has its own separate event loop. > Ho

Re: [BangPypers] HarvestMan with eventlets

2008-01-01 Thread S.Ramaswamy
> > > > I have been evaluating twisted for sometime for doing this, but I have not > > been able to wrap my brain around twisted. Also the fact that twisted > > requires an explicit event loop call is not very good and makes it difficult > > to write an application which has its own separate event

Re: [BangPypers] Agile development in Python

2008-02-25 Thread S.Ramaswamy
> Is there a simple python project with unit tests written available online? > Any standard Python installation itself contains a number of tests that use the unittest module. You might want to take a look at those - there's usually a "test" directory which contains the tests. Ramaswamy _

Re: [BangPypers] How to check file size before downloading it

2008-05-07 Thread S.Ramaswamy
On Wed, May 7, 2008 at 4:49 PM, Gurpreet Sachdeva <[EMAIL PROTECTED]> wrote: > Is there a way in urllib to check file size (from the webserver) before > downloading it? Or any other python module from this? > Just a nit. It might be a good idea to check for the existence of the Content-Length head

Re: [BangPypers] How to check file size before downloading it

2008-05-08 Thread S.Ramaswamy
On Thu, May 8, 2008 at 11:15 AM, Gurpreet Sachdeva <[EMAIL PROTECTED]> wrote: > Yeah thats what I found. Any idea what settings need to be done in the > webserver (Apache) to report content-length header? Or any other > alternative? > > Thanks for your help, > Gurpreet > AFAIK, Apache 2 reports Con

Re: [BangPypers] Redirection of standard output to a variable

2008-05-11 Thread S.Ramaswamy
> > I am trying to find a way from which I could redirect standard output to a > variable. You can redirect stdout and stderr to a file. Check out the following section from Dive into Python, that has sample code: http://www.diveintopython.org/scripts_and_streams/stdin_stdout_stderr.html Ramaswa

Re: [BangPypers] [Job] Looking for developer

2008-07-05 Thread S.Ramaswamy
> > What I'd like to know is how successful people who post job requirements on > bangpypers have been with recruitment. Vijay? > I got my previous job with a Bengalooru based startup through BangPypers in 2005. I nearly took on another contract after that, again courtesy BangPypers, but had to mov

Re: [BangPypers] py2exe

2008-09-20 Thread S.Ramaswamy
> we can install py2exe only in windows, > it's not available for Linux . > > meaning we can't install py2exe in Linux > > any other alternatives? > PyInstaller ( http://pyinstaller.python-hosting.com/ ) seems to be one option. Not sure if it works with ver 2.5 and up. Ramaswamy _