Can you try virtualenv ? You can download the virtualenv package and
use `virtualenv` command like,
> virtualenv --no-site-packages pluggd-env
Of course you can replace `pluggd-env` with directory name that should
contain your virtual python environment.
After setting up the virtual environment,
Try this,
global()[ lis['a'][1] ]()
or this,
lis = { "a": [ getabc, gettuple, getlist ] }
lis['a'][1]()
On Wed, Dec 7, 2011 at 7:41 PM, Anand Patil <2002an...@gmail.com> wrote:
> Hi.
>
> I have a unique question or may be i am not so perfect at python.Please
> help me out
>
> a, b, c = 0, 0, 0
Thanks for this pointer. Very much like spirit of python,
"If you can do it as library, don't except it from the language (python)"
On Thu, Dec 8, 2011 at 2:19 PM, alind sharma wrote:
> I hope that you dont want something like multimethods as described in this
> thread by Guido.
> (Your fu
> Got it. (regarding digest emails)
Got it slightly later :)
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers
Sphinx should do good. I have used it for documenting our CouchPy
library. A documented module source will look like this,
http://code.google.com/p/couchpy/source/browse/couchpy/database.py
Which gets converted to HTML document like,
http://packages.python.org/couchpy/modules/database.html
Yo
How about first week of January ? 7th or 8th.
On Sat, Dec 17, 2011 at 9:40 AM, Noufal Ibrahim wrote:
>
> It's been too long since we even *had* a user group meeting. Why the
> apathy?
>
>
> Venkatraman S writes:
>
>> So i am vising bay area and turned up for the baypiggies group meeting
>> yeste
>> Does it mean underscore should be avoided in the project-name for all
>> practical purposes?
>
> Well, I tried to point out this issue (as you can see in the long thread),
> but I couldn't succeed, then I stopped using underscore :)
I attempted a similar reply and then saw your original reply,
# Initialize variables
holes, bk = HOLES[:], {} ;
random.shuffle( holes )
# Make buckets
[ bk.setdefault(y, []).append((x,y)) for x, y in holes ]
# Result
print [ bk[3].pop(0), bk[4].pop(0), bk[5].pop(0) ] + random.sample(
bk[3] + bk[4] + bk[5], 3 )
Some times the crude method is the best meth
> I don't like special casing stuff and the 3 selections outside the> "main"
> flow sticks out in my solution.
I guess that is right. Any logic that is outside the main flow breaks
the beauty
and create kludge.
Attempted to solve the same problem using Erlang, and surprisingly what was
looking li
I have posted at, http://pastebin.com/BG6X70Sv
I don't understand why or how it got stripped.
Cheers,
On Tue, Dec 27, 2011 at 11:26 AM, Kenneth Gonsalves wrote:
> On Mon, 2011-12-26 at 17:34 +0530, Pratap Chakravarthy wrote:
>> Attached is the file.
>
> I think the att
Hi Ganesh, may be you can try this out,
> re.findall(r'Searching for OPUSH on([^\.\n\r]+)|Channel:([^\r\n]*)', str )
[(' 00:1D:FD:06:99:99 ', ''), ('', ' 9')]
where str contains the string you want to parse. And the regex
contains two groups, defined between (...), suggesting findall() to
search
> Mean no offence to you personally,
None taken. I believe Ganesh might take your more specific regex and
use that with findall() grouping to get what he wants. It is always a
good practice to be more specific in composing regular expressions,
carelessly composed PCRE (where P stands for Perl ;) )
an 3, 2012 at 8:53 PM, Gora Mohanty wrote:
> On Tue, Jan 3, 2012 at 8:31 PM, Pratap Chakravarthy
> wrote:
>>> Mean no offence to you personally,
>>
>> None taken.
>
> Thank you for taking things in a good spirit: Personally speaking,
> I discover almost each da
> *Really?* I believe that the ball is currently in your court.
> It was *your* regex that was broken, and badly, if I may
> add.
By saying broken, do you mean that this regex
r'Searching for OPUSH on([^\.\n\r]+)|Channel:([^\r\n]*)'
follows the pathological case of exponential complexity ? From
t and paste work
here ;)
On Tue, Jan 3, 2012 at 9:43 PM, Gora Mohanty wrote:
> On Tue, Jan 3, 2012 at 9:19 PM, Pratap Chakravarthy
> wrote:
>> The ball is in my court alright. But you have played my turn as well, with
>> your
>> explanations, and you played it good.
> +1 for anything really. Is there someone willing to talk about
> something?
Just this morning I was planning to make our web toolkit pluggdapps
compatible with PyPy. Since this is free software and since I am
planning to do some hands-on with PyPy in coming months. I can provide
a series of pres
Saw this mail in MumPy user group.
I am not sure of any institutes, however I also doubt if there are any.
But, there are a lot of online resources:
http://code.google.com/edu/languages/google-python-class/index.html
http://www.learnpythonthehardway.org/
http://www.learnpython.org/
h
> Out all examples and discussions, every one seems to recommend SQLAlchemy,
I did use ORM, SQLAlchemy, for medium size datastore. ORM can get in
your way once the size of data set grows. In my cases I had to change
my code to just use SQLAlchemy's expression language. Looking back, I
think there
Those who are uploading packages to PyPi might find this thread interesting.
http://mail.python.org/pipermail/catalog-sig/2012-January/004197.html
Cheers,
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpype
> On Thu, Feb 02, 2012 at 01:01:00AM +0530, Saju M wrote:
>> HI,
>>
>> I have a project developed in turbogears, i want to move it to Pyramid or
>> Django, which is the best option ???
The web back-end of pyramid is bfg.repoze. The design of pyramid is
lot cleaner and there is a ton of documentat
On Tue, Feb 28, 2012 at 1:19 PM, Aditya Sengupta wrote:
>
> I'm happy to report that NumPy has finally been added to Google App Engine, a
> very popular request that has been pending for several years:
>
> http://googleappengine.blogspot.in/2012/02/announcing-general-availability-of.html
>
> This
21 matches
Mail list logo