Re: [Tutor] Tutor FAQ

2006-05-03 Thread Kent Johnson
Mike Hansen wrote: > - > What are some good books on Python? > > See the Python wiki http://wiki.python.org/moin/PythonBooks or search > comp.lang.python or the tutor archives since this is a very frequently > asked. > > If you

Re: [Tutor] Tutor FAQ

2006-05-03 Thread Kent Johnson
Mike Hansen wrote: > - > What's the difference between "import foo" and "from foo import *"? > > import sys > > This brings the *name* "sys" into your module. (Technically, it binds the name "sys" to the object that is the sys mo

Re: [Tutor] Tutor FAQ

2006-04-27 Thread Alan Gauld
> Py2exe makes an executable of your Python program. For Windows only. > http://sourceforge.net/projects/py2exe/ > I believe Gordon McMillan's installer (now called pyInstaller) also makes Linux (and Irix!) executables so may be worth a link/mention here too. http://pyinstaller.hpcf.upr.edu/cg

Re: [Tutor] Tutor FAQ

2006-04-26 Thread Mike Hansen
Thanks Kent. I'll make those additions/corrections and rework the question about private and public attributes and methods. Mike On Apr 26, 2006, at 7:42 PM, Kent Johnson wrote: > Mike Hansen wrote: >> Here's the next batch of questions and answers for the tutor FAQ. If >> you have any clarific

Re: [Tutor] Tutor FAQ

2006-04-26 Thread Kent Johnson
Mike Hansen wrote: > Here's the next batch of questions and answers for the tutor FAQ. If > you have any clarifications or corrections, please let me know. I'll > try to post this on the web site in a couple of days. Thanks Mike! > -

Re: [Tutor] Tutor FAQ?

2006-04-24 Thread Fredrik Lundh
Mike Hansen wrote: > I'll post the questions and answers to the list first. If I don't get > any corrections or clarifications in a day or so after posting, I'll > add it to the tutor suggestion page. excellent! > Ed mentioned that you are using restructured text. Should I put > the entry in res

Re: [Tutor] Tutor FAQ?

