Automate the Boring Stuff with Python, 2nd Edition Book

Automate the Boring Stuff with Python, 2nd Edition | Download eBook Read Pdf-ePub-Kindle

Download full pdf book Automate the Boring Stuff with Python, 2nd Edition by Al Sweigart available in full 592 pages, and make sure to check out other latest books Computers related to Automate the Boring Stuff with Python, 2nd Edition below.

Automate the Boring Stuff with Python, 2nd Edition

By Al Sweigart
  • ISBN Code: : 1593279930
  • Publisher : No Starch Press
  • Pages : 592
  • Category : Computers
  • Reads : 382
  • Book Compatibility : Pdf, ePub, Mobi, Kindle
  • Pdf : automate-the-boring-stuff-with-python-2nd-edition.pdf

Book Excerpt :

The second edition of this best-selling Python book (over 500,000 copies sold!) uses Python 3 to teach even the technically uninclined how to write programs that do in minutes what would take hours to do by hand. There is no prior programming experience required and the book is loved by liberal arts majors and geeks alike. If you've ever spent hours renaming files or updating hundreds of spreadsheet cells, you know how tedious tasks like these can be. But what if you could have your computer do them for you? In this fully revised second edition of the best-selling classic Automate the Boring Stuff with Python, you'll learn how to use Python to write programs that do in minutes what would take you hours to do by hand--no prior programming experience required. You'll learn the basics of Python and explore Python's rich library of modules for performing specific tasks, like scraping data off websites, reading PDF and Word documents, and automating clicking and typing tasks. The second edition of this international fan favorite includes a brand-new chapter on input validation, as well as tutorials on automating Gmail and Google Sheets, plus tips on automatically updating CSV files. You'll learn how to create programs that effortlessly perform useful feats of automation to: • Search for text in a file or across multiple files • Create, update, move, and rename files and folders • Search the Web and download online content • Update and format data in Excel spreadsheets of any size • Split, merge, watermark, and encrypt PDFs • Send email responses and text notifications • Fill out online forms Step-by-step instructions walk you through each program, and updated practice projects at the end of each chapter challenge you to improve those programs and use your newfound skills to automate similar tasks. Don't spend your time doing work a well-trained monkey could do. Even if you've never written a line of code, you can make your computer do the grunt work. Learn how in Automate the Boring Stuff with Python, 2nd Edition.

Recommended Books For Reading


  • Invent Your Own Computer Games with Python, 4E
    Invent Your Own Computer Games with Python, 4E

    A Book written by Al Sweigart, published by No Starch Press 2016-12-16 - 376 pages - part of Computers books.

    Get eBook
  • Coding with Minecraft
    Coding with Minecraft

    A Book written by Al Sweigart, published by No Starch Press 2018-05-29 - 256 pages - part of Computers books.

    Get eBook
  • Cracking Codes with Python
    Cracking Codes with Python

    A Book written by Al Sweigart, published by No Starch Press 2018-01-23 - 416 pages - part of Computers books.

    Get eBook
  • Python Crash Course, 2nd Edition
    Python Crash Course, 2nd Edition

    A Book written by Eric Matthes, published by No Starch Press 2019-05-21 - 544 pages - part of Computers books.

    Get eBook
  • Impractical Python Projects
    Impractical Python Projects

    A Book written by Lee Vaughan, published by No Starch Press 2018-11-27 - 424 pages - part of Computers books.

    Get eBook
  • Python for Excel
    Python for Excel

    A Book written by Felix Zumstein, published by "O'Reilly Media, Inc." 2021-03-04 - 338 pages - part of books.

    Get eBook
  • Serious Python
    Serious Python

    A Book written by Julien Danjou, published by No Starch Press 2018-12-31 - 240 pages - part of Computers books.

    Get eBook

Read Also This Books

Python for Data Analysis

By Wes McKinney
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : "O'Reilly Media, Inc."
  • Book Code : 1491957611
  • Total of Pages : 550
  • Category : Computers
  • Members : 202
  • Pdf File: python-for-data-analysis.pdf

Book Short Summary:

Get complete instructions for manipulating, processing, cleaning, and crunching datasets in Python. Updated for Python 3.6, the second edition of this hands-on guide is packed with practical case studies that show you how to solve a broad set of data analysis problems effectively. You’ll learn the latest versions of pandas, NumPy, IPython, and Jupyter in the process. Written by Wes McKinney, the creator of the Python pandas project, this book is a practical, modern introduction to data science tools in Python. It’s ideal for analysts new to Python and for Python programmers new to data science and scientific computing. Data files and related material are available on GitHub. Use the IPython shell and Jupyter notebook for exploratory computing Learn basic and advanced features in NumPy (Numerical Python) Get started with data analysis tools in the pandas library Use flexible tools to load, clean, transform, merge, and reshape data Create informative visualizations with matplotlib Apply the pandas groupby facility to slice, dice, and summarize datasets Analyze and manipulate regular and irregular time series data Learn how to solve real-world data analysis problems with thorough, detailed examples

Real-World Python

By Lee Vaughan
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : No Starch Press
  • Book Code : 1718500637
  • Total of Pages : 360
  • Category : Computers
  • Members : 849
  • Pdf File: real-world-python.pdf

Book Short Summary:

A project-based approach to learning Python programming for beginners. Intriguing projects teach you how to tackle challenging problems with code. You've mastered the basics. Now you're ready to explore some of Python's more powerful tools. Real-World Python will show you how. Through a series of hands-on projects, you'll investigate and solve real-world problems using sophisticated computer vision, machine learning, data analysis, and language processing tools. You'll be introduced to important modules like OpenCV, NumPy, Pandas, NLTK, Bokeh, Beautiful Soup, Requests, HoloViews, Tkinter, turtle, matplotlib, and more. You'll create complete, working programs and think through intriguing projects that show you how to: • Save shipwrecked sailors with an algorithm designed to prove the existence of God • Detect asteroids and comets moving against a starfield • Program a sentry gun to shoot your enemies and spare your friends • Select landing sites for a Mars probe using real NASA maps • Send unbreakable messages based on a book code • Survive a zombie outbreak using data science • Discover exoplanets and alien megastructures orbiting distant stars • Test the hypothesis that we're all living in a computer simulation • And more! If you're tired of learning the bare essentials of Python Programming with isolated snippets of code, you'll relish the relevant and geeky fun of Real-World Python!

