Re: [Tutor] Tutor Digest, Vol 130, Issue 28

2014-12-16 Thread Alan Gauld
On 16/12/14 12:16, Jim Gallaher wrote: Sunil Bharuchi, I have that same book so I can answer this question. The code can be found at the author's site. programgames.com Thanks for answering the question but please, in future, provide a meaningful subject line (for archive purposes) and also

Re: [Tutor] Tutor Digest, Vol 130, Issue 28

2014-12-16 Thread Jim Gallaher
Sunil Bharuchi, I have that same book so I can answer this question. The code can be found at the author's site. programgames.com > On Dec 16, 2014, at 05:00, tutor-requ...@python.org wrote: > > Send Tutor mailing list submissions to >tutor@python.org > > To subscribe or unsubscribe via t

Re: [Tutor] Python 3.4.1 ImportError Linux

2014-12-16 Thread James Chapman
> Further to my last email, here's some reading regarding Python Paths > > http://www.stereoplex.com/blog/understanding-imports-and-pythonpath ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/m

Re: [Tutor] Is there an easily or shorter way?

2014-12-16 Thread Albert-Jan Roskam
- Original Message - > From: Danny Yoo > To: Ken G. > Cc: Python Tutor Mailing List > Sent: Monday, December 15, 2014 10:45 PM > Subject: Re: [Tutor] Is there an easily or shorter way? > >> As a side note: if we were to talk about how we'd do this in a >> professional context, I think

[Tutor] RESOLVED: Re: Is there an easily or shorter way?

2014-12-16 Thread Ken G.
On 12/15/2014 07:47 PM, Danny Yoo wrote: Thank you but actually whatever number I get from either 1 to 28, each number represent a property name such as "Reading Railroad", "Judy Avenue", "Pacific Gas and Electric", etc., etc. For example: if x = 1 then print "Mediterranean Avenue" if x = 2 th

Re: [Tutor] Python 3.4.1 ImportError Linux

2014-12-16 Thread James Chapman
cd .. Terminal (~/lorem): python3 app/main.py import statement is relative to pwd. -- James On 16 December 2014 at 14:18, Juan Christian wrote: > > Python 3.4.1 > Fedora 21 Server > > My paths: > ~/lorem > ~/lorem/app > ~/lorem/core > > I want to execute: ~/lorem/app/main.py > > Terminal (~/l

[Tutor] Python 3.4.1 ImportError Linux

2014-12-16 Thread Juan Christian
Python 3.4.1 Fedora 21 Server My paths: ~/lorem ~/lorem/app ~/lorem/core I want to execute: ~/lorem/app/main.py Terminal (~/lorem/app): python3 main.py Traceback (most recent call last): File "app/main.py", line 5, in from core.backpack import BackpackThread ImportError: No module named 'core'

Re: [Tutor] program code for Python Programming for the Absolute Beginner, 3rd ed.?

2014-12-16 Thread Alan Gauld
On 16/12/14 04:06, Sunil Bharuchi wrote: I went to the website (www.courseptr.com/downloads) to download the source code (py3e_source.zip). It's not there. Where can I get it the source code? Try using Google with python absolute beginners source code -- Alan G Author of the Learn to Program

Re: [Tutor] program code for Python Programming for the Absolute Beginner, 3rd ed.?

2014-12-16 Thread Sunil Bharuchi
I went to the website (www.courseptr.com/downloads) to download the source code (py3e_source.zip). It's not there. Where can I get it the source code? -- Sunil Bharuchi sunilkumar.bharuchi@mail.mil sbharu...@gmail.com (C) 408.644.7626 ___ Tutor mail