On 26/07/12 19:06, Benjamin Fishbein wrote:
I'm trying to learn "posting"
Can you explain what 'posting' is?
I've no idea what you mean. Are you talking about web transactions?
Or using message boards? Or something else?
I haven't the foggiest notion what the going rate is for
> private co
Hello,
I'm trying to learn "posting" and am having a very hard time at it. I'm going
to hire someone to give me a private lesson, so I put up a notice on
Northwestern's CS bulletin board--probably a student there'll be able to help.
How much money should I offer? I haven't the foggiest notion wha
On 27/07/2012, Jerry Hill wrote:
...
inspect.getargspec(logging.log)
> ArgSpec(args=['level', 'msg'], varargs='args', keywords='kwargs',
> defaults=None)
...
> Also, the help object itself is written in python. You can look at
> the source in pydoc.py
On 27/07/2012, Steven D'Aprano wrote:
> > Trying to make things "private" is a throwback to Java. In Python
> > the tendency is to just leave everything "public". And "private" is with
> > one underbar/underscore.
[snip]
> In general, I recommend that beginners avoid double leading underscore methods
> until they are no longer beginner
David wrote:
Please help me understand the following (I have python 2.6.2) ...
Because I want to write nice docstrings, I read PEP257 where it says:
"The one-line docstring should NOT be a "signature" reiterating the
function/method parameters (which can be obtained by introspection)."
As a ge
On Thu, Jul 26, 2012 at 9:48 AM, David wrote:
> A related question:
> help() seems to do the introspection for me. Does python allow me to do it in
> my own code? Specifically, how might I write my own function to mimic line 3
> of
> help(), appearing like so:
>
my_function(logging.log)
> "l
Please help me understand the following (I have python 2.6.2) ...
Because I want to write nice docstrings, I read PEP257 where it says:
"The one-line docstring should NOT be a "signature" reiterating the
function/method parameters (which can be obtained by introspection)."
I am understanding this