Head First Python

By Paul Barry
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : "O'Reilly Media, Inc."
  • Book Code : 1491919493
  • Total of Pages : 624
  • Category : Computers
  • Members : 240
  • Pdf File: head-first-python.pdf

Book Short Summary:

Want to learn the Python language without slogging your way through how-to manuals? With Head First Python, you’ll quickly grasp Python’s fundamentals, working with the built-in data structures and functions. Then you’ll move on to building your very own webapp, exploring database management, exception handling, and data wrangling. If you’re intrigued by what you can do with context managers, decorators, comprehensions, and generators, it’s all here. This second edition is a complete learning experience that will help you become a bonafide Python programmer in no time. Why does this book look so different? Based on the latest research in cognitive science and learning theory, Head First Pythonuses a visually rich format to engage your mind, rather than a text-heavy approach that puts you to sleep. Why waste your time struggling with new concepts? This multi-sensory learning experience is designed for the way your brain really works.

Introducing Python

By Bill Lubanovic
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : "O'Reilly Media, Inc."
  • Book Code : 1492051322
  • Total of Pages : 630
  • Category : Computers
  • Members : 972
  • Pdf File: introducing-python.pdf

Book Short Summary:

Easy to understand and fun to read, this updated edition of Introducing Python is ideal for beginning programmers as well as those new to the language. Author Bill Lubanovic takes you from the basics to more involved and varied topics, mixing tutorials with cookbook-style code recipes to explain concepts in Python 3. End-of-chapter exercises help you practice what you’ve learned. You’ll gain a strong foundation in the language, including best practices for testing, debugging, code reuse, and other development tips. This book also shows you how to use Python for applications in business, science, and the arts, using various Python tools and open source packages.

Python for Kids

By Jason Briggs
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : No Starch Press
  • Book Code : 1593274947
  • Total of Pages : 344
  • Category : Computers
  • Members : 499
  • Pdf File: python-for-kids.pdf

Book Short Summary:

Python is a powerful, expressive programming language that’s easy to learn and fun to use! But books about learning to program in Python can be kind of dull, gray, and boring, and that’s no fun for anyone. Python for Kids brings Python to life and brings you (and your parents) into the world of programming. The ever-patient Jason R. Briggs will guide you through the basics as you experiment with unique (and often hilarious) example programs that feature ravenous monsters, secret agents, thieving ravens, and more. New terms are defined; code is colored, dissected, and explained; and quirky, full-color illustrations keep things on the lighter side. Chapters end with programming puzzles designed to stretch your brain and strengthen your understanding. By the end of the book you’ll have programmed two complete games: a clone of the famous Pong and "Mr. Stick Man Races for the Exit"—a platform game with jumps, animation, and much more. As you strike out on your programming adventure, you’ll learn how to: –Use fundamental data structures like lists, tuples, and maps –Organize and reuse your code with functions and modules –Use control structures like loops and conditional statements –Draw shapes and patterns with Python’s turtle module –Create games, animations, and other graphical wonders with tkinter Why should serious adults have all the fun? Python for Kids is your ticket into the amazing world of computer programming. For kids ages 10+ (and their parents) The code in this book runs on almost anything: Windows, Mac, Linux, even an OLPC laptop or Raspberry Pi!

Think Python

By Allen B. Downey
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : "O'Reilly Media, Inc."
  • Book Code : 1491939419
  • Total of Pages : 292
  • Category : Computers
  • Members : 421
  • Pdf File: think-python.pdf

Book Short Summary:

If you want to learn how to program, working with Python is an excellent way to start. This hands-on guide takes you through the language a step at a time, beginning with basic programming concepts before moving on to functions, recursion, data structures, and object-oriented design. This second edition and its supporting code have been updated for Python 3. Through exercises in each chapter, you’ll try out programming concepts as you learn them. Think Python is ideal for students at the high school or college level, as well as self-learners, home-schooled students, and professionals who need to learn programming basics. Beginners just getting their feet wet will learn how to start with Python in a browser. Start with the basics, including language syntax and semantics Get a clear definition of each programming concept Learn about values, variables, statements, functions, and data structures in a logical progression Discover how to work with files and databases Understand objects, methods, and object-oriented programming Use debugging techniques to fix syntax, runtime, and semantic errors Explore interface design, data structures, and GUI-based programs through case studies

Hands-On Enterprise Automation with Python

By Bassem Aly
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : Packt Publishing Ltd
  • Book Code : 1788992644
  • Total of Pages : 398
  • Category : Computers
  • Members : 128
  • Pdf File: hands-on-enterprise-automation-with-python.pdf

Book Short Summary:

Invent your own Python scripts to automate your infrastructure Key Features Make the most of Python libraries and modules to automate your infrastructure Leverage Python programming to automate server configurations and administration tasks Efficiently develop your Python skill set Book Description Hands-On Enterprise Automation with Python starts by covering the set up of a Python environment to perform automation tasks, as well as the modules, libraries, and tools you will be using. We’ll explore examples of network automation tasks using simple Python programs and Ansible. Next, we will walk you through automating administration tasks with Python Fabric, where you will learn to perform server configuration and administration, along with system administration tasks such as user management, database management, and process management. As you progress through this book, you’ll automate several testing services with Python scripts and perform automation tasks on virtual machines and cloud infrastructure with Python. In the concluding chapters, you will cover Python-based offensive security tools and learn how to automate your security tasks. By the end of this book, you will have mastered the skills of automating several system administration tasks with Python. What you will learn Understand common automation modules used in Python Develop Python scripts to manage network devices Automate common Linux administration tasks with Ansible and Fabric Managing Linux processes Administrate VMware, OpenStack, and AWS instances with Python Security automation and sharing code on GitHub Who this book is for Hands-On Enterprise Automation with Python is for system administrators and DevOps engineers who are looking for an alternative to major automation frameworks such as Puppet and Chef. Basic programming knowledge with Python and Linux shell scripting is necessary.

Learning Python

By Mark Lutz
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : "O'Reilly Media, Inc."
  • Book Code : 1449355692
  • Total of Pages : 1600
  • Category :
  • Members : 285
  • Pdf File: learning-python.pdf

Book Short Summary:

