100 likes | 384 Views
Intro to Python Programming (Part 2). Pamela Moore Zenia Bahorski Eastern Michigan University March 16, 2011. A language to swear by, not at. Topics Covered. Resources Ending Poem: The Zen of Python Contact Information. Resources:.
E N D
Intro to Python Programming(Part 2) Pamela Moore Zenia Bahorski Eastern Michigan University March 16, 2011 A language to swear by, not at.
Topics Covered • Resources • Ending Poem: The Zen of Python • Contact Information
Resources: • Free online Tutorial/Was book by Guido with good examples. Easy read. • Book: van Rossum, G. (2011). The Python Tutorial • Available through a link on the Documents site • Open Book Project: http://openbookproject.net/ • Must see to appreciate… • LOTS of links to books/materials • Free Online Book (with lots of praises) Python and Java versions • Book: Jeffrey Elkner, Allen B. Downey, & Chris Meyers. (2010). How to Think Like a Computer Scientist, 2nd edition (2010). • http://openbookproject.net/thinkcs/python/english2e/
Resources • Tutorial/Online Book: Learning to Program by Alan Gauld • http://www.alan-g.me.uk/ • Frames-based (Good stuff but it hijacks your page) • Although written to supplement his physics students learning to program in Python, this looks very promising as a text.... • Williams, Michael. (2009). Introduction to computer programming (using Python). • http://pentangle.net/python/ • Online Documentation: One Day of IDLE Toying • HOW TO USE IDLE with screen shots • Nice tutorial to get you started using IDLE • https://hkn.eecs.berkeley.edu/~dyoo/python/idle_intro/index.html
Resources • Python Bibliotheca ***Teacher Resources*** • Link through http://openbookproject.net/ • Teacher tools: Books/tutorials • Multimedia: 24 minute video with interviews of some notables from the Python community • Workshops: Collection of programs and a "course" with worksheets and example projects • Community: People (with email addresses) who teach Python • Links: to other Python-related places
Resources • More that we didn’t get to look at… • PythonTurtle: Logo-like environment for kids and beginners. • http://pythonturtle.org/ • “Very interesting!” Wish I could play right now! • Book: Swaroop, C. (2005). A Byte of Python. • Online versions of 2.x and 3.x found at: • http://www.swaroopch.com/notes/Python • Livewires: A course intended for 12 - 15 year old summer camp in Britain. • Includes worksheets. • http://www.livewires.org.uk/python/home
Resources • Books: • Python Programming: For the Absolute Beginner (Third Edition) • by Michael Dawson. Course Technology, 2010. ISBN: 1-4354-55500-2 (Used at EMU, online version available for students through library). • Learning Python (2nd Edition) • by Mark Lutz & David Ascher. O'Reilly and Associates, 2003. ISBN: 0-596-00281-5 • Programming Python (2nd Edition) • by Mark Lutz. O’Reilly and Associates, 2001. ISBN: 0-596-00085-5
Resources • Other Stuff: • Python Cookbook • http://aspn.activestate.com/ASPN/Cookbook/Python • Magazine Article: Collette, B. & Falck, D. (Fall 2010). Open-source CAM application bares all. Digital Machinist. • 2011 Digital Machinist CNC Workshop: • http://www.digitalmachinist.net/workshop
The Zen of Python (by Tim Peters) • Beautiful is better than ugly. • Explicit is better than implicit. • Simple is better than complex. • Complex is better than complicated. • Flat is better than nested. • Sparse is better than dense. • Readability counts. • Special cases aren't special enough to break the rules. • Although practicality beats purity. • Errors should never pass silently. • Unless explicitly silenced. • In the face of ambiguity, refuse the temptation to guess. • There should be one— and preferably only one —obvious way to do it. • Although that way may not be obvious at first unless you're Dutch. • Now is better than never. • Although never is often better than right now. • If the implementation is hard to explain, it's a bad idea. • If the implementation is easy to explain, it may be a good idea. • Namespaces are one honking great idea — let's do more of those! (Tim’s poem was presented at a talk on the History of Python by Guido van Rossum in 2005 at EuroPython in Gothenburg, Sweden.)
Contact Information • Pamela Moore • Pamela.moore@emich.edu • http://people.emich.edu/pmoore • Zenia Bahorski • zbahorski@emich.edu • http://people.emich.edu/zbahorski • Department of Computer Science • Eastern Michigan University • Ypsilanti, MI 48197 • If you are not already a member of the MACUL SIGCS, please consider joining! • To subscribe to the group, send an E-Mail message to: SIG_CSsubscribe@googlegroups.com