> 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
>
> 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
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.
>
>
"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
>
> 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
>>> 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
>
> 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
>
> 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
>
> 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
> >
> > 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
> 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
_
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
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
>
> 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
>
> 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
> 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
_
16 matches
Mail list logo