Re: Are rank noobs tolerated, here?

2008-05-07 Thread notbob
On 2008-05-06, hdante <[EMAIL PROTECTED]> wrote: > When you have a problem with your code, always post here the complete > code and a complete execution. For example: I'll keep this example. Thnx. > /--\ glued > | bruce | --> 42 > \--/ > > When you use a stamp, it r

Re: Are rank noobs tolerated, here?

2008-05-06 Thread Jeffrey Froman
notbob wrote: > Do python scripts require the: > > #!/usr/bin/env python An appropriate shebang is required if you intend to use the module itself as a script, from the command line, like: $ ./my_module.py argument argument ... It is not required merely to import the module into a python

Re: Are rank noobs tolerated, here?

2008-05-06 Thread notbob
On 2008-05-06, Jeffrey Froman <[EMAIL PROTECTED]> wrote: > Nice to see another Slackware user around here! Likewise. ;) > That's correct. A function doesn't generally *do* anything until it is > called. Here, it is only defined. The only thing this function does when > called is to print the v

Re: Are rank noobs tolerated, here?

2008-05-06 Thread hdante
On May 5, 3:43 pm, notbob <[EMAIL PROTECTED]> wrote: > > -- > > "Here is an example of a user-defined function that has a parameter: > > def print_twice(bruce): > print bruce, bruce > > > ME > is this just an example of how the def should be written and it doesn't > really do an

Re: Are rank noobs tolerated, here?

2008-05-06 Thread Jeffrey Froman
notbob wrote: > I'm running > vers 2.5.1 on slackware 12. Nice to see another Slackware user around here! > "Here is an example of a user-defined function that has a parameter: > > > def print_twice(bruce): > print bruce, bruce > is this just an example of how the def should be written a

Re: Are rank noobs tolerated, here?

2008-05-06 Thread alex23
On May 6, 4:43 am, notbob <[EMAIL PROTECTED]> wrote: > "Here is an example of a user-defined function that has a parameter: > > def print_twice(bruce): > print bruce, bruce > ME > ok, I try and follow the above, but where is he getting the script? So, I > make a script called chap03.py

Re: Are rank noobs tolerated, here?

2008-05-05 Thread Mensanator
On May 5, 1:43 pm, notbob <[EMAIL PROTECTED]> wrote: > On 2008-05-04, notbob <[EMAIL PROTECTED]> wrote: > > > I'm trying to learn how to program.  I'm using: > > > How to Think Like a Computer Scientist > > > Learning with Python > > 2nd Edition > > http://openbookproject.net//thinkCSpy/index.xhtml

Re: Are rank noobs tolerated, here?

2008-05-05 Thread notbob
On 2008-05-04, notbob <[EMAIL PROTECTED]> wrote: > I'm trying to learn how to program. I'm using: > > How to Think Like a Computer Scientist > > Learning with Python > 2nd Edition http://openbookproject.net//thinkCSpy/index.xhtml OK then, using the above, I get everything up till chap 3 and

Re: Are rank noobs tolerated, here?

2008-05-04 Thread Ben Finney
notbob <[EMAIL PROTECTED]> writes: > Am I likely to receive any help, here, or is there another irc, > forum, etc, that might better serve a complete amateur such as > myself. Thnx. This forum is particularly welcoming to newbies, I've found. Go ahead and start a new thread for any Python questio

Re: Are rank noobs tolerated, here?

2008-05-04 Thread Benjamin
On May 4, 6:45 pm, notbob <[EMAIL PROTECTED]> wrote: > I'm trying to learn how to program. I'm using: > > How to Think Like a Computer Scientist > > Learning with Python > 2nd Edition > > Am I likely to receive any help, here, or is there another irc, forum, etc, > that might better serve a comple

Re: Are rank noobs tolerated, here?

2008-05-04 Thread CM
On May 4, 7:45 pm, notbob <[EMAIL PROTECTED]> wrote: > I'm trying to learn how to program. I'm using: > > How to Think Like a Computer Scientist > > Learning with Python > 2nd Edition > > Am I likely to receive any help, here, or is there another irc, forum, etc, > that might better serve a comple

Re: Are rank noobs tolerated, here?

2008-05-04 Thread Patrick Mullen
There is also the python tutor list: http://mail.python.org/mailman/listinfo/tutor Which is more geared toward beginners. Although I am subscribed to both lists, and they are both matched by the same filter for me so I wont know the difference... But there may be people who are not subscribed t

Re: Are rank noobs tolerated, here?

2008-05-04 Thread Glenn Hutchings
notbob <[EMAIL PROTECTED]> writes: > Am I likely to receive any help, here, or is there another irc, forum, etc, > that might better serve a complete amateur such as myself. Thnx. You're very likely to receive help here. Or at the very least, people will point you at the best place to get it. F

Are rank noobs tolerated, here?

2008-05-04 Thread notbob
I'm trying to learn how to program. I'm using: How to Think Like a Computer Scientist Learning with Python 2nd Edition Am I likely to receive any help, here, or is there another irc, forum, etc, that might better serve a complete amateur such as myself. Thnx. nb -- http://mail.python.org/m