Get a comprehensive, in-depth introduction to the core Python language with this hands-on book. Based on author Mark Lutz’s popular training course, this updated fifth edition will help you quickly write efficient, high-quality code with Python. It’s an ideal way to begin, whether you’re new to programming or a professional developer versed in other languages. Complete with quizzes, exercises, and helpful illustrations, this easy-to-follow, self-paced tutorial gets you started with both Python 2.7 and 3.3— the latest releases in the 3.X and 2.X lines—plus all other releases in common use today. You’ll also learn some advanced language features that recently have become more common in Python code. Explore Python’s major built-in object types such as numbers, lists, and dictionaries Create and process objects with Python statements, and learn Python’s general syntax model Use functions to avoid code redundancy and package code for reuse Organize statements, functions, and other tools into larger components with modules Dive into classes: Python’s object-oriented programming tool for structuring code Write large programs with Python’s exception-handling model and development tools Learn advanced Python tools, including decorators, descriptors, metaclasses, and Unicode processing

Learn to Code by Solving Problems

By Daniel Zingaro
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : No Starch Press
  • Book Code : 1718501331
  • Total of Pages : 336
  • Category : Computers
  • Members : 166
  • Pdf File: learn-to-code.pdf

Book Short Summary:

Learn to Code by Solving Problems is a practical introduction to programming using Python. It uses coding-competition challenges to teach you the mechanics of coding and how to think like a savvy programmer. Computers are capable of solving almost any problem when given the right instructions. That’s where programming comes in. This beginner’s book will have you writing Python programs right away. You’ll solve interesting problems drawn from real coding competitions and build your programming skills as you go. Every chapter presents problems from coding challenge websites, where online judges test your solutions and provide targeted feedback. As you practice using core Python features, functions, and techniques, you’ll develop a clear understanding of data structures, algorithms, and other programming basics. Bonus exercises invite you to explore new concepts on your own, and multiple-choice questions encourage you to think about how each piece of code works. You’ll learn how to: • Run Python code, work with strings, and use variables • Write programs that make decisions • Make code more efficient with while and for loops • Use Python sets, lists, and dictionaries to organize, sort, and search data • Design programs using functions and top-down design • Create complete-search algorithms and use Big O notation to design more efficient code By the end of the book, you’ll not only be proficient in Python, but you’ll also understand how to think through problems and tackle them with code. Programming languages come and go, but this book gives you the lasting foundation you need to start thinking like a programmer.

Practical SQL, 2nd Edition

By Anthony DeBarros
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : No Starch Press
  • Book Code : 1718501072
  • Total of Pages : 448
  • Category : Computers
  • Members : 686
  • Pdf File: practical-sql-2nd-edition.pdf

Book Short Summary:

Analyze data like a pro, even if you’re a beginner. Practical SQL is an approachable and fast-paced guide to SQL (Structured Query Language), the standard programming language for defining, organizing, and exploring data in relational databases. Anthony DeBarros, a journalist and data analyst, focuses on using SQL to find the story within your data. The examples and code use the open-source database PostgreSQL and its companion pgAdmin interface, and the concepts you learn will apply to most database management systems, including MySQL, Oracle, SQLite, and others.* You’ll first cover the fundamentals of databases and the SQL language, then build skills by analyzing data from real-world datasets such as US Census demographics, New York City taxi rides, and earthquakes from US Geological Survey. Each chapter includes exercises and examples that teach even those who have never programmed before all the tools necessary to build powerful databases and access information quickly and efficiently. You’ll learn how to: • Create databases and related tables using your own data • Aggregate, sort, and filter data to find patterns • Use functions for basic math and advanced statistical operations • Identify errors in data and clean them up • Analyze spatial data with a geographic information system (PostGIS) • Create advanced queries and automate tasks This updated second edition has been thoroughly revised to reflect the latest in SQL features, including additional advanced query techniques for wrangling data. This edition also has two new chapters: an expanded set of instructions on for setting up your system plus a chapter on using PostgreSQL with the popular JSON data interchange format. Learning SQL doesn’t have to be dry and complicated. Practical SQL delivers clear examples with an easy-to-follow approach to teach you the tools you need to build and manage your own databases. * Microsoft SQL Server employs a variant of the language called T-SQL, which is not covered by Practical SQL.

Python in 24 Hours, Sams Teach Yourself

By Katie Cunningham
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : Sams Publishing
  • Book Code : 0133354466
  • Total of Pages : 320
  • Category : Computers
  • Members : 590
  • Pdf File: python-in-24-hours-sams-teach-yourself.pdf

Book Short Summary:

In just 24 sessions of one hour or less, Sams Teach Yourself Python in 24 Hours will help you get started fast, master all the core concepts of programming, and build anything from websites to games. Using this book’s straightforward, step-by-step approach, you’ll move from the absolute basics through functions, objects, classes, modules, database integration, and more. Every lesson and case study application builds on what you’ve already learned, giving you a rock-solid foundation for real-world success! Step-by-step instructions carefully walk you through the most common Python development tasks. Quizzes and Exercises at the end of each chapter help you test your knowledge. Notes present interesting information related to the discussion. Tips offer advice or show you easier ways to perform tasks. Warnings alert you to possible problems and give you advice on how to avoid them. Learn how to… Install and run the right version of Python for your operating system Store, manipulate, reformat, combine, and organize information Create logic to control how programs run and what they do Interact with users or other programs, wherever they are Save time and improve reliability by creating reusable functions Master Python data types: numbers, text, lists, and dictionaries Write object-oriented programs that work better and are easier to improve Expand Python classes to make them even more powerful Use third-party modules to perform complex tasks without writing new code Split programs to make them more maintainable and reusable Clearly document your code so others can work with it Store data in SQLite databases, write queries, and share data via JSON Simplify Python web development with the Flask framework Quickly program Python games with PyGame Avoid, troubleshoot, and fix problems with your code

Learn Python Programming

By Fabrizio Romano
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : Packt Publishing Ltd
  • Book Code : 1788991656
  • Total of Pages : 508
  • Category : Computers
  • Members : 498
  • Pdf File: learn-python-programming.pdf

Book Short Summary:

Build a solid foundation in coding by utilizing the language and its core characteristics Key Features Leverage the features of Python programming through easy-to-follow examples Develop a strong set of programming skills that can be applied on all platforms Create GUIs and data science-based applications Book Description Learn Python Programming creates a foundation for those who are interested in developing their skills in Python programming. The book starts with the fundamentals of programming with Python and ends by exploring different topics such as GUIs and real-world apps. You will begin by exploring the foundations of and fundamental topics on Python and learn to manipulate them. Then, you'll explore different programming paradigms that will allow you to find the best approach to a situation, and you’ll also understand how to carry out performance optimization as well as effective debugging. As you make your way through the chapters, you'll control the flow of a program, and persist and utilize an interchange format to exchange data. You'll also walk through cryptographic services in Python and understand secure tokens. Throughout, the book covers various types of applications, and it concludes with building real-world applications based on all the concepts that you learned. By the end of the book, you'll have a proper understanding of the Python language and a solid grasp on how to work with data. You'll know how to quickly build a website and harness the power of Python's renowned data science libraries. What you will learn Get Python up and running on Windows, Mac, and Linux Grasp fundamental concepts of coding using data structures and control flow Write elegant, reusable, and efficient code in any situation Understand when to use the functional or object-oriented programming (OOP) approach Walk through the basics of security and concurrent/asynchronous programming Create bulletproof, reliable software by writing tests Explore examples of GUIs, scripting, and data science Who this book is for Learn Python Programming is for individuals with relatively little experience in coding or Python. It's also ideal for aspiring programmers who need to write scripts or programs to accomplish tasks. The book takes you all the way to creating a full-fledged application.

Learn Python 3 the Hard Way

By Zed A. Shaw
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : Addison-Wesley Professional
  • Book Code : 0134693906
  • Total of Pages : 320
  • Category : Computers
  • Members : 309
  • Pdf File: learn-python-3-the-hard-way.pdf

Book Short Summary:

You Will Learn Python 3! Zed Shaw has perfected the world’s best system for learning Python 3. Follow it and you will succeed—just like the millions of beginners Zed has taught to date! You bring the discipline, commitment, and persistence; the author supplies everything else. In Learn Python 3 the Hard Way, you’ll learn Python by working through 52 brilliantly crafted exercises. Read them. Type their code precisely. (No copying and pasting!) Fix your mistakes. Watch the programs run. As you do, you’ll learn how a computer works; what good programs look like; and how to read, write, and think about code. Zed then teaches you even more in 5+ hours of video where he shows you how to break, fix, and debug your code—live, as he’s doing the exercises. Install a complete Python environment Organize and write code Fix and break code Basic mathematics Variables Strings and text Interact with users Work with files Looping and logic Data structures using lists and dictionaries Program design Object-oriented programming Inheritance and composition Modules, classes, and objects Python packaging Automated testing Basic game development Basic web development It’ll be hard at first. But soon, you’ll just get it—and that will feel great! This course will reward you for every minute you put into it. Soon, you’ll know one of the world’s most powerful, popular programming languages. You’ll be a Python programmer. This Book Is Perfect For Total beginners with zero programming experience Junior developers who know one or two languages Returning professionals who haven’t written code in years Seasoned professionals looking for a fast, simple, crash course in Python 3

Python Automation Cookbook

By Jaime Buelta
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : Packt Publishing Ltd
  • Book Code : 1800202598
  • Total of Pages : 526
  • Category : Computers
  • Members : 979
  • Pdf File: python-automation-cookbook.pdf

Book Short Summary:

Get a firm grip on the core processes including browser automation, web scraping, Word, Excel, and GUI automation with Python 3.8 and higher Key FeaturesAutomate integral business processes such as report generation, email marketing, and lead generationExplore automated code testing and Python’s growth in data science and AI automation in three new chaptersUnderstand techniques to extract information and generate appealing graphs, and reports with MatplotlibBook Description In this updated and extended version of Python Automation Cookbook, each chapter now comprises the newest recipes and is revised to align with Python 3.8 and higher. The book includes three new chapters that focus on using Python for test automation, machine learning projects, and for working with messy data. This edition will enable you to develop a sharp understanding of the fundamentals required to automate business processes through real-world tasks, such as developing your first web scraping application, analyzing information to generate spreadsheet reports with graphs, and communicating with automatically generated emails. Once you grasp the basics, you will acquire the practical knowledge to create stunning graphs and charts using Matplotlib, generate rich graphics with relevant information, automate marketing campaigns, build machine learning projects, and execute debugging techniques. By the end of this book, you will be proficient in identifying monotonous tasks and resolving process inefficiencies to produce superior and reliable systems. What you will learnLearn data wrangling with Python and Pandas for your data science and AI projectsAutomate tasks such as text classification, email filtering, and web scraping with PythonUse Matplotlib to generate a variety of stunning graphs, charts, and mapsAutomate a range of report generation tasks, from sending SMS and email campaigns to creating templates, adding images in Word, and even encrypting PDFsMaster web scraping and web crawling of popular file formats and directories with tools like Beautiful SoupBuild cool projects such as a Telegram bot for your marketing campaign, a reader from a news RSS feed, and a machine learning model to classify emails to the correct department based on their contentCreate fire-and-forget automation tasks by writing cron jobs, log files, and regexes with Python scriptingWho this book is for Python Automation Cookbook - Second Edition is for developers, data enthusiasts or anyone who wants to automate monotonous manual tasks related to business processes such as finance, sales, and HR, among others. Working knowledge of Python is all you need to get started with this book.

Bayesian Analysis with Python

By Osvaldo Martin
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : Packt Publishing Ltd
  • Book Code : 1785889850
  • Total of Pages : 282
  • Category : Computers
  • Members : 171
  • Pdf File: bayesian-analysis-with-python.pdf

Book Short Summary:

Unleash the power and flexibility of the Bayesian framework About This Book Simplify the Bayes process for solving complex statistical problems using Python; Tutorial guide that will take the you through the journey of Bayesian analysis with the help of sample problems and practice exercises; Learn how and when to use Bayesian analysis in your applications with this guide. Who This Book Is For Students, researchers and data scientists who wish to learn Bayesian data analysis with Python and implement probabilistic models in their day to day projects. Programming experience with Python is essential. No previous statistical knowledge is assumed. What You Will Learn Understand the essentials Bayesian concepts from a practical point of view Learn how to build probabilistic models using the Python library PyMC3 Acquire the skills to sanity-check your models and modify them if necessary Add structure to your models and get the advantages of hierarchical models Find out how different models can be used to answer different data analysis questions When in doubt, learn to choose between alternative models. Predict continuous target outcomes using regression analysis or assign classes using logistic and softmax regression. Learn how to think probabilistically and unleash the power and flexibility of the Bayesian framework In Detail The purpose of this book is to teach the main concepts of Bayesian data analysis. We will learn how to effectively use PyMC3, a Python library for probabilistic programming, to perform Bayesian parameter estimation, to check models and validate them. This book begins presenting the key concepts of the Bayesian framework and the main advantages of this approach from a practical point of view. Moving on, we will explore the power and flexibility of generalized linear models and how to adapt them to a wide array of problems, including regression and classification. We will also look into mixture models and clustering data, and we will finish with advanced topics like non-parametrics models and Gaussian processes. With the help of Python and PyMC3 you will learn to implement, check and expand Bayesian models to solve data analysis problems. Style and approach Bayes algorithms are widely used in statistics, machine learning, artificial intelligence, and data mining. This will be a practical guide allowing the readers to use Bayesian methods for statistical modelling and analysis using Python.

