Learn Enough Python to Be Dangerous
Home > Computing and Information Technology > Computer programming / software engineering > Programming and scripting languages: general > Learn Enough Python to Be Dangerous: Software Development, Flask Web Apps, and Beginning Data Science with Python
Learn Enough Python to Be Dangerous: Software Development, Flask Web Apps, and Beginning Data Science with Python

Learn Enough Python to Be Dangerous: Software Development, Flask Web Apps, and Beginning Data Science with Python

|
     0     
5
4
3
2
1




International Edition


About the Book

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.

Table of Contents:
Preface xiii Acknowledgments xvii About the Author xix Chapter 1: Hello, World! 1 1.1 Introduction to Python 6 1.2 Python in a REPL 11 1.3 Python in a File 13 1.4 Python in a Shell Script 16 1.5 Python in a Web Browser 18 Chapter 2: Strings 35 2.1 String Basics 35 2.2 Concatenation and Interpolation 38 2.3 Printing 44 2.4 Length, Booleans, and Control Flow 46 2.5 Methods 56 2.6 String Iteration 62 Chapter 3: Lists 69 3.1 Splitting 69 3.2 List Access 71 3.3 List Slicing 74 3.4 More List Techniques 77 3.5 List Iteration 83 3.6 Tuples and Sets 86 Chapter 4: Other Native Objects 91 4.1 Math 91 4.2 Times and Datetimes 97 4.3 Regular Expressions 103 4.4 Dictionaries 109 4.5 Application: Unique Words 115 Chapter 5: Functions and Iterators 121 5.1 Function Definitions 121 5.2 Functions in a File 130 5.3 Iterators 138 Chapter 6: Functional Programming 149 6.1 List Comprehensions 150 6.2 List Comprehensions with Conditions 156 6.3 Dictionary Comprehensions 159 6.4 Generator and Set Comprehensions 163 6.5 Other Functional Techniques 165 Chapter 7: Objects and Classes 169 7.1 Defining Classes 169 7.2 Custom Iterators 176 7.3 Inheritance 179 7.4 Derived Classes 183 Chapter 8: Testing and Test-Driven Development 191 8.1 Package Setup 192 8.2 Initial Test Coverage 197 8.3 Red 209 8.4 Green 214 8.5 Refactor 220 Chapter 9: Shell Scripts 231 9.1 Reading from Files 231 9.2 Reading from URLs 240 9.3 DOM Manipulation at the Command Line 245 Chapter 10: A Live Web Application 255 10.1 Setup 256 10.2 Site Pages 263 10.3 Layouts 271 10.4 Template Engine 280 10.5 Palindrome Detector 293 10.6 Conclusion 316 Chapter 11: Data Science 319 11.1 Data Science Setup 320 11.2 Numerical Computations with NumPy 327 11.3 Data Visualization with Matplotlib 338 11.4 Introduction to Data Analysis with pandas 353 11.5 pandas Example: Nobel Laureates 361 11.6 pandas Example: Titanic 377 11.7 Machine Learning with scikit-learn 386 11.8 Further Resources and Conclusion 403 Index 405


Best Sellers


Product Details
  • ISBN-13: 9780138050955
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison Wesley
  • Height: 230 mm
  • No of Pages: 448
  • Spine Width: 30 mm
  • Weight: 828 gr
  • ISBN-10: 0138050953
  • Publisher Date: 12 Jul 2023
  • Binding: Paperback
  • Language: English
  • Returnable: N
  • Sub Title: Software Development, Flask Web Apps, and Beginning Data Science with Python
  • Width: 178 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Learn Enough Python to Be Dangerous: Software Development, Flask Web Apps, and Beginning Data Science with Python
Pearson Education (US) -
Learn Enough Python to Be Dangerous: Software Development, Flask Web Apps, and Beginning Data Science with Python
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Learn Enough Python to Be Dangerous: Software Development, Flask Web Apps, and Beginning Data Science with Python

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!