Re: [Tutor] Which computer operating system is best for Python

2014-02-06 Thread Alan Gauld
On 06/02/14 02:11, Steven D'Aprano wrote: But still complex. And you're limited by the (lack of) stability of Windows. Unless you are running a server a modern Windows set up is stable enough. Since windows 7 and 8 the core OS is far better than earlier incarnations. I've only had one BSOD

Re: [Tutor] Which computer operating system is best for Python

2014-02-06 Thread Steven D'Aprano
Hi Sasha, and welcome! On Thu, Feb 06, 2014 at 07:41:12AM +, Sacha Rook wrote: Hi as much as I like chrome books My opinion so I would rather give him a laptop ^^^ Her. I'll just drop this link here:

Re: [Tutor] Which computer operating system is best for Python

2014-02-06 Thread Steven D'Aprano
On Thu, Feb 06, 2014 at 10:09:07PM +1100, Steven D'Aprano wrote: Hi Sasha, and welcome! Correction, Sacha. Sorry about that, I know how annoying it is to have your name misspelled. -- Steven ___ Tutor maillist - Tutor@python.org To unsubscribe

Re: [Tutor] Advice on Python codes - A recursive function to output entire directory subkeys of Windows Registry

2014-02-06 Thread spir
On 02/05/2014 04:30 PM, Alan Ho wrote: Hi, I am a novice in Python, having attended a course few weeks ago and I'm working on my assignment now, and I encounter this issue when I was trying to print the entire Windows Registry (WR) sub-keys directories (trying that first with the below codes

Re: [Tutor] Which computer operating system is best for Python

2014-02-06 Thread spir
On 02/06/2014 12:13 AM, Alan Gauld wrote: On 05/02/14 18:34, Colin Chinsammy wrote: I am considering purchasing the Acer c720 chromebook for my 13yo to begin learning Python for Kids. Obviously I am on a budget. I wouldn't consider a Chromebpook for anyone learning programming. They are fine

Re: [Tutor] Which computer operating system is best for Python

2014-02-06 Thread spir
On 02/06/2014 02:51 AM, Tim Krupinski wrote: The reason I suggest Linux is because a lot of Python is used in it already. People was also designed (according to Guido vR) to please Unix/C hackers. d ___ Tutor maillist - Tutor@python.org To

Re: [Tutor] Which computer operating system is best for Python

2014-02-06 Thread Neil Cerutti
On 2014-02-06, Alan Gauld alan.ga...@btinternet.com wrote: And for a beginner who is only programming casually and likely doing other things with the PC a Windows box makes a lot of sense since other programs are more plentiful and generally better quality for casual use. If you want to

Re: [Tutor] Which computer operating system is best for Python

2014-02-06 Thread leam hall
On Thu, Feb 6, 2014 at 8:38 AM, Neil Cerutti ne...@norwich.edu wrote: Linux is a great OS for a child to learn computing and programming on, provided the parent knows it well enough to train the student on it. If not, it's just inviting needless headaches. Look at http://www.edubuntu.org/

[Tutor] learning recursion

2014-02-06 Thread Denis Heidtmann
Running python 2.7 on Ubuntu 12.04 Code: def fib2(n): if n==1: return 1 elif n==2: return 1 else: return fib2(n-2) +fib2(n-1) The above works: fib2(7) 13 fib2(4) 3 for i in range(4): ... print fib2(i) ... The above results in an error: Traceback (most recent call last): File stdin,

Re: [Tutor] learning recursion

2014-02-06 Thread Peter Otten
Denis Heidtmann wrote: Running python 2.7 on Ubuntu 12.04 Code: def fib2(n): if n==1: return 1 elif n==2: return 1 else: return fib2(n-2) +fib2(n-1) The above works: fib2(7) 13 fib2(4) 3 for i in range(4): ... print fib2(i) ... The above results in an error:

Re: [Tutor] learning recursion

2014-02-06 Thread Neil Cerutti
On 2014-02-06, Denis Heidtmann denis.heidtm...@gmail.com wrote: Running python 2.7 on Ubuntu 12.04 Code: def fib2(n): if n==1: return 1 elif n==2: return 1 else: return fib2(n-2) +fib2(n-1) Something ate your leading spaces. Keep in mind that that makes most Python code unrecoverably

Re: [Tutor] learning recursion

2014-02-06 Thread Danny Yoo
Ah. Consider what range(4) looks like. It's similar to the sequence: [0, 1, 2, 3] What happens when you do fib2(0)? :P Here's your program (modified with a correction) on repl.it, for convenience: http://repl.it/O30 ___ Tutor maillist -

Re: [Tutor] Which computer operating system is best for Python

2014-02-06 Thread Oscar Benjamin
On 6 February 2014 09:46, Alan Gauld alan.ga...@btinternet.com wrote: On 06/02/14 02:11, Steven D'Aprano wrote: But still complex. And you're limited by the (lack of) stability of Windows. Unless you are running a server a modern Windows set up is stable enough. Since windows 7 and 8 the

[Tutor] good django book?

2014-02-06 Thread Christopher Spears
Can anyone recommend a good Django book? I have been looking on Amazon, and the books seem to be out of date. Thanks, Chris ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options:

Re: [Tutor] learning recursion

2014-02-06 Thread Dave Angel
Denis Heidtmann denis.heidtm...@gmail.com Wrote in message: Please post in text, not html. Your posting program loses the indentation in the text view, which is what most people see. Code: def fib2(n): if n==1: return 1 elif n==2: return 1

[Tutor] Lelani Slabber

2014-02-06 Thread Lelani Slabber
http://weiss-trockenbau.net/um/tlsw.rnwvq___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor