Re: (*args **kwargs) how do I use' em?

2011-06-11 Thread FELD Boris
A good tutorial will surely help : http://www.saltycrane.com/blog/2008/01/how-to-use-args-and-kwargs-in-python/ The idea between *args and *kwargs is to create function (callables) which accepts an arbitrary number of anonymous and/or keyword arguments. It's useful when you want to create a

Re: learnpython.org - an online interactive Python tutorial

2011-04-20 Thread FELD Boris
an excellent idea and, when the tutorials were expanded enough, i should be good to integrate it with python.org website (but it's more a dream than something else...) One question, if i want to write a tutorial about import mechanism, how can i manage the file system ? Nice work ! -- FELD Boris Sent

Re: Dump interpreter history?

2011-03-25 Thread FELD Boris
Take a look at : http://ipython.scipy.org/doc/manual/html/interactive/tutorial.html#use-your-input-history Cheers, FELD Boris -- FELD Boris Sent with Sparrow On vendredi 25 mars 2011 at 22:03, Ken D'Ambrosio wrote: Hey, all. A co-worker asked me a question, and I've got no idea how

Re: [OSX] side by side python

2011-03-21 Thread FELD Boris
problem, i use these Python versions without any problem on mac os x : 2.5, 2.6, 2.7, 3.0, 3.1, 3.2. -- FELD Boris Sent with Sparrow On lundi 21 mars 2011 at 13:31, Robert wrote: Can I install Python 2.7 and 3.2 (from python.org) side by side on OSX without them stepping all over each other

Re: side by side python

2011-03-21 Thread FELD Boris
Yes, i did not mention this solution, using virtualenv is a very good practice, but before create a virtualenv with a specific version of python, you must have installed it globally, isn't it ? Regards, -- FELD Boris Sent with Sparrow On lundi 21 mars 2011 at 14:45, macm wrote: On Mar 21, 9

Re: Printing from Web Page

2010-11-21 Thread FELD Boris
I think the best way to do this is using css with specific media type.Take a look at : http://martybugs.net/articles/print.cgi -- FELD BorisSent with Sparrow On dimanche 21 novembre 2010 at 03:35, Hidura wrote: