Learn Enough Python to Be Dangerous: Software Development, Flask Web Apps, and Beginning Data Science with Python
All You Need to Know, and Nothing You Don’t, to Solve Real Problems with Python
Python is one of the most popular programming languages in the world, used for everything from shell scripts to web development to data science. As a result, Python is a great language to learn, but you don’t need to learn “everything” to get started, just how to use it efficiently to solve real problems. In Learn Enough Python to Be Dangerous, renowned instructor Michael Hartl teaches the specific concepts, skills, and approaches you need to be professionally productive.
Even if you’ve never programmed before, Hartl helps you quickly build technical sophistication and master the lore you need to succeed. Hartl introduces Python both as a general-purpose language and as a specialist tool for web development and data science, presenting focused examples and exercises that help you internalize what matters, without wasting time on details pros don’t care about. Soon, it’ll be like you were born knowing this stuff–and you’ll be suddenly, seriously dangerous.
Learn enough about . . .
- Applying core Python concepts with the interactive interpreter and command line
- Writing object-oriented code with Python’s native objects
- Developing and publishing self-contained Python packages
- Using elegant, powerful functional programming techniques, including Python comprehensions
- Building new objects, and extending them via Test-Driven Development (TDD)
- Leveraging Python’s exceptional shell scripting capabilities
- Creating and deploying a full web app, using routes, layouts, templates, and forms
- Getting started with data-science tools for numerical computations, data visualization, data analysis, and machine learning
- Mastering concrete and informal skills every developer needs
Michael Hartl’s Learn Enough Series includes books and video courses that focus on the most important parts of each subject, so you don’t have to learn everything to get started–you just have to learn enough to be dangerous and solve technical problems yourself.
Like this book? Don’t miss Michael Hartl’s companion video tutorial, Learn Enough Python to Be Dangerous LiveLessons.
Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.
Cover Page Title Page Contents at a Glance Contents Preface Chapter by Chapter Additional Features Final Thoughts Learn Enough Scholarships Acknowledgments About the Author Chapter 1. Hello, World! 1.1 Introduction to Python 1.2 Python in a REPL 1.3 Python in a File 1.4 Python in a Shell Script 1.5 Python in a Web Browser Chapter 2. Strings 2.1 String Basics 2.2 Concatenation and Interpolation 2.3 Printing 2.4 Length, Booleans, and Control Flow 2.5 Methods 2.6 String Iteration Chapter 3. Lists 3.1 Splitting 3.2 List Access 3.3 List Slicing 3.4 More List Techniques 3.5 List Iteration 3.6 Tuples and Sets Chapter 4. Other Native Objects 4.1 Math 4.2 Times and Datetimes 4.3 Regular Expressions 4.4 Dictionaries 4.5 Application: Unique Words Chapter 5. Functions and Iterators 5.1 Function Definitions 5.2 Functions in a File 5.3 Iterators Chapter 6. Functional Programming 6.1 List Comprehensions 6.2 List Comprehensions with Conditions 6.3 Dictionary Comprehensions 6.4 Generator and Set Comprehensions 6.5 Other Functional Techniques Chapter 7. Objects and Classes 7.1 Defining Classes 7.2 Custom Iterators 7.3 Inheritance 7.4 Derived Classes Chapter 8. Testing and Test-Driven Development 8.1 Package Setup 8.2 Initial Test Coverage 8.3 Red 8.4 Green 8.5 Refactor Chapter 9. Shell Scripts 9.1 Reading from Files 9.2 Reading from URLs 9.3 DOM Manipulation at the Command Line Chapter 10. A Live Web Application 10.1 Setup 10.2 Site Pages 10.3 Layouts 10.4 Template Engine 10.5 Palindrome Detector 10.6 Conclusion Chapter 11. Data Science 11.1 Data Science Setup 11.2 Numerical Computations with NumPy 11.3 Data Visualization with Matplotlib 11.4 Introduction to Data Analysis with pandas 11.5 pandas Example: Nobel Laureates 11.6 pandas Example: Titanic 11.7 Machine Learning with scikit-learn 11.8 Further Resources and Conclusion
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.