2006-04-24 Thread Mike Hansen
On Apr 22, 2006, at 3:15 AM, Fredrik Lundh wrote: > Ed wrote: > >> I don't think the FAQ is open to public editing yet. I'm not sure >> when it will be, but Fredrik might be able to give a timescale. > > There are a few known conversion issues to deal with (the FAQ uses > a lot more "looks like

Re: [Tutor] Tutor FAQ?

2006-04-23 Thread Fredrik Lundh
Ed wrote: > I don't think the FAQ is open to public editing yet. I'm not sure > when it will be, but Fredrik might be able to give a timescale. There are a few known conversion issues to deal with (the FAQ uses a lot more "looks like markdown syntax" than the tutorial, which con- fused the conve

Re: [Tutor] Tutor FAQ?

2006-04-23 Thread Fredrik Lundh
> When Ed brought up the tutor/tutorial FAQ idea and yes, I'll change "tutorial FAQ" to "tutor FAQ", to make things a bit less confusing. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Tutor FAQ?

2006-04-22 Thread Ed Singleton
> Yep, I'm volunteering. Forgive my ignorance, but I couldn't seem to figure > out how to edit/add pages to http://pyfaq.infogami.com/. The tutorial wiki > has the edit, but the pyfaq page doesn't. I am logged in using my reddit > login. I don't think the FAQ is open to public editing yet. I'm no

Re: [Tutor] Tutor FAQ?

2006-04-21 Thread Mike Hansen
> - > > I need help; I'm getting an error in my program. What should I do? > > > > If you are getting an error in your Python program that you don't > > understand, post the error message and any relevant code. Post the > > exac

Re: [Tutor] Tutor FAQ?

2006-04-21 Thread Alan Gauld
I suspect the best way to generate a scientific list of FAQ is by scanning the subjects in the list archives. But here are a few more: Special function _xxx_ doesn't work - double underscore needed Lack of indentation or inconsistent indents - inc tabs and spaces How to name an object based on

Re: [Tutor] Tutor FAQ?

2006-04-21 Thread Kent Johnson
Mike Hansen wrote: > - > I need help; I'm getting an error in my program. What should I do? > > If you are getting an error in your Python program that you don't > understand, post the error message and any relevant code. Post th

Re: [Tutor] Tutor FAQ?

2006-04-21 Thread Mike Hansen
> > Maybe this could be integrated with the main Python FAQ in a > > beginner's section? Fredrik Lundh is experimenting with a > FAQ wiki here: > > http://pyfaq.infogami.com/ > > Actually I put something about this on PyFAQ just the other day. > Fredrik was quite keen on the idea, but I've b

Re: [Tutor] Tutor FAQ?

2006-04-21 Thread Danny Yoo
> I assume Kent, Alan and Danny don't mind their answers being reused in > the wiki, but it would probably best to get explicit permission from > them (and other people) to re-use text from their answers. I give explicit permission for any of my replies to be reused this way. ___

Re: [Tutor] Tutor FAQ?

2006-04-21 Thread Ed Singleton
On 21/04/06, Kent Johnson <[EMAIL PROTECTED]> wrote: > Ed Singleton wrote: > > If anyone here > > has ideas for questions that get asked a lot (like "How do I write a > > program that prints a word backwards") then just posting them in this > > thread would be a good start. > > We should be careful

Re: [Tutor] Tutor FAQ?

2006-04-21 Thread Alan Gauld
day, April 21, 2006 2:38 PM Subject: Re: [Tutor] Tutor FAQ? > -- Mike, if you're volunteering that would be perfect. If anyone here has ideas for questions that get asked a lot (like "How do I write a program that prints a word backwards"

Re: [Tutor] Tutor FAQ?

2006-04-21 Thread Kent Johnson
Ed Singleton wrote: > If anyone here > has ideas for questions that get asked a lot (like "How do I write a > program that prints a word backwards") then just posting them in this > thread would be a good start. We should be careful about posting solutions to homework problems, which this could e

Re: [Tutor] Tutor FAQ?

2006-04-21 Thread Ed Singleton
On 20/04/06, Kent Johnson <[EMAIL PROTECTED]> wrote: > Mike Hansen wrote: > > I'd like to send a big Thank You to Danny, Alan, Kent and others(whos names > > escape me) for being such an asset to the Python community by relentlessly > > answering questions on the tutor list.(Do these guys sleep? Th

Re: [Tutor] Tutor FAQ?

2006-04-20 Thread Mike Hansen
> Thanks! I do sleep but I have my email tied in to my clock > radio so whenever an email arrives on the tutor list I am > awakened to answer it ;) Hmmm.. I wouldn't be surprised if there's an X10 module that does that. =) [...] > Maybe this could be integrated with the main Python FAQ in a

Re: [Tutor] Tutor FAQ?

2006-04-20 Thread Alan Gauld
> I'd like to send a big Thank You to Danny, Alan, Kent and others Over the years there have been many, some have moved from tutor list to c.l.python others have just got too busy. Others reappear and then disappear again at intervals. (Who remembers Ivan, Gregor, Magnus etc etc.) > answering qu

Re: [Tutor] Tutor FAQ?

2006-04-20 Thread Eric Walker
Kent Johnson wrote: Mike Hansen wrote: I'd like to send a big Thank You to Danny, Alan, Kent and others(whos names escape me) for being such an asset to the Python community by relentlessly answering questions on the tutor list.(Do these guys sleep? They must work in shifts.) This list is one

Re: [Tutor] Tutor FAQ?

2006-04-20 Thread Kent Johnson
Mike Hansen wrote: > I'd like to send a big Thank You to Danny, Alan, Kent and others(whos names > escape me) for being such an asset to the Python community by relentlessly > answering questions on the tutor list.(Do these guys sleep? They must work > in shifts.) This list is one of the most civil