Beginning Programming with Python For Dummies

By John Paul Mueller
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : John Wiley & Sons
  • Book Code : 1119457904
  • Total of Pages : 408
  • Category : Computers
  • Members : 256
  • Pdf File: beginning-programming-with-python-for-dummies.pdf

Book Short Summary:

The easy way to learn programming fundamentals with Python Python is a remarkably powerful and dynamic programming language that's used in a wide variety of application domains. Some of its key distinguishing features include a very clear, readable syntax, strong introspection capabilities, intuitive object orientation, and natural expression of procedural code. Plus, Python features full modularity, supporting hierarchical packages, exception-based error handling, and modules easily written in C, C++, Java, R, or .NET languages, such as C#. In addition, Python supports a number of coding styles that include: functional, imperative, object-oriented, and procedural. Due to its ease of use and flexibility, Python is constantly growing in popularity—and now you can wear your programming hat with pride and join the ranks of the pros with the help of this guide. Inside, expert author John Paul Mueller gives a complete step-by-step overview of all there is to know about Python. From performing common and advanced tasks, to collecting data, to interacting with package—this book covers it all! Use Python to create and run your first application Find out how to troubleshoot and fix errors Learn to work with Anaconda and use Magic Functions Benefit from completely updated and revised information since the last edition If you've never used Python or are new to programming in general, Beginning Programming with Python For Dummies is a helpful resource that will set you up for success.

Learn to Program with Minecraft

By Craig Richardson
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : No Starch Press
  • Book Code : 1593277458
  • Total of Pages : 336
  • Category : Computers
  • Members : 403
  • Pdf File: learn-to-program-with-minecraft.pdf

Book Short Summary:

You’ve bested creepers, traveled deep into caves, and maybe even gone to The End and back—but have you ever transformed a sword into a magic wand? Built a palace in the blink of an eye? Designed your own color-changing disco dance floor? In Learn to Program with Minecraft®, you’ll do all this and more with the power of Python, a free language used by millions of professional and first-time programmers! Begin with some short, simple Python lessons and then use your new skills to modify Minecraft to produce instant and totally awesome results. Learn how to customize Minecraft to make mini-games, duplicate entire buildings, and turn boring blocks into gold. You’ll also write programs that: –Take you on an automated teleportation tour around your Minecraft world –Build massive monuments, pyramids, forests, and more in a snap! –Make secret passageways that open when you activate a hidden switch –Create a spooky ghost town that vanishes and reappears elsewhere –Show exactly where to dig for rare blocks –Cast a spell so that a cascade of flowers (or dynamite if you’re daring!) follows your every move –Make mischief with dastardly lava traps and watery curses that cause huge floods Whether you’re a Minecraft megafan or a newbie, you’ll see Minecraft in a whole new light while learning the basics of programming. Sure, you could spend all day mining for precious resources or building your mansion by hand, but with the power of Python, those days are over! Requires: Windows 7 or later; OS X 10.10 or later; or a Raspberry Pi. Uses Python 3

Scratch 3 Programming Playground

By Al Sweigart
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : No Starch Press
  • Book Code : 171850022X
  • Total of Pages : 288
  • Category : Young Adult Nonfiction
  • Members : 410
  • Pdf File: scratch-3-programming-playground.pdf

Book Short Summary:

A project-filled introduction to coding that shows kids how to build programs by making cool games. Scratch, the colorful drag-and-drop programming language, is used by millions of first-time learners worldwide. Scratch 3 features an updated interface, new programming blocks, and the ability to run on tablets and smartphones, so you can learn how to code on the go. In Scratch 3 Programming Playground, you'll learn to code by making cool games. Get ready to destroy asteroids, shoot hoops, and slice and dice fruit! Each game includes easy-to-follow instructions with full-color images, review questions, and creative coding challenges to make the game your own. Want to add more levels or a cheat code? No problem, just write some code. You'll learn to make games like: • Maze Runner: escape the maze! • Snaaaaaake: gobble apples and avoid your own tail • Asteroid Breaker: smash space rocks • Fruit Slicer: a Fruit Ninja clone • Brick Breaker: a remake of Breakout, the brick-breaking classic • Platformer: a game inspired by Super Mario Bros Learning how to program shouldn't be dry and dreary. With Scratch 3 Programming Playground, you'll make a game of it! Covers: Scratch 3

Programming in Python 3

By Mark Summerfield
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : Pearson Education
  • Book Code : 9780321606594
  • Total of Pages : 552
  • Category : Computers
  • Members : 122
  • Pdf File: programming-in-python-3.pdf

Book Short Summary:

Python 3 is the best version of the language yet: It is more powerful, convenient, consistent, and expressive than ever before. Now, leading Python programmer Mark Summerfield demonstrates how to write code that takes full advantage of Python 3’s features and idioms. The first book written from a completely “Python 3” viewpoint, Programming in Python 3 brings together all the knowledge you need to write any program, use any standard or third-party Python 3 library, and create new library modules of your own. Summerfield draws on his many years of Python experience to share deep insights into Python 3 development you won’t find anywhere else. He begins by illuminating Python’s “beautiful heart”: the eight key elements of Python you need to write robust, high-performance programs. Building on these core elements, he introduces new topics designed to strengthen your practical expertise—one concept and hands-on example at a time. This book’s coverage includes Developing in Python using procedural, object-oriented, and functional programming paradigms Creating custom packages and modules Writing and reading binary, text, and XML files, including optional compression, random access, and text and XML parsing Leveraging advanced data types, collections, control structures, and functions Spreading program workloads across multiple processes and threads Programming SQL databases and key-value DBM files Utilizing Python’s regular expression mini-language and module Building usable, efficient, GUI-based applications Advanced programming techniques, including generators, function and class decorators, context managers, descriptors, abstract base classes, metaclasses, and more Programming in Python 3 serves as both tutorial and language reference, and it is accompanied by extensive downloadable example code—all of it tested with the final version of Python 3 on Windows, Linux, and Mac OS X.

