Re: D-CM; Software Testers

2010-06-19 Thread Kruptein
> What does it *do*? > > The LP page is vague, "all those apps", then you're talking about > various vague statements of Stuff Doing Stuff Together. > > But *what* is the stuff? The home page link on the LP page goes > somewhere weird. > > So yeah. What's it *do*? I don't like downloading software

Re: Installing or adding python dev installed python.

2010-06-19 Thread Robert Kern
On 6/19/10 9:49 PM, Vincent Davis wrote: I have several versions of python installed and some I have built from source which seems to install the python-dev on osx. I know that on ubuntu python-dev is an optional install. The main python version I use is the enthought distribution. Can I install

Installing or adding python dev installed python.

2010-06-19 Thread Vincent Davis
I have several versions of python installed and some I have built from source which seems to install the python-dev on osx. I know that on ubuntu python-dev is an optional install. The main python version I use is the enthought distribution. Can I install the python-dev tools with this? How. It the

Re: C interpreter in Lisp/scheme/python

2010-06-19 Thread Tim Rentsch
nanothermite911fbibustards writes: >> Probably doesn't meet your intent, but this is a really impressive bit >> of (whacky) art: > > Lisp runs faster than C. Once you get more time away from screwing > Palestinians, and other false-flags, you will find ideas like these > > How to make Lisp go fas

Re: introducing Lettuce, BDD tool for python with Django integration

2010-06-19 Thread Gregory Ewing
Steven D'Aprano wrote: I assume the one you're talking about is Behaviour Driven Development. Wikipedia defines it as: BDD is a second-generation, outside-in, pull-based, multiple-stakeholder, multiple-scale, high-automation, agile methodology. It describes a cycle of interaction

Re: Is this make sence? Dynamic assembler for python

2010-06-19 Thread Terry Reedy
On 6/19/2010 2:53 PM, DivX wrote: I found on the forum some discussion about crypting text and one guy did make assembly implementation of crypting algorithm. He dynamically generates mashine code and call that from python. Here are impressive results http://www.daniweb.com/code/snippet216632-5.h

Re: Is this make sence? Dynamic assembler for python

2010-06-19 Thread Steven D'Aprano
On Sat, 19 Jun 2010 13:36:57 -0700, DivX wrote: > On 19 lip, 21:18, geremy condra wrote: >> On Sat, Jun 19, 2010 at 11:53 AM, DivX wrote: >> > I found on the forum some discussion about crypting text and one guy >> > did make assembly implementation of crypting algorithm. He >> > dynamically gen

Re: MySQLdb and bits

2010-06-19 Thread voidnothings
On Jun 13, 5:52 am, Dafydd Hughes wrote: > Hi there > > This is my first post to the list - please forgive me if this has been > addressed elsewhere. > > I'm running MySQL 32-bit in Snow Leopard, and had MySQLdb working well. > I switched to 64-bit, rebuilt MySQLdb, and again it worked fine within

Re: 500 tracker orphans; we need more reviewers

2010-06-19 Thread Shashwat Anand
Terry: Thanks for bringing this to notice. Mark: Kudos for your effort in cleaning up bugs.python.org On Sat, Jun 19, 2010 at 10:16 PM, Mark Lawrence wrote: > On 19/06/2010 03:37, Terry Reedy wrote: > >> Go to the bottom of >> http://bugs.python.org/iss...@template=search&status=1 >> enter 1 in t

Re: exceptions and unicode

2010-06-19 Thread Stuart McGraw
On 06/16/2010 03:51 PM, Thomas Jollans wrote: > On 06/16/2010 10:10 PM, Stuart McGraw wrote: >> Note that the exceptions may be anything (I just used IOError >> as an example) and are generated in bowels of an API that I >> can't/won't mess with. > > Yeah, well, you'd have to special-case every

Re: exceptions and unicode

