Hello,
A new french book is coming out on the 16th of august. It's focused on
Python good practices, agility, and all the things that makes a Python
developer loves the language.
If you are interested, the web page is here :
http://programmation-python.org/guide
Regards
Tarek
--
Tarek Ziadé
--
http://mail.python.org/mailman/listinfo/python-list
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 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 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
his. I pointed to this page to show
a typical use case of building Paster Templates, so you can bootstrap
your projects boiler-plate code
So IOW everyone's free to create any kind of template :)
Cheers
Tarek
--
http://mail.python.org/mailman/listinfo/python-list
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
r down
of the server)
I would be curious to see how things goes then
Cheers
Tarek
--
http://mail.python.org/mailman/listinfo/python-list
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 som
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
logic on the top of ConfigParser to read back those
values
HTH
Tarek
--
http://mail.python.org/mailman/listinfo/python-list
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: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 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
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/ma
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
I have created Python with Oracle Database Course, and offer 50% discount till
10-5-2016.
Any one interested in course just click on below link.
https://www.udemy.com/using-python-with-oracle-db/?
Then write coupon Code=PYTHON_ORACLE_50%25
--
https://mail.python.org/mailman/listinfo/python-lis
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
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
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
work on any platform.
Regards,
Tarek
--
http://mail.python.org/mailman/listinfo/python-list
over
code performance measurement. This is pretty good, but the major caveat
is that if the CPU is busy
, it can be slower than expected.
So i've introduced a tolerance flag, (another approach than the three
times run like hotshot does).
Any comment ?
Any alternatives to pystone in min
considered private
to the class.
(ie: can't be reached by "instance.__attribute")
even though you can find it if you dig into instance.__dict__
Regards,
Tarek
--
http://mail.python.org/mailman/listinfo/python-list
e ssl socket, but...)
Tarek
Traceback:
>>> from imaplib import IMAP4_SSL, IMAP4_SSL_PORT
>>> import socket
>>> test = IMAP4_SSL('mail..com', 993)
>>> test.sock.settimeout(10)
>>> test.login('[EMAIL PROTECTED]', 'password&
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
s/TPC/TCP ;)
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
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
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
egrated timeout mechanism in sockets so you
should remove all timeoutsocket.py you have in your paths
Regards
Tarek
--
Tarek ZIADE, Nuxeo SARL: Zope Service Provider.
Mail: [EMAIL PROTECTED] - Tel: +33 (0)6 30 37 02 63
Nuxeo Collaborative Portal Server: http://www.nuxeo.com/cps
Gestion de conten
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: [EMA
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
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
hello
please, I have this error, error C1083 Cannot open
include file BaseTsd.h, invalide argument, I installed the platformSDK ,
but the
same error , can you help me
__
Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure
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
type(v) != ListType else sorted(v)) for k,v in
sorted(self.items()) if k != 'oauth_signature']
So it there a way to convert this line to a python2.4 compliant
syntax.
Thanks a lot,
Tarek
--
http://mail.python.org/mailman/listinfo/python-list
Thanks a lot everybody for your help, it worked now :)
On Feb 28, 4:12 am, MRAB wrote:
> tarek...@gmail.com wrote:
> > Hi,
>
> > I am currently using oauth2.py library, and it works fine on one of my
> > PC's (python2.5), but later on when I tried to use it with pyt
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 discussed a lot already in the distutils-SIG, but new
feedbacks are welcome
there's an implementation prototype here :
http://bitbucket.org/tarek/pep376/sr
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
secured way to prevent that would be to use gpg keys but
isn't that overkill for what we need ?
e.g. making sure a file wasn't modified when distutils uninstalls a
distribution.
Tarek
--
http://mail.python.org/mailman/listinfo/python-list
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
45 matches
Mail list logo