Python in easy steps

By Mike McGrath
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : In Easy Steps
  • Book Code : N.a
  • Total of Pages : 192
  • Category : Computers
  • Members : 388
  • Pdf File: python-in-easy-steps.pdf

Book Short Summary:

Python in easy steps instructs you how to program in the powerful Python language, giving complete examples that illustrate each aspect with colourized source code. Python in easy steps begins by explaining how to install the free Python interpreter so you can quickly begin to create your own executable programs by copying the book's examples. It demonstrates all the Python language basics before moving on to provide examples of Object Oriented Programming (OOP) and CGI scripting to handle web form data. The book concludes by demonstrating how you can use your acquired knowledge to create and deploy graphical windowed applications. Python in easy steps makes no assumption you have previous knowledge of any programming language so it's ideal for the newcomer to computer programming. It has an easy-to-follow style that will appeal to programmers moving from another programming language, and to the student who is studying Python programming at school or college, and to those seeking a career in computing who need a fundamental understanding of computer programming. Python is the language used to program the Raspberry Pi - covered by Raspberry Pi in easy steps.

Practices of the Python Pro

By Dane Hillard
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : Simon and Schuster
  • Book Code : 1638350132
  • Total of Pages : 248
  • Category : Computers
  • Members : 937
  • Pdf File: practices-of-the-python-pro.pdf

Book Short Summary:

Summary Professional developers know the many benefits of writing application code that’s clean, well-organized, and easy to maintain. By learning and following established patterns and best practices, you can take your code and your career to a new level. With Practices of the Python Pro, you’ll learn to design professional-level, clean, easily maintainable software at scale using the incredibly popular programming language, Python. You’ll find easy-to-grok examples that use pseudocode and Python to introduce software development best practices, along with dozens of instantly useful techniques that will help you code like a pro. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology Professional-quality code does more than just run without bugs. It’s clean, readable, and easy to maintain. To step up from a capable Python coder to a professional developer, you need to learn industry standards for coding style, application design, and development process. That’s where this book is indispensable. About the book Practices of the Python Pro teaches you to design and write professional-quality software that’s understandable, maintainable, and extensible. Dane Hillard is a Python pro who has helped many dozens of developers make this step, and he knows what it takes. With helpful examples and exercises, he teaches you when, why, and how to modularize your code, how to improve quality by reducing complexity, and much more. Embrace these core principles, and your code will become easier for you and others to read, maintain, and reuse. What's inside Organizing large Python projects Achieving the right levels of abstraction Writing clean, reusable code Inheritance and composition Considerations for testing and performance About the reader For readers familiar with the basics of Python, or another OO language. About the author Dane Hillard has spent the majority of his development career using Python to build web applications. Table of Contents: PART 1 WHY IT ALL MATTERS 1 ¦ The bigger picture PART 2 FOUNDATIONS OF DESIGN 2 ¦ Separation of concerns 3 ¦ Abstraction and encapsulation 4 ¦ Designing for high performance 5 ¦ Testing your software PART 3 NAILING DOWN LARGE SYSTEMS 6 ¦ Separation of concerns in practice 7 ¦ Extensibility and flexibility 8 ¦ The rules (and exceptions) of inheritance 9 ¦ Keeping things lightweight 10 ¦ Achieving loose coupling PART 4 WHAT’S NEXT? 11 ¦ Onward and upward

Linux Basics for Hackers

By OccupyTheWeb
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : No Starch Press
  • Book Code : 159327856X
  • Total of Pages : 248
  • Category : Computers
  • Members : 718
  • Pdf File: linux-basics-for-hackers.pdf

Book Short Summary:

This practical, tutorial-style book uses the Kali Linux distribution to teach Linux basics with a focus on how hackers would use them. Topics include Linux command line basics, filesystems, networking, BASH basics, package management, logging, and the Linux kernel and drivers. If you're getting started along the exciting path of hacking, cybersecurity, and pentesting, Linux Basics for Hackers is an excellent first step. Using Kali Linux, an advanced penetration testing distribution of Linux, you'll learn the basics of using the Linux operating system and acquire the tools and techniques you'll need to take control of a Linux environment. First, you'll learn how to install Kali on a virtual machine and get an introduction to basic Linux concepts. Next, you'll tackle broader Linux topics like manipulating text, controlling file and directory permissions, and managing user environment variables. You'll then focus in on foundational hacking concepts like security and anonymity and learn scripting skills with bash and Python. Practical tutorials and exercises throughout will reinforce and test your skills as you learn how to: - Cover your tracks by changing your network information and manipulating the rsyslog logging utility - Write a tool to scan for network connections, and connect and listen to wireless networks - Keep your internet activity stealthy using Tor, proxy servers, VPNs, and encrypted email - Write a bash script to scan open ports for potential targets - Use and abuse services like MySQL, Apache web server, and OpenSSH - Build your own hacking tools, such as a remote video spy camera and a password cracker Hacking is complex, and there is no single way in. Why not start at the beginning with Linux Basics for Hackers?

Effective Computation in Physics

By Anthony Scopatz,Kathryn D. Huff
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : "O'Reilly Media, Inc."
  • Book Code : 1491901586
  • Total of Pages : 552
  • Category : Science
  • Members : 525
  • Pdf File: effective-computation-in-physics.pdf

Book Short Summary:

More physicists today are taking on the role of software developer as part of their research, but software development isn’t always easy or obvious, even for physicists. This practical book teaches essential software development skills to help you automate and accomplish nearly any aspect of research in a physics-based field. Written by two PhDs in nuclear engineering, this book includes practical examples drawn from a working knowledge of physics concepts. You’ll learn how to use the Python programming language to perform everything from collecting and analyzing data to building software and publishing your results. In four parts, this book includes: Getting Started: Jump into Python, the command line, data containers, functions, flow control and logic, and classes and objects Getting It Done: Learn about regular expressions, analysis and visualization, NumPy, storing data in files and HDF5, important data structures in physics, computing in parallel, and deploying software Getting It Right: Build pipelines and software, learn to use local and remote version control, and debug and test your code Getting It Out There: Document your code, process and publish your findings, and collaborate efficiently; dive into software licenses, ownership, and copyright procedures

