Giter Site home page Giter Site logo

the-python-workshop-second-edition's Introduction

The Python Workshop - Second Edition

The Python Workshop - Second Edition

This is the code repository for The Python Workshop - Second Edition, published by Packt.

Write Python code to solve challenging real-world problems

What is this book about?

Have you always wanted to learn Python, but never quite known how to start?

This book covers the following exciting features:

  • Write efficient and concise functions using core Python methods and libraries
  • Build classes to address different business needs
  • Create visual graphs to communicate key data insights
  • Organize big data and use machine learning to make regression and classification predictions
  • Develop web pages and programs with Python tools and packages
  • Automate essential tasks using Python scripts in real-time execution

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Errata

  • Page 49: Bullet point no. 7 must be read as "Initialize the for loop from offer to highest: while offer <= highest:"
  • Page 76: The output for aretha should be ('aretha', 75)
  • Page 478: Bullet point no. 1 must read "Head to the notebook file that you used for exercises 148-153 and run all the cells in the notebook so that all the variables are stored." instead of "Head to the notebook file that you used for exercises 147-151 and run all the cells in the notebook so that all the variables are stored."
  • Page 525: Figure caption for Figure 12.37 must be read as "An output for Activity 27 with 91% accuracy" instead of "Figure 12.37 – An output for Activity 26 with 91% accuracy"

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

s1 = set([1,2,3,4,5,6])
print(s1)
s2 = {1,2,2,3,4,4,5,6,6}
print(s2)
s3 = {3,4,5,6,6,6,1,1,2}
print(s3)

Following is what you need for this book: This book is for professionals, students, and hobbyists who want to learn Python and apply it to solve challenging real-world problems. Although this is a beginner’s course, you’ll learn more easily if you already have an understanding of standard programming topics like variables, if-else statements, and functions. Experience with another object-oriented program, though not essential, will also be beneficial. If Python is your first attempt at computer programming, this book will help you understand the basics with adequate detail for a motivated student.

With the following software and hardware list you can run all code files present in the book (Chapter 1-13).

Software and Hardware List

Chapter Software required OS required
1-13 Python 3.11 Windows, macOS, or Linux
1-13 Jupyter notebook Windows, macOS, or Linux

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it

Related products

Get to Know the Authors

Corey Wade who has an MS in Mathematics and an MFA in Writing and Consciousness, is the director and founder of Berkeley Coding Academy where he teaches Python and data science to teenagers from around the world. A regular contributor to Towards Data Science, Corey has also authored Hands-on Gradient Boosting with XGBoost and scikit-learn. Corey has taught math and programming for 18 years in the Berkeley Independent Study program at Berkeley High School. When not teaching or building Machine Learning models in Python, Corey reads poetry and studies the stars. You can visit his website berkeleycodingacademy.com.

Mario Corchero Jiménez is a senior software developer at Bloomberg. He leads the Python infrastructure team, enabling the company to work effectively with Python and building company-wide libraries and tools. His professional experience is mainly in C++ and Python and he has contributed patches to multiple Python open source projects. He is a PSF fellow, having received the PSF Q3 2018 Community Award, and the vice president of Python España (Spain’s Python association). He has also served as the chairperson of PyLondinium, PyConES17, and PyCon Charlas at PyCon 2018. Mario is passionate about the Python community, open source, and inner source.is a senior software developer at Bloomberg. He leads the Python infrastructure team, enabling the company to work effectively with Python and building company-wide libraries and tools. His professional experience is mainly in C++ and Python and he has contributed patches to multiple Python open source projects. He is a PSF fellow, having received the PSF Q3 2018 Community Award, and the vice president of Python España (Spain’s Python association). He has also served as the chairperson of PyLondinium, PyConES17, and PyCon Charlas at PyCon 2018. Mario is passionate about the Python community, open source, and inner source.

Andrew Bird is the data and analytics manager at Vesparum Capital. He leads the software and data science teams at Vesparum, overseeing full-stack web development in Django and React. He is an Australian actuary (FIAA, CERA) who has previously worked with Deloitte Consulting in financial services. Andrew also currently works as a full-stack developer for Draftable Pvt. Ltd. He voluntarily manages the ongoing development of the donation portal for the Effective Altruism Australia website.

Dr. Lau Cher Han is a chief data scientist and is currently the CEO of LEAD, an institution that provides programs on data science, full-stack web development, and digital marketing. Well-versed in programming languages such as JavaScript, Python, C#, and so on, he is experienced in MEAN Stack, ASP.NET, and Python Django web frameworks. He is multilingual and speaks English, Chinese, and Bahasa fluently. His knowledge of Chinese even includes its dialects of Hokkien, Teochew, and Cantonese.

Graham Lee is an experienced programmer and writer. He has written several books, including Professional Cocoa Application Security, Test-Driven iOS Development, APPropriate Behaviour, and APPosite Concerns. He is a developer who's been programming for long enough to want to start telling other people about the mistakes he's made in the hope that they'll avoid repeating them. In his case, this means having worked for about 12 years as a professional. His first programming experience can hardly be called professional at all, as it was in BASIC on a Dragon 32 microcomputer.

Other books by the authors

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781804610619

the-python-workshop-second-edition's People

Contributors

coreyjwade avatar jubit-packt avatar mariocj89 avatar packt-itservice avatar packt-pradeeps avatar rohitpackt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

the-python-workshop-second-edition's Issues

Typo on page 8

On page 8 it says "Trying to follow certain conventions is it's acceptable." I think you might be trying to say "Try to follow certain conventions." or "Trying to follow certain conventions is acceptable"

exercise 33 does not match book

On page 81 of the book the exercise has you create sets in different ways but in the file in this repo all the sets are created the same way

page 46 needs correction

Page 46 says that this is the first time we're using double indentation, but we used it on page 41 in exercise 16.

errata for page 49 wrong

Your errata reads: "Page 49: Bullet point no. 7 must be read as "Initialize the for loop from offer to highest: while offer <= highest:"" but it's not a for loop at all - it's a while loop.

minor: sum_to_10 never introduced

On page 97 there is a line of code that says 'from sum_to_10 import result' but no where before that was it explained that the code above that was sum_to_10.

exercise 53 uses formatting expressions without introduction

Exercise 53 uses the string formatting expression without ever introducing it to the reader, I had to go find the answer elsewhere to what I was looking at. A new concept shouldn't be used in an exercise without introduction or at least providing a link to more info

Activity 9

Activity 9, as far as I am aware, introduces % strings for the first time which is confusing. Please explain before.

Exercises numbered from from chapter 3

Chapter 2 has the last exercise of 34 and then in the chapter 3 folder here in the repo it starts with exercise 34 even though it's really the content from exercise 35

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.