Learn Python in One Hour - Victor R. Volkman - E-Book

Learn Python in One Hour E-Book

Victor R. Volkman

0,0
4,48 €

-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.
Mehr erfahren.
Beschreibung

You're already a smart person, you don't need a 1000+ page book to get you started on the web's fastest growing programming platform. Instead, Learn Python in One Hour delivers on the promise of code literacy while saving your most precious commodity - time itself. Volkman's innovative programming-by-example approach means you focus on usage, not mindless detail. Based on the author's sold-out live seminars, you'll see Python's flexible coding technique in action as we refactor from script to procedural to object-oriented during actual problem solving.
In a twelve-lesson progression, you'll be exposed to this and more:



  • Basic file input and output operations, incuding exceptions
  • Using functions to compute and return  multiple values
  • Basic elements of a class definition and how to call methods
  • Lists, dictionaries, sets, and other collections
  • Iteration through collections, files, sorted sets
  • Searching strings with regular expressions (regex)
  • Client and server programs for REST methods
  • Using threads in Python for multiple tasks
  • CGI-BIN programming for simple HTML Forms processing
  • Six most common Python pitfalls

Take the One Hour challenge and see if you too can pick up 90% of syntax and semantics in less time than you probably spend commuting each day.
About the Author Victor R. Volkman graduated cum laude from Michigan Technological University with a BS in Computer Science in 1986. Since then, he has written for numerous publications, including The C Gazette, C++ Users Journal, Windows Developers Journal, and many others. He has taught college-level programming courses at Washtenaw Community College and has served on its Computer Information Science (CIS) Faculty Advisory Board for more than a decade. Volkman says Python helped him "rediscover the joy of programming again."
From Modern Software Press

Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:

EPUB

Seitenzahl: 33

Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



Learn Python in One Hour

Programming by Example

Victor R. Volkman

Modern Software Press

Learn Python in One Hour: Programming by Example

Copyright © 2014 by Victor R. Volkman

2nd Printing -- May 2014

Library of Congress Cataloging-in-Publication Data

Volkman, Victor R.

Learn Python in one hour : programming by example / Victor R. Volkman.

     pages cm

ISBN 978-1-61599-239-3 (pbk. : alk. paper) -- ISBN 978-1-61599-240-9 (ebook)

1. Python (Computer program language) 2. Object-oriented programming (Computer science) I. Title.

QA76.73.P98V65 2013

005.1'17--dc23

2014017288

From Modern Software Press, an imprint of

L.H. Press Inc.

5145 Pontiac Trail

Ann Arbor, MI 48105

www.LHPress.com

[email protected]

toll free USA/CAN: 888-761-6268

FAX: 734-663-6861

Contents

Why Python?

Why One Hour?

Where to Get Python?

Lessons Overview and Goals:

Lesson One – Opening Arguments

Lesson Two – Using Your Words

Lesson Three – When Things Go Wrong

Lesson Four – What’s the Frequency, Kenneth?

Lesson Five – Fun with Functions

Lesson Six – A Dictionary of Lists

Lesson Seven – A Touch of Class

Python Pitfalls

Where Do We Go From Here?

Recommended Resources

About the Author

Why Python?

In a world of ever-increasing scripting and language platforms, why choose Python, a legacy system that has been in development on-and-off for nearly two dozen years? Quite simply, it provides a design philosophy that emphasizes code readability without sacrificing a compact and powerful expression of ideas. Going back as far as 1959 with the introduction of COBOL, people have been trying to produce a programming system that is readable, which is to say it does not lend itself to obscuring details or requiring intense concentration to figure out the meaning of a line of code. As any student of computer science can tell you, the problem with COBOL was it couldn’t get out of its own way—it went too far down the path of simplicity and its lack of easy-to-use data structures hurt it the most. The remainder of third-generation languages, such as C, C++, Pascal, and I would even argue Java, were marred by the lack of a concise and powerful string handling system as well as tedious ways to manage collections (lists, dictionaries, sets, and so on).

It cannot be over-emphasized how important basic string handling is in developing modern programs that interface with the textual world of the web, especially unstyled documents (i.e. plain text). Simple things such as concatenation, regular expressions, and splitting and joining strings must be effortless or else they become onerous. Such was the appeal of Perl for many years. In fact, many people will speak of Perl-and-Python in a single breath since they so often occupy the same solution-space. However, the two languages diverge on a few key principles. Specifically, in Perl there are many ways to perform even the simplest operations due to its many operators and ability to nest them in ever-more-complex expressions. In Python, there is generally one way to do something, which means it is both easy to understand and manipulate.

Why harp on readability? Because in the past three decades, research has pointed out that the biggest piece of the pie in most information technology projects is not hardware but people time. Specifically, the productivity of developers sets the cost of implementation, even in many cloud-based apps that employ hundreds of servers. In cases where human activity doesn’t beat hardware costs, the costs of getting-to-market faster and, hence, collecting revenue argues for readability. Programmers who can read the code that they and others are writing produce a more reliable product in less time than otherwise.

Why One Hour?