Beyond the Basic Stuff with Python

By Al Sweigart
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : No Starch Press
  • Book Code : 1593279671
  • Total of Pages : 384
  • Category : Computers
  • Members : 483
  • Pdf File: beyond-the-basic-stuff-with-python.pdf

Book Short Summary:

BRIDGE THE GAP BETWEEN NOVICE AND PROFESSIONAL You've completed a basic Python programming tutorial or finished Al Sweigart's bestseller, Automate the Boring Stuff with Python. What's the next step toward becoming a capable, confident software developer? Welcome to Beyond the Basic Stuff with Python. More than a mere collection of advanced syntax and masterful tips for writing clean code, you'll learn how to advance your Python programming skills by using the command line and other professional tools like code formatters, type checkers, linters, and version control. Sweigart takes you through best practices for setting up your development environment, naming variables, and improving readability, then tackles documentation, organization and performance measurement, as well as object-oriented design and the Big-O algorithm analysis commonly used in coding interviews. The skills you learn will boost your ability to program--not just in Python but in any language. You'll learn: • Coding style, and how to use Python's Black auto-formatting tool for cleaner code • Common sources of bugs, and how to detect them with static analyzers • How to structure the files in your code projects with the Cookiecutter template tool • Functional programming techniques like lambda and higher-order functions • How to profile the speed of your code with Python's built-in timeit and cProfile modules • The computer science behind Big-O algorithm analysis • How to make your comments and docstrings informative, and how often to write them • How to create classes in object-oriented programming, and why they're used to organize code Toward the end of the book you'll read a detailed source-code breakdown of two classic command-line games, the Tower of Hanoi (a logic puzzle) and Four-in-a-Row (a two-player tile-dropping game), and a breakdown of how their code follows the book's best practices. You'll test your skills by implementing the program yourself. Of course, no single book can make you a professional software developer. But Beyond the Basic Stuff with Python will get you further down that path and make you a better programmer, as you learn to write readable code that's easy to debug and perfectly Pythonic Requirements: Covers Python 3.6 and higher

How Computers Really Work

By Matthew Justice
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : No Starch Press
  • Book Code : 171850067X
  • Total of Pages : 380
  • Category : Computers
  • Members : 905
  • Pdf File: how-computers-really-work.pdf

Book Short Summary:

An approachable, hands-on guide to understanding how computers work, from low-level circuits to high-level code. How Computers Really Work is a hands-on guide to the computing ecosystem: everything from circuits to memory and clock signals, machine code, programming languages, operating systems, and the internet. But you won't just read about these concepts, you'll test your knowledge with exercises, and practice what you learn with 41 optional hands-on projects. Build digital circuits, craft a guessing game, convert decimal numbers to binary, examine virtual memory usage, run your own web server, and more. Explore concepts like how to: • Think like a software engineer as you use data to describe a real world concept • Use Ohm's and Kirchhoff's laws to analyze an electrical circuit • Think like a computer as you practice binary addition and execute a program in your mind, step-by-step The book's projects will have you translate your learning into action, as you: • Learn how to use a multimeter to measure resistance, current, and voltage • Build a half adder to see how logical operations in hardware can be combined to perform useful functions • Write a program in assembly language, then examine the resulting machine code • Learn to use a debugger, disassemble code, and hack a program to change its behavior without changing the source code • Use a port scanner to see which internet ports your computer has open • Run your own server and get a solid crash course on how the web works And since a picture is worth a thousand bytes, chapters are filled with detailed diagrams and illustrations to help clarify technical complexities. Requirements: The projects require a variety of hardware - electronics projects need a breadboard, power supply, and various circuit components; software projects are performed on a Raspberry Pi. Appendix B contains a complete list. Even if you skip the projects, the book's major concepts are clearly presented in the main text.

Autotools, 2nd Edition

By John Calcote
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : No Starch Press
  • Book Code : 1593279736
  • Total of Pages : 584
  • Category : Computers
  • Members : 499
  • Pdf File: autotools-2nd-edition.pdf

Book Short Summary:

The long awaited update to the practitioner's guide to GNU Autoconf, Automake, and Libtool The GNU Autotools make it easy for developers to create software that is portable across many Unix-like operating systems, and even Windows. Although the Autotools are used by thousands of open source software packages, they have a notoriously steep learning curve. Autotools is the first book to offer programmers a tutorial-based guide to the GNU build system. Author John Calcote begins with an overview of high-level concepts and a hands-on tour of the philosophy and design of the Autotools. He then tackles more advanced details, like using the M4 macro processor with Autoconf, extending the framework provided by Automake, and building Java and C# sources. He concludes with solutions to frequent problems encountered by Autotools users. This thoroughly revised second edition has been updated to cover the latest versions of the Autotools. It includes five new chapters on topics like pkg-config, unit and integration testing with Autotest, internationalizing with GNU tools, the portability of gnulib, and using the Autotools with Windows. As with the first edition, you'll focus on two projects: Jupiter, a simple "Hello, world!" program, and FLAIM, an existing, complex open source effort containing four separate but interdependent projects. Follow along as the author takes Jupiter's build system from a basic makefile to a full-fledged Autotools project, and then as he converts the FLAIM projects from complex, hand-coded makefiles to the powerful and flexible GNU build system. Learn how to: • Master the Autotools build system to maximize your software's portability • Generate Autoconf configuration scripts to simplify the compilation process • Produce portable makefiles with Automake • Build cross-platform software libraries with Libtool • Write your own Autoconf macros This detailed introduction to the GNU Autotools is indispensable for developers and programmers looking to gain a deeper understanding of this complex suite of tools. Stop fighting against the system and make sense of it all with the second edition of Autotools!

Racket Programming the Fun Way

By James. W. Stelly
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : No Starch Press
  • Book Code : 1718500831
  • Total of Pages : 360
  • Category : Computers
  • Members : 982
  • Pdf File: racket-programming-the-fun-way.pdf

Book Short Summary:

