Re: Python docs disappointing

2009-08-02 Thread Mohan Parthasarathy
I am a newbie and about a month old with Python. There is a wealth of material about Python and I am really enjoying learning Python. One thing that could have helped Python documentation is that instead of the very "raw" doc string, it could have used something like PythonDoc (java doc style) so

Bridging Python and C

2009-07-23 Thread Mohan Parthasarathy
Hi, I am a newbie. It looks like there are quite a few ways to bridge Python and C. I have a bunch of C code and I just need Python wrappers for it. If i google for this I get SWIG, Boost etc. And I also see http://www.python.org/doc/2.5.2/ext/intro.html What is the recommended way for doing this

Re: Calling functions: Why this complicated ?

2009-07-14 Thread Mohan Parthasarathy
Chris, Thanks for your clarifications > > I am a newbie. I am reading > > http://www.network-theory.co.uk/docs/pytut/KeywordArguments.html > > Defining a function with "N" arguments and calling them in "M" different > > ways. Why does it have to be this complicated ? I like the idea of > calling

Calling functions: Why this complicated ?

2009-07-14 Thread Mohan Parthasarathy
Hi, I am a newbie. I am reading http://www.network-theory.co.uk/docs/pytut/KeywordArguments.html Defining a function with "N" arguments and calling them in "M" different ways. Why does it have to be this complicated ? I like the idea of calling the function by explicitly naming the arguments, but

Re: Seeking old post on developers who like IDEs vs developers who like simple languages

2009-05-28 Thread Mohan Parthasarathy
On Mon, May 18, 2009 at 12:31 AM, Ulrich Eckhardt wrote: > Steve Ferg wrote: > > On the one hand, there are developers who love big IDEs with lots of > > features (code generation, error checking, etc.), and rely on them to > > provide the high level of support needed to be reasonably productive >

Re: Performance java vs. python

2009-05-19 Thread Mohan Parthasarathy
On Tue, May 19, 2009 at 10:42 AM, Daniel Fetchinson < fetchin...@googlemail.com> wrote: > >> >> On the one hand, there are developers who love big IDEs with lots of > >> >> features (code generation, error checking, etc.), and rely on them to > >> >> provide the high level of support needed to be

Performance java vs. python

2009-05-19 Thread Mohan Parthasarathy
On Mon, May 18, 2009 at 5:56 AM, Aahz wrote: > In article , > Ulrich Eckhardt wrote: > >Steve Ferg wrote: > >> > >> On the one hand, there are developers who love big IDEs with lots of > >> features (code generation, error checking, etc.), and rely on them to > >> provide the high level of supp

Circular relationship: object - type

2009-05-14 Thread Mohan Parthasarathy
Hi, I have read several articles and emails: http://www.cafepy.com/article/python_types_and_objects/python_types_and_objects.html#relationships-transitivity-figure http://mail.python.org/pipermail/python-list/2007-February/600128.html I understand how type serves to be the default metaclass whe

How to see the code definiton in the shell ?

2009-05-13 Thread Mohan Parthasarathy
Hi, I am new to Python. I tried searching this but could not find an answer. In the interactive shell, I write a new function and I want to be able to see all the code that I wrote at a later time. Just typing the function name only shows >>> allmethods How do I see the actual code ? thanks mo