Re: [Tutor] Alert to all Experienced Python Software Object Oriented Programmers-Novice Needs Help In Understanding Textbook
On 18 August 2014 02:45 ALAN GAULD alan.ga...@btinternet.com wrote: At the Community College we used Python version 3.4.0 which I guess is up to date. Yes indeed, the latest and greatest. The “latest and greatest” is actually 3.4.1. -- Chris “Kwpolska” Warrick http://chriswarrick.com/ Sent from my SGS3. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Alert to all Experienced Python Software Object Oriented Programmers-Novice Needs Help In Understanding Textbook
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 and since that is object-oriented I really need to get this OOP down). Actually modern best practice in JavaScript does not use OOP so much as Functional Programming. And the OOP parts of JavaScript tend to be very different to the traditional style of OOP used in Python. So I wouldn't worry too much, you will have a new way of working to learn in JavaScript even if you master Python OOP, although at least the basic concepts will be familiar. discussion on Instantiating an Object,Methods,Constructors, That's pretty much most of OOP... Have you tried reading another OOP tutorial? Sometimes a different approach can help. You can try my OOP topic in my tutorial(see .sig) Attributes-on page 226-228,Using Class Attributes and Static Methods(page 228-230;Creating A Class Attribute,Accessing a Class Attribute(Pg. 231);Using and Invoking a Static Method (pages 231-232) is all confusing to me Forget about this stuff until you have the basics down. class and static methods are quite advanced OOP topics. They won't make much sense until you understand classes, instances and instance methods. Please,somebody,explain the magic of Software Objects in Python to me ASAP. Thanks! Try the OOP topic in my tutorial and come back if you are still confused about the basics. The more specific the question the better the answers will be so try to explain what it is you don't understand. Include some code samples that you want to have explained for example. Also tell us which version of Python you use because some of the syntax for OOP changed significantly between Python v2 and Python v3. -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.flickr.com/photos/alangauldphotos ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Alert to all Experienced Python Software Object Oriented Programmers-Novice Needs Help In Understanding Textbook
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 alan.ga...@btinternet.com Sent: Sunday, 17 August 2014, 13:06 Subject: Re: [Tutor] Alert to all Experienced Python Software Object Oriented Programmers-Novice Needs Help In Understanding Textbook below is a good article. http://www.voidspace.org.uk/python/articles/OOP.shtml below is another good one. http://www.jeffknupp.com/blog/2014/06/18/improve-your-python-python-classes-and-object-oriented-programming/?utm_source=Python+Weekly+Newsletterutm_campaign=5a7c0c161f-Python_Weekly_Issue_145_June_26_2014utm_medium=emailutm_term=0_9e26887fc5-5a7c0c161f-307214369 On Sun, Aug 17, 2014 at 2:25 PM, Alan Gauld alan.ga...@btinternet.com wrote: 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 and since that is object-oriented I really need to get this OOP down). Actually modern best practice in JavaScript does not use OOP so much as Functional Programming. And the OOP parts of JavaScript tend to be very different to the traditional style of OOP used in Python. So I wouldn't worry too much, you will have a new way of working to learn in JavaScript even if you master Python OOP, although at least the basic concepts will be familiar. discussion on Instantiating an Object,Methods,Constructors, That's pretty much most of OOP... Have you tried reading another OOP tutorial? Sometimes a different approach can help. You can try my OOP topic in my tutorial(see .sig) Attributes-on page 226-228,Using Class Attributes and Static Methods(page 228-230;Creating A Class Attribute,Accessing a Class Attribute(Pg. 231);Using and Invoking a Static Method (pages 231-232) is all confusing to me Forget about this stuff until you have the basics down. class and static methods are quite advanced OOP topics. They won't make much sense until you understand classes, instances and instance methods. Please,somebody,explain the magic of Software Objects in Python to me ASAP. Thanks! Try the OOP topic in my tutorial and come back if you are still confused about the basics. The more specific the question the better the answers will be so try to explain what it is you don't understand. Include some code samples that you want to have explained for example. Also tell us which version of Python you use because some of the syntax for OOP changed significantly between Python v2 and Python v3. -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.flickr.com/photos/alangauldphotos ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com/ ** This e-mail is confidential. It may also be legally privileged. If you are not the intended recipient or have received it in error, please delete it and all copies from your system and notify the sender immediately by return e-mail. Any unauthorized reading, reproducing, printing or further dissemination of this e-mail or its contents is strictly prohibited and may be unlawful. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. ** ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Alert to all Experienced Python Software Object Oriented Programmers-Novice Needs Help In Understanding Textbook
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 tutor - I haven't got around to converting the v3 one yet!... Or you can open the link from the table of contents in a new tab and it should print ok from there. work with the Google Chrome browser because of its' Development Tools. I completely understand that, I'd hate to develop Javascript in anything other than Chrome nowadays. Its simply the best toolset for that job IMHO. Very similar to using the Python interactive prompt and IDLE debugger. Alas,I tried to Download Chrome from a suggested Google site,but it would not be docked. Not sure why, it works for me on a Macbook Air. At the Community College we used Python version 3.4.0 which I guess is up to date. Yes indeed, the latest and greatest. Alan G ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor