Re: install python 2.6 on Ubuntu 12.04

2012-05-22 Thread Sebastien Douche
On Wed, May 23, 2012 at 1:47 AM, Gelonida N  wrote:
> What would be the recommended way to install (compile) 2.6 on 12.04?

Hi,
I manage my own Python interpreters with Pythonbrew (I don't use the
global Python):

http://pypi.python.org/pypi/pythonbrew/


-- 
Sebastien Douche 
Twitter: @sdouche / G+: +sdouche
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Execute a method in a file in an egg

2011-08-24 Thread Sebastien Douche
On Wed, Aug 24, 2011 at 12:04, Gabriel Genellina  wrote:
>> Is there a way to do this from the command line? Thanks.
>
> Something like this?
>
> python -c "import the.module;the.module.someclass().method(arguments)"

Or with console_scripts option in setup.py.


-- 
Sebastien Douche 
Twitter : @sdouche
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.7 Debian 6.0. Squeeze

2011-05-18 Thread Sebastien Douche
On Thu, May 12, 2011 at 17:27, Jorge Romero  wrote:

> I tried Googling about Python 2.7 on Debian Squeeze, but did not find
> anything but discussions -.-. Anyone out there that can point me some
> helpful material or anyone who had luck running 2.7 on Debian?

I use pythonbrew :
http://pypi.python.org/pypi/pythonbrew



-- 
Sebastien Douche 
Twitter: @sdouche (agile, lean, python, git, open source)
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: books: Dive into Python vs Beginning Python

2005-11-25 Thread Sebastien Douche
On 11/25/05, Franz Mueller <[EMAIL PROTECTED]> wrote:
> Hi,

Hi Franz! :)

> which of the following books would you recommend:
> "Dive into Python" or "Beginning Python: From Novice to Professional"?

Both are very good books but I suggest the latter because more recent.
Beginning Python talk python 2.3 and 2.4 : set data structure,
generator, iterator...



--
Sébastien Douche <[EMAIL PROTECTED]>
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: General question about Python design goals

2005-11-28 Thread Sebastien Douche
On 11/28/05, Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
> Sometimes I find myself stumbling over Python issues which have to do
> with what I perceive as a lack of orthogonality.

I use this thread to asking on python conception : why python have so
many builtins ?
I cannot understand why we use a builtins for open a file. Is it a old
decision ? If anyone have a pointer of this or can explain me.

Regards.


--
Sébastien Douche <[EMAIL PROTECTED]>
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: report a BUG of package setuptools-0.6c8.

2008-09-21 Thread Sebastien Douche
2008/9/20 Carl Banks <[EMAIL PROTECTED]>:
> On Sep 20, 1:11 am, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
>> 为爱而生 wrote:
>> >   File "/usr/lib/python2.5/site-packages/setuptools/command/sdist.py",
>> > line 98, in entries_finder
>> > log.warn("unrecognized .svn/entries format in %s", dirname)
>> > NameError: global name 'log' is not defined
>>
>> > global name 'log' is not defined to the line 98!!!
>>
>> please report bugs here:
>>
>>  http://bugs.python.org/
>
> Does bugs.python.org track bugs for setuptools?  (Genuine question;
> the PEAK site doesn't list an obvious way to report bugs so I wonder
> if they're using bugs.python.org?  Hope not)
>
> If not, the OP should ask on the setuptools mailing list.

http://bugs.python.org/setuptools/

BTW, this blocker bug (Setuptools and SVN 1.5.x)  is known for 2 months *sigh*.

-- 
Seb
--
http://mail.python.org/mailman/listinfo/python-list

Re: report a BUG of package setuptools-0.6c8.

2008-09-21 Thread Sebastien Douche
On Sun, Sep 21, 2008 at 19:56, Gabriel Genellina <[EMAIL PROTECTED]> wrote:
>> http://bugs.python.org/setuptools/
>
> And how do people manage to know that?

Bugtracker send emails on setuptools mailing list.

-- 
Seb
--
http://mail.python.org/mailman/listinfo/python-list