[Tutor] Alert to all Experienced Python Software Object Oriented Programmers-Novice Needs Help In Understanding Textbook

2014-08-17 Thread Stephen Mik
Greetings Python Community: I am new to Computer Programming with Python,having finished an 8 week Introductory Course. The Instructor used the Textbook:Python Programming,3rd Edition (for the absolute beginner) by Michael Dawson;Cengage Learning, Course Technology Copyright 2010 ISBN-13:

Re: [Tutor] Alert to all Experienced Python Software Object Oriented Programmers-Novice Needs Help In Understanding Textbook

2014-08-17 Thread Alan Gauld
On 17/08/14 03:58, Stephen Mik wrote: Introductory Course. The Instructor used the Textbook:Python Programming,3rd Edition (for the absolute beginner) by Michael Dawson;... ran into stiff headwinds when I tried to read Ch.8,Software Objects (I'm scheduled to take a JavaScript class shortly

[Tutor] python ssl error

2014-08-17 Thread Matthew Ngaha
Hi this might not be the correct place to ask this. I am using the google api and as soon as I use the build function: service = build('books', 'v1', developerKey=api_key) I get an SSL error. I'm not sure what build() does but it triggers an SSL error. Here's the error message:

Re: [Tutor] Alert to all Experienced Python Software Object Oriented Programmers-Novice Needs Help In Understanding Textbook

2014-08-17 Thread ALAN GAULD
Forwarding to the list, please use ReplyAll to include the list.   Alan Gauld Author of the Learn To Program website http://www.alan-g.me.uk/ http://www.flickr.com/photos/alangauldphotos From: diliup gabadamudalige dili...@gmail.com To: Alan Gauld

[Tutor] Python = {0}.format

2014-08-17 Thread abid saied
Hi, I’m in the process of teaching myself python. Can someone have a look at the text in red and explain please. # String exercise 2 print(Quote Formatter) print(This program displays a given quote in different formats) print() # Why is this needed? quote = input(Please enter a quote to

[Tutor] print string

2014-08-17 Thread Sajjadul Islam
Hello forum, I have started working with python 2.7.6 and i am trying to print the following string value: print(Same, message, as before) and i am supposed to get Same message as before. But i am getting the following : (Same, message, as before) Any hint whats wrong? Thanks

Re: [Tutor] python ssl error

2014-08-17 Thread Danny Yoo
On Sun, Aug 17, 2014 at 5:14 AM, Matthew Ngaha chigga...@gmail.com wrote: Hi this might not be the correct place to ask this. I am using the google api and as soon as I use the build function: service = build('books', 'v1', developerKey=api_key) I get an SSL error. I'm not sure what

Re: [Tutor] print string

2014-08-17 Thread Alan Gauld
On 17/08/14 14:11, Sajjadul Islam wrote: Hello forum, I have started working with python 2.7.6 and i am trying to print the following string value: print(Same, message, as before) Looks like you are using a Python v3 tutorial on Python 2.7. The syntax of printing changed a lot in Python 3.

Re: [Tutor] Python = {0}.format

2014-08-17 Thread Ben Finney
abid saied abidsa...@gmail.com writes: I’m in the process of teaching myself python. Congratulations, and welcome. Can someone have a look at the text in red and explain please. Text comes through as text. Don't rely on fonts, colours, or other non-text markup to survive. If you want to

Re: [Tutor] print string

2014-08-17 Thread Ben Finney
Sajjadul Islam sajjadul.islam...@gmail.com writes: I have started working with python 2.7.6 In addition to the other responses: You should use Python 3 if at all possible. It is in active development and much more suitable for learning today. -- \ “Ignorance more frequently

Re: [Tutor] Python = {0}.format

2014-08-17 Thread Alan Gauld
On 17/08/14 15:50, abid saied wrote: Hi, I’m in the process of teaching myself python. Can someone have a look at the text in red and explain please. print(This program displays a given quote in different formats) print() # Why is this needed? Its not it only adds a bnlank line. You could

Re: [Tutor] Python = {0}.format

2014-08-17 Thread Danny Yoo
print(The original quote is: {0}.format(quote)) print(The new quote is:{0}.format(quote.replace(replaceWord,replaceWith))) Hi Abid, You should be able to change this to the equivalent code: print(The original quote is: + quote) print(The new quote is: +

[Tutor] Building Starships -- object of type 'int' has no len()

2014-08-17 Thread Terry--gmail
WOW! There is a lot of help on this mailing list! I want to thank everyone for their valuable input! Thanks! (I am working my way through the replies.) Sorry about the HTML. I think I have it turned off now in Thunderbirdy for this address. If so, then what follows should not be flat. If it

Re: [Tutor] python ssl error

2014-08-17 Thread Matthew Ngaha
On Sun, Aug 17, 2014 at 11:26 PM, Danny Yoo d...@hashcollision.org wrote: I would recommend checking whether the 'cacerts.txt' file in that subdirectory is user-readable or not. Make sure it's readable. If it isn't, chmod it and try again: that will probably fix it. Thanks ever so much for

Re: [Tutor] Alert to all Experienced Python Software Object Oriented Programmers-Novice Needs Help In Understanding Textbook

2014-08-17 Thread ALAN GAULD
Forwarding to list, Use ReplyAll to respond to the list. Alan Gauld Author of the Learn To Program website http://www.alan-g.me.uk/ http://www.flickr.com/photos/alangauldphotos requirement to see hard copy of your material,which my printer seems to balk at Try the PDF version ofthe  v2

Re: [Tutor] Building Starships -- object of type 'int' has no len()

2014-08-17 Thread Alan Gauld
On 18/08/14 00:48, Terry--gmail wrote: Sorry about the HTML. I think I have it turned off now in Thunderbirdy for this address. If so, then what follows should not be flat. If it is flat, please tell me. Still flat for me... Sorry. The fact is, I am VERY interested in acquiring that

Re: [Tutor] Building Starships -- object of type 'int' has no len()

2014-08-17 Thread Marc Tompkins
On Sun, Aug 17, 2014 at 4:48 PM, Terry--gmail terry.kemme...@gmail.com wrote: WOW! There is a lot of help on this mailing list! I want to thank everyone for their valuable input! Thanks! (I am working my way through the replies.) Sorry about the HTML. I think I have it turned off now in

Re: [Tutor] Building Starships -- object of type 'int' has no len()

2014-08-17 Thread Terry--gmail
I found another place in Thunderbirdy to set 'plain text'. This is a test. Does the below code look correct now? --And did I reply correctly this time? (Reply-All and keep only tutor@python.org address...) for line_number, row in enumerate(catalog2): for col, item in enumerate(row): if

Re: [Tutor] Building Starships -- object of type 'int' has no len()

2014-08-17 Thread Marc Tompkins
On Sun, Aug 17, 2014 at 9:40 PM, Terry--gmail terry.kemme...@gmail.com wrote: I found another place in Thunderbirdy to set 'plain text'. This is a test. Does the below code look correct now? --And did I reply correctly this time? (Reply-All and keep only tutor@python.org address...)

Re: [Tutor] Building Starships -- object of type 'int' has no len()

2014-08-17 Thread Marc Tompkins
On Sun, Aug 17, 2014 at 9:49 PM, Marc Tompkins marc.tompk...@gmail.com wrote: On Sun, Aug 17, 2014 at 9:40 PM, Terry--gmail terry.kemme...@gmail.com wrote: I found another place in Thunderbirdy to set 'plain text'. This is a test. Does the below code look correct now? --And did I reply

Re: [Tutor] Building Starships -- object of type 'int' has no len()

2014-08-17 Thread Cameron Simpson
On 17Aug2014 22:40, Terry--gmail terry.kemme...@gmail.com wrote: I found another place in Thunderbirdy to set 'plain text'. This is a test. You message is plain text now. Thank you! Does the below code look correct now? --And did I reply correctly this time? (Reply-All and keep only

Re: [Tutor] Building Starships -- object of type 'int' has no len()

2014-08-17 Thread Terry--gmail
I'm copy and pasting from Ninja-IDE, which I thought was created specifically to do python programming...so I never checked to see if it needs to have the tab set to enter 4 spaces, as it appeared visually to be doing that. But, I don't remember whether I used their tab or manually typed 4