2010-06-19 Thread Stuart McGraw
On 06/16/2010 03:53 PM, Martin v. Loewis wrote: >> So how do I get what I want? > > Submit a patch. You would have to explain why this is a bug fix and not > a new feature, as new features are not allowed anymore for 2.x. Thanks. Actually I have no idea if this is a bug or a feature (despite r

Re: Is this make sence? Dynamic assembler for python

2010-06-19 Thread DivX
On 19 lip, 21:18, geremy condra wrote: > On Sat, Jun 19, 2010 at 11:53 AM, DivX wrote: > > I found on the forum some discussion about crypting text and one guy > > did make assembly implementation of crypting algorithm. He dynamically > > generates mashine code and call that from python. Here are

Re: Overriding "__setattr__" of a module - possible?

2010-06-19 Thread Fuzzyman
On Jun 18, 5:25 am, "Gabriel Genellina" wrote: > En Thu, 17 Jun 2010 07:12:23 -0300, Fuzzyman escribi�: > > > On Jun 17, 10:29 am, "Gabriel Genellina" > > wrote: > >> En Thu, 17 Jun 2010 04:52:48 -0300, Alf P. Steinbach   > >> escribi�: > > >> > But who would have thunk that Python *isn't d

Re: Is this make sence? Dynamic assembler for python

2010-06-19 Thread geremy condra
On Sat, Jun 19, 2010 at 11:53 AM, DivX wrote: > I found on the forum some discussion about crypting text and one guy > did make assembly implementation of crypting algorithm. He dynamically > generates mashine code and call that from python. Here are impressive > results http://www.daniweb.com/cod

Re: D-CM; Software Testers

2010-06-19 Thread Stephen Hansen
On 6/19/10 11:16 AM, Kruptein wrote: > Okay so I just released the 0.2-alpha version of my project and I'm > looking for people that would like to test it. > > It is written in python with the wxpython gui bindings and is aimed > to help developers. > > You can find more info on launchpad: http:

Re: If Not CGI...

2010-06-19 Thread Tim Chase
I've caught a lot of flack (imagine that) about using CGI. The main reason is that CGI has the overhead of loading & unloading the Python interpreter on every request. The other methods load the Python interpreter once (or a small, fixed-number of times), then handle lots of requests from th

Is this make sence? Dynamic assembler for python

2010-06-19 Thread DivX
I found on the forum some discussion about crypting text and one guy did make assembly implementation of crypting algorithm. He dynamically generates mashine code and call that from python. Here are impressive results http://www.daniweb.com/code/snippet216632-5.html Is this better approach then wr

D-CM; Software Testers

2010-06-19 Thread Kruptein
Okay so I just released the 0.2-alpha version of my project and I'm looking for people that would like to test it. It is written in python with the wxpython gui bindings and is aimed to help developers. You can find more info on launchpad: http://launchpad.net/d-cm -- http://mail.python.org/mai

Re: If Not CGI...

2010-06-19 Thread Stephen Hansen
On 6/19/10 10:31 AM, Victor Subervi wrote: > Hi; > I've caught a lot of flack (imagine that) about using CGI. I understand > there are several other options, to wit: mod_python, fastcgi and wcgi. I've > messed around with mod_python without luck. What are your suggestions? Its a slightly complicat

If Not CGI...

2010-06-19 Thread Victor Subervi
Hi; I've caught a lot of flack (imagine that) about using CGI. I understand there are several other options, to wit: mod_python, fastcgi and wcgi. I've messed around with mod_python without luck. What are your suggestions? TIA. beno -- http://mail.python.org/mailman/listinfo/python-list

Re: 500 tracker orphans; we need more reviewers

2010-06-19 Thread Mark Lawrence
On 19/06/2010 03:37, Terry Reedy wrote: Go to the bottom of http://bugs.python.org/iss...@template=search&status=1 enter 1 in the Message Count box and hit Search. At the moment, this gets 510 hits. Some have had headers updated, nearly half have had a person add himself as 'nosy' (put 1 in the

Re: Help with suds: HTTP Error 401

2010-06-19 Thread Sean DiZazzo
On Jun 11, 5:27 am, Eric von Horst wrote: > I have small program that tries to open a wsdl. When I execute the > program I am getting 'suds.transport.TransportError: HTTP Error 401: > Unauthorized' Hey Eric, Im a suds noob as well. I found some code that led me to the below example. It worked

Re: scraping from bundes-telefonbuch.de with python

2010-06-19 Thread Michael Torrie
On 06/19/2010 04:23 AM, davidgp wrote: > opener = urllib2.build_opener() > opener.addheaders = [('User-Agent', 'Mozilla/5.0 (compatible; > Konqueror/3.5; Linux) KHTML/3.5.4 (like Gecko)')] > urllib2.install_opener(opener) > > data = urllib.urlencode({'F0': 'mySearchKeyword','B': 'T','F8': 'A || >

Re: catching my own exception

2010-06-19 Thread Nikola Skoric
Dana 18 Jun 2010 17:45:31 GMT, Steven D'Aprano kaze: > Other than that, I notice that your module throws away useful debugging > information, and replaces it with bland, useless pap of no nutritional > value: > > try: > import account, fetch, resources, const > except Exception: > raise

Re: catching my own exception

2010-06-19 Thread Nikola Skoric
Dana Fri, 18 Jun 2010 20:01:45 +0200, Peter Otten <__pete...@web.de> kaze: > Solution: move your startup code into a separate file and have it import the > village module. Excellent, thanks! Everything works now, but I still don't quite get what the problem is... > You are importing your main

Re: scraping from bundes-telefonbuch.de with python

2010-06-19 Thread Rebelo
On 19 lip, 12:23, davidgp wrote: > hello, i'm new on this group, and quiet new to python! > i'm trying to scrap some adress data from bundes-telefonbuch.de but i > run into a problem: > the link is like > this:http://www.bundes-telefonbuch.de/cgi-btbneu/chtml/chtml?WA=20 > and it is basically the

MAKE UPTO $5000 PER MONTH! $2000 IN FIRST 30 DAYS!

2010-06-19 Thread benadict raj
MAKE UPTO $5000 PER MONTH! $2000 IN FIRST 30 DAYS! Generate $50 to $100 whenever you have a couple of hours free time tospare. You could make $50 or more in the next 2 hours. Starting right Now! Today! Awesome earnings get paid for your honest work Join as a free member and get paid to your bank a

Re: pythonize this!

2010-06-19 Thread Mark Lawrence
On 19/06/2010 11:36, Stefan Behnel wrote: Mark Lawrence, 18.06.2010 17:53: ... *AND* (looking at your email address) Germany loosing in the world cup. :( Yep, we always do that once at the early stages of a world cup. Pretty good camouflage, still works most of the time. Stefan Yes, but tr

Re: pythonize this!

2010-06-19 Thread Stefan Behnel
Mark Lawrence, 18.06.2010 17:53: ... *AND* (looking at your email address) Germany loosing in the world cup. :( Yep, we always do that once at the early stages of a world cup. Pretty good camouflage, still works most of the time. Stefan -- http://mail.python.org/mailman/listinfo/python-list

scraping from bundes-telefonbuch.de with python

2010-06-19 Thread davidgp
hello, i'm new on this group, and quiet new to python! i'm trying to scrap some adress data from bundes-telefonbuch.de but i run into a problem: the link is like this: http://www.bundes-telefonbuch.de/cgi-btbneu/chtml/chtml?WA=20 and it is basically the same for every search query. thus i need to

Re: pythonize this!

2010-06-19 Thread Andre Alexander Bell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/18/2010 05:53 PM, Mark Lawrence wrote: > Andre, looks like a really bad day for you then, *TWO* nights out with > me *AND* (looking at your email address) Germany loosing in the world > cup. :( There are days one looses and there are days the ot

Re: how to get bit info

2010-06-19 Thread Anssi Saari
Back9 writes: > Hi, > > I have one byte data and want to know each bit info, > I mean how I can know each bit is set or not? Other than the tedious anding, oring and shifting, you can convert your byte to a string (with function bin) and use normal string handling functions to check if individua

Re: subprocess in Command promt+ webbrowser

2010-06-19 Thread shanti bhushan
On Jun 19, 11:01 am, shanti bhushan wrote: > I have a code ,in which i invoke the local webserver in back > ground ,then open URL and access the web page. > below is my code. > I am able to invoke and kill the local webserver in seperate python > script,but when i club opening of browser and and s