An introduction to the Racket functional programming language and DrRacket development environment to explore topics in mathematics (mostly recreational) and computer science. At last, a lively guided tour through all the features, functions, and applications of the Racket programming language. You'll learn a variety of coding paradigms, including iterative, object oriented, and logic programming; create interactive graphics, draw diagrams, and solve puzzles as you explore Racket through fun computer science topics--from statistical analysis to search algorithms, the Turing machine, and more. Early chapters cover basic Racket concepts like data types, syntax, variables, strings, and formatted output. You'll learn how to perform math in Racket's rich numerical environment, and use programming constructs in different problem domains (like coding solutions to the Tower of Hanoi puzzle). Later, you'll play with plotting, grapple with graphics, and visualize data. Then, you'll escape the confines of the command line to produce animations, interactive games, and a card trick program that'll dazzle your friends. You'll learn how to: • Use DrRacket, an interactive development environment (IDE) for writing programs • Compute classical math problems, like the Fibonacci sequence • Generate two-dimensional function plots and create drawings using graphics primitives • Import and export data to and from Racket using ports, then visually analyze it • Build simple computing devices (pushdown automaton, Turing machine, and so on) that perform tasks • Leverage Racket's built-in libraries to develop a command line algebraic calculator Racket Programming the Fun Way is just like the language itself--an embodiment of everything that makes programming interesting and worthwhile, and that makes you a better programmer.

Scratch 3 Programming Playground

By Al Sweigart
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : No Starch Press
  • Book Code : 171850022X
  • Total of Pages : 288
  • Category : Young Adult Nonfiction
  • Members : 170
  • Pdf File: scratch-3-programming-playground.pdf

Book Short Summary:

A project-filled introduction to coding that shows kids how to build programs by making cool games. Scratch, the colorful drag-and-drop programming language, is used by millions of first-time learners worldwide. Scratch 3 features an updated interface, new programming blocks, and the ability to run on tablets and smartphones, so you can learn how to code on the go. In Scratch 3 Programming Playground, you'll learn to code by making cool games. Get ready to destroy asteroids, shoot hoops, and slice and dice fruit! Each game includes easy-to-follow instructions with full-color images, review questions, and creative coding challenges to make the game your own. Want to add more levels or a cheat code? No problem, just write some code. You'll learn to make games like: • Maze Runner: escape the maze! • Snaaaaaake: gobble apples and avoid your own tail • Asteroid Breaker: smash space rocks • Fruit Slicer: a Fruit Ninja clone • Brick Breaker: a remake of Breakout, the brick-breaking classic • Platformer: a game inspired by Super Mario Bros Learning how to program shouldn't be dry and dreary. With Scratch 3 Programming Playground, you'll make a game of it! Covers: Scratch 3

Learn to Code by Solving Problems

By Daniel Zingaro
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : No Starch Press
  • Book Code : 1718501331
  • Total of Pages : 336
  • Category : Computers
  • Members : 636
  • Pdf File: learn-to-code.pdf

Book Short Summary:

Learn to Code by Solving Problems is a practical introduction to programming using Python. It uses coding-competition challenges to teach you the mechanics of coding and how to think like a savvy programmer. Computers are capable of solving almost any problem when given the right instructions. That’s where programming comes in. This beginner’s book will have you writing Python programs right away. You’ll solve interesting problems drawn from real coding competitions and build your programming skills as you go. Every chapter presents problems from coding challenge websites, where online judges test your solutions and provide targeted feedback. As you practice using core Python features, functions, and techniques, you’ll develop a clear understanding of data structures, algorithms, and other programming basics. Bonus exercises invite you to explore new concepts on your own, and multiple-choice questions encourage you to think about how each piece of code works. You’ll learn how to: • Run Python code, work with strings, and use variables • Write programs that make decisions • Make code more efficient with while and for loops • Use Python sets, lists, and dictionaries to organize, sort, and search data • Design programs using functions and top-down design • Create complete-search algorithms and use Big O notation to design more efficient code By the end of the book, you’ll not only be proficient in Python, but you’ll also understand how to think through problems and tackle them with code. Programming languages come and go, but this book gives you the lasting foundation you need to start thinking like a programmer.

Natural Language Processing with Python and spaCy

By Yuli Vasiliev
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : No Starch Press
  • Book Code : 171850053X
  • Total of Pages : 216
  • Category : Computers
  • Members : 589
  • Pdf File: natural-language-processing-with-python-and-spacy.pdf

Book Short Summary:

An introduction to natural language processing with Python using spaCy, a leading Python natural language processing library. Natural Language Processing with Python and spaCy will show you how to create NLP applications like chatbots, text-condensing scripts, and order-processing tools quickly and easily. You'll learn how to leverage the spaCy library to extract meaning from text intelligently; how to determine the relationships between words in a sentence (syntactic dependency parsing); identify nouns, verbs, and other parts of speech (part-of-speech tagging); and sort proper nouns into categories like people, organizations, and locations (named entity recognizing). You'll even learn how to transform statements into questions to keep a conversation going. You'll also learn how to: • Work with word vectors to mathematically find words with similar meanings (Chapter 5) • Identify patterns within data using spaCy's built-in displaCy visualizer (Chapter 7) • Automatically extract keywords from user input and store them in a relational database (Chapter 9) • Deploy a chatbot app to interact with users over the internet (Chapter 11) "Try This" sections in each chapter encourage you to practice what you've learned by expanding the book's example scripts to handle a wider range of inputs, add error handling, and build professional-quality applications. By the end of the book, you'll be creating your own NLP applications with Python and spaCy.

Python编程快速上手——让繁琐工作自动化

By (美)阿尔?斯维加特(Al Sweigart)著,王海鹏译
  • File : Pdf, ePub, Mobi, Kindle
  • Publisher : BEIJING BOOK CO. INC.
  • Book Code : 7115551871
  • Total of Pages : 409
  • Category : Computers
  • Members : 712
  • Pdf File: python编程快速上手-让繁琐工作自动化.pdf

Book Short Summary:

本书是一本面向初学者的Python编程实用指南。本书不仅介绍了Python语言的基础知识,而且通过案例实践教读者如何使用这些知识和技能。本书的第一部分介绍了基本的Python编程概念;第二部分介绍了一些不同的任务,通过编写Python程序,可以让计算机自动完成它们。第二部分的每一章都有一些项目程序供读者学习。本书每章的末尾提供了一些习题,除第1、2章外,每章末尾还提供了深入的实践项目,帮助读者巩固所学的知识。