s/TPC/TCP ;)
--
http://mail.python.org/mailman/listinfo/python-list
e nice thing about zmq as opposed to signals is that you can code your
thing independantly from the transport
then choose which transport fits a situation: TPC (then the ctl can be
on another box), IPC or even ITC
That also means your ctl part can be portable to any platform
Cheers
On 10/19/12 11:29 PM, Steven D'Aprano wrote:
On Fri, 19 Oct 2012 12:09:53 +0200, Tarek Ziadé wrote:
On 10/19/12 11:51 AM, kampy wrote:
hi all,
my requirement is to have section with in a section in config
parameters ex:
[AAA]
[BBB]
a=1
b=1
[CCC]
a=1
On 10/19/12 12:22 PM, narasimha1...@gmail.com wrote:
yes but it is not only for one structure like above there will be many sections
like that
I'd use yaml or json then...
--
http://mail.python.org/mailman/listinfo/python-list
On 10/19/12 11:51 AM, kampy wrote:
hi all,
my requirement is to have section with in a section in config parameters
ex:
[AAA]
[BBB]
a=1
b=1
[CCC]
a=1
b=2
Any one help me in understanding how to make sure that config file to have a
structure like this and readin
On 9/26/12 11:26 AM, Andriy Kornatskyy wrote:
Tarek,
Thank you for the response back. Yes, your idea is pretty clear to me. The
point is that higher workload you put in your application business logic,
repository, backend, whatever... less you will see in final results comparison.
This is obv
On 9/25/12 3:21 PM, Andriy Kornatskyy wrote:
Tarek,
With all respect, running benchmark on something that has sleeps, etc is pretty
far from real world use case. So I went a little bit different way.
That's not a good summary of what the function does. It does not just
sleep. It does some I/O
On 9/23/12 11:19 AM, Andriy Kornatskyy wrote:
I have run recently a benchmark of a trivial 'hello world' application for
various python web frameworks (bottle, django, flask, pyramid, web.py,
wheezy.web) hosted in uWSGI/cpython2.7 and gunicorn/pypy1.9... you might find
it interesting:
http://
On 9/21/12 10:20 PM, gengyang...@gmail.com wrote:
Hello ,
I am currently using Python 3.2.3 . WHen I use the print function by typing print "Game
Over" , it mentions " SyntaxError : invalid syntax ". Any ideas on what the
problem is and how to resolve it ? Thanks a lot .
print was a stat
On 9/21/12 2:14 PM, xliiv wrote:
Python Paste is probably what you are looking for - see
http://lucasmanual.com/mywiki/PythonPaste for example
It's a nice beast but:
- it's not built in. Should it be? I think it should.
You can suggest this to python-ideas but I really doubt you will get any
t
On 9/21/12 12:07 PM, xliiv wrote:
Like the topic.. . I found this:
http://learnpythonthehardway.org/book/ex46.html
it seems fine, but shouldn't be an interactive (with CLI API) script creating
that? It's a lot of effort for common work.
I can contribute but i have to know that i'm not reinven
On 9/20/12 9:02 PM, py_lrnr wrote:
I am new to python and I have come across the following command and its
description:
Now to be able to run the project you will need to install it and its
>dependencies.
python setup.py develop
I looked up what the 'develop' argument does and found:
Extra
On 9/21/12 1:59 AM, Nobody wrote:
On Thu, 20 Sep 2012 23:06:46 +0200, Gelonida N wrote:
I'd like to implement the equivalent functionality of the unix command
/usr/bin/which
The function should work under Linux and under windows.
Note that "which" attempts to emulate the behaviour of execvp()
On 6/13/12 8:33 PM, Christian Heimes wrote:
Am 13.06.2012 16:56, schrieb Christian Heimes:
Am 13.06.2012 13:41, schrieb Tarek Ziadé:
Hey
I was surprised not to find any way to list all protocol names listed in
/etc/protocols in Python
We have
socket.getprotobyname(NAME)
But there's n
Hey
I was surprised not to find any way to list all protocol names listed in
/etc/protocols in Python
We have
socket.getprotobyname(NAME)
But there's no way to get the list of names
Any ideas if this is available in the stdlib somehwere ?
Thx
Tarek
--
http://mail.python.org/mailman/listinf
On 5/30/12 6:59 PM, Benoît Bryon wrote:
Hi,
Hi Benoit
you should post this to the distutils SIG
Thank you
Here is a proposal about naming conventions around
packaging.
Main question is: would you accept it as a PEP?
Preliminary notes (not p
omans wrote:
>
> On Jul 2, 2009, at 1:37 PM, Lie Ryan wrote:
>
>> Joachim Strömbergson wrote:
>>>
>>> Aloha!
>>>
>>> Tarek Ziadé wrote:
>>>>
>>>> The prefix is a good idea but since it's just a checksum to control
2009/7/2 Joachim Strömbergson :
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Aloha!
>
> Richard Brodie wrote:
>> "Joachim Str�mbergson" wrote in message
>> news:mailman.2422.1246418400.8015.python-l...@python.org...
>>
>>> Even so, choosing md5 in 2009 for something that (hopefully) will
On Wed, Jul 1, 2009 at 12:52 AM, Carl Banks wrote:
> On Jun 30, 12:41 pm, Tarek Ziadé wrote:
>> Hello,
>>
>> I would like to propose this PEP for inclusion into Python 2.7 / 3.2
>>
>> http://www.python.org/dev/peps/pep-0376/
>>
>> It has been discusse
c/tip/pkgutil.py
Regards
Tarek
--
Tarek Ziadé | http://ziade.org
--
http://mail.python.org/mailman/listinfo/python-list
ally I'd like to work on the documentation changes / clean-up for
> the unittest module discussed recently.
We are trying to set up a team here in Paris,
Personnally I would like to continue the work started in distutils
(various patches)
and some friends here are interested in contributi
endars/Python/
Enjoy!
TechVenue.com Eventmasters
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations.html
--
Tarek Ziadé | Association AfPy | www.afpy.org
Blog FR | http://programmation-pyth
I am answering to myself, if it can help someone else.
zlib has to be recompiled with CFLAGS set to -fPIC.
So before launching ./configure do a:
export CFLAGS="-fPIC"
Python then will build properly zlib.so
Tarek
--
http://mail.python.org/mailman/listinfo/python-list
On 1/6/07, Tarek Ziadé <[EMAIL PROTECTED]> wrote:
I am answering to myself, if it can help someone else.
zlib has to be recompiled with CFLAGS set to -fPIC.
So before launching ./configure do a:
export CFLAGS="-fPIC"
Python then will build properly zlib.so
Tarek
s Ende-Status zurück
running build_scripts
running install_lib
...
I've tried to recompile zlib, but didn't find any way to avoid this error
any ideas ?
Otherwise, does anyone has a zlib.so for fedora 64bits to send me ?
Thx
Tarek
--
Tarek Ziadé | Association AfPy | www.afpy.org
for promo item ideas is at:
http://wiki.python.org/moin/Advocacy/WearablesGadgets
All materials will be credited to the authors to the extent possible by
the
delivery media. Make your mark.
Jeff Rush <[EMAIL PROTECTED]>
Python Advocacy Coordinator
--
http://mail.python.org/mailman/listinfo/python-l
Is this just a forgotten change ? If so, why it is still deployed in Python ?I want to embed a Python read-eval-print loop in one of my python program, so if someone has another way to do it
RegardsTarek-- Tarek Ziadé | Association AfPy | www.afpy.orgSite personnel | http://programmation-pytho
x27;s time to implement the 'exit' builtin ? ;)
Failed example:
exit
Expected nothing
Got:
'Use Ctrl-D (i.e. EOF) to exit.'
Tarek-- Tarek Ziadé | Association AfPy | www.afpy.orgSite personnel | http://programmation-python.org
--
http://mail.python.org/mailman/listinfo/python-list
get it
English speaking programmers should get it too: it's a very pleasant way to learn french.
Enough marketing. -> More infos on its dedicated website: http://programmation-python.org
Best regards,
Tarek Ziadé
-- Tarek Ziadé | Association AfPy | www.afpy.orgSite personnel | http://p
35, *in* readline
char = self.sslobj.read(1)
socket.sslerror: The read operation timed out
>>> test = IMAP4_SSL('mail..com', 993)
>>> test.login('[EMAIL PROTECTED]', 'password')
('OK', ['LOGIN Ok.'])
--
Tarek Ziadé | Nuxeo R&D (Paris, France)
CPS Plateform : http://www.cps-project.org
mail: tziade at nuxeo.com | tel: +33 (0) 6 30 37 02 63
You need Zope 3 - http://www.z3lab.org/
--
http://mail.python.org/mailman/listinfo/python-list
Iyer, Prasad C wrote:
>Hi,
>I got a class which I need to serialize, except for couple of variable.
>i.e.
>
>import cPickle as p
>class Color:
>def __init__(self):
>print "hello world"
>self.x=10
>self.somechar="this are the characters"
>color=Color()
>f=file('poem.txt'
d ?
Tarek
--
Tarek Ziadé | Nuxeo R&D (Paris, France)
CPS Plateform : http://www.cps-project.org
mail: tziade at nuxeo.com | tel: +33 (0) 6 30 37 02 63
You need Zope 3 - http://www.z3lab.org/
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I am getting infos on the current process, under linux, by reading the
file pointed by:
'/proc/%d/status' % os.getpid()
huh :(
There's probably another way to do it on win32 but,
i was wondering if there's a way or an existing extension out there
to do make it work on any platform.
Regard
gene tani wrote:
>linux:
>http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/286222
>
>
Yes thanks I have found this one, I need to try it out,
but it does not provide a way to refcount,
Another solution could be to use trace maybe
I am going to try things out
Regards
--
http://mail.py
Martin v. Löwis wrote:
>Tarek Ziadé wrote:
>
>
>>I am trying to find a general memory profiler that can measure the
>>memory usage in Python program
>>and gather some stats about object usages, and things like that.
>>
>>
>
>As Diez says, us
exists i guess)
Thanks,
Tarek
--
Tarek Ziadé, Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM : http://www.z3lab.org
mail: tziade at nuxeo.com; tel: +33 (0) 6 30 37 02 63
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I want to write a small TCP Server in Python to make an IMAP Proxy for
post-processing client requests.
It is not long either complicated but needs to be very robust so...
maybe someone here has already done such a thing I can use or know where
i can get it ?
Cheers,
Tarek
--
http://mail.p
Hello,
anyone knows a way to deal with this problem ?
http://sourceforge.net/tracker/index.php?func=detail&aid=1153016&group_id=5470&atid=105470
This bug has been fixed in 2.3 but there is a regression in 2.4
Tarek
--
Tarek ZIADE, Nuxeo SARL: Zope Service Provider.
Mail: [EMAIL PROTECTED] -
Hi,
by googling for a ssl socket problem, i've seen you guys had the same
problem
ie : http://mail.python.org/pipermail/python-list/2005-April/278179.html
I have found the problem :
If you trace a little bit and look at __module__ attribute of the
socket, you will probably find out socket has
39 matches
Mail list logo