A Pythonic Adventure
eBook - ePub

A Pythonic Adventure

From Python basics to a working web app

  1. 240 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

A Pythonic Adventure

From Python basics to a working web app

About this book

Time to take an adventure with friends! Team up with Erik and Simon to learn Python the easy way. This colorful book uses engaging questions and lively conversations to introduce computer programming to young readers one step at a time. In A Pythonic Adventure, you will learn useful Python skills like:

  • Installing Python
  • Working with files
  • Creating text-based dialogs and menus
  • Using if/then, loops, lists, dictionaries, and input/output
  • Building web applications
  • Making your web apps look super professional


It's fun to learn with friends! In A Pythonic Adventure you'll meet Erik and Simon, two brothers who are just beginning their Python journey. Join them as they chat about the language, learn the basics, and build some cool programs. The book's dialogue helps young programmers understand complex concepts much more easily. It's the perfect way for young programmers (and their parents) to get started. There's no boring lessons or dull exercises in this adventure. You'll follow Erik and Simon's questions and mistakes, discover how to write programs with a team, and get a chance to create applications you can use in your daily life. By the time they're done reading, young learners will not only know how to write code, they'll know how to think about problems like professional developers. All code in this book runs on Mac, Windows, Linux, and Raspberry Pi. About the technology Computer programming is an adventure, full of new experiences, challenges, triumphs, and mistakes. In A Pythonic Adventure, you'll join brothers Erik and Simon as they learn to create their first Python program. Written especially for young readers, this book is the perfect introduction to a skill that will last a lifetime! About the book A Pythonic Adventure teaches you to code by asking questions, making errors, and trying out different solutions—just like in real life. As you go, you'll create a web application for a coffee shop step-by-step, from your first online menu to saving orders in a database. And this unique tutorial goes deeper than other beginner books. You'll learn and practice important skills like planning applications, finding bugs, and managing user expectations. What's inside

  • Installing Python
  • Creating text-based dialogs and menus
  • Building web applications
  • Making your web apps look professional


About the reader For readers aged 10+. Perfect for adult beginners, too! About the author Pavel Anni is a Principal Customer Engineer at SambaNova Systems, and has also worked for Sun Microsystems, Oracle, and Red Hat. Table of Contents 1 Coffee for friends: First steps
2 Lists: What's on the menu?
3 Functions: Don't repeat yourself!
4 User errors: Everybody makes mistakes
5 Working with files: Being a shop manager
6 Main menu: Next customer!
7 Creating functions: Get the order and print it
8 Working with JSON: Save the order
9 Complete the menu: A real program
10 Learning Flask: Your first web application
11 Web form for orders: Coffee shop on the web
12 Database: We need good storage
13 Styles: Making it pretty
14 Help from AI: Improving our code
15 Next steps: Plans for the future

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access A Pythonic Adventure by Pavel Anni in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Science General. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. A Pythonic Adventure
  2. Copyright
  3. dedication
  4. contents
  5. front matter
  6. 1 Coffee for friends: First steps
  7. 2 Lists: What’s on the menu?
  8. 3 Functions: Don’t repeat yourself!
  9. 4 User errors: Everybody makes mistakes
  10. 5 Working with files: Being a shop manager
  11. 6 Main menu: Next customer!
  12. 7 Creating functions: Get the order and print it
  13. 8 Working with JSON: Save the order
  14. 9 Complete the menu: A real program
  15. 10 Learning Flask: Your first web application
  16. 11 Web form for orders: Coffee shop on the web
  17. 12 Database: We need good storage
  18. 13 Styles: Making it pretty
  19. 14 Help from AI: Improving our code
  20. 15 Next steps: Plans for the future
  21. Appendix A. Ideas for your first application
  22. Appendix B. How to install the Mu editor and Python environment
  23. index