click to
look inside
Look inside
Think Computationally with Python

How to Think about Simulating Nature you own this product

This project is part of the liveProject series Think Computationally with Five Small Python Projects
prerequisites
beginner Python, specifically tkinter • basics of data structures, branching constructs and looping structures • basics of how to use time and random libraries
skills learned
using the tkinter library • adding widgets to a UI • manipulating shapes in a UI • working with row and column data in a grid
Ana Bell
1 week · 4-6 hours per week · BEGINNER
filed under

placing your order...

Don't refresh or navigate away from the page.
liveProject This project is part of the liveProject series Think Computationally with Five Small Python Projects liveProjects give you the opportunity to learn new skills by completing real-world challenges in your local development environment. Solve practical problems, write working code, and analyze real data—with liveProject, you learn by doing. These self-paced projects also come with full liveBook access to select books for 90 days plus permanent access to other select Manning products.

Get One, Give One  
This December, for every book, video, or liveProject you buy, you’ll get a free second one to give away. You can use these free gifts for your friends, coworkers, or anyone you want to help, nudge, or encourage.
$19.99 $29.99 you save $10 (33%)
+ get a free copy to give away
How to Think about Simulating Nature (liveProject) added to cart
continue shopping
go to cart

Look inside
In this quick liveProject, you’ll write a UI that simulates water drops on a window during rain. You’ll use nested lists, the random library, and tkinter to increase droplet size with certain probability, and resetting sizes when drops become too big.
This project is designed for learning purposes and is not a complete, production-ready application or solution.

book resources

When you start your liveProject, you get full access to the following books for 90 days.

project author

Ana Bell
Dr. Ana Bell is a lecturer at the Massachusetts Institute of Technology in the Electrical Engineering and Computer Science department. She has co-lectured two introductory computer science courses in Python for the past five years. She was first introduced to Python in graduate school at Princeton University, where she started using it to parse and reformat large files in her research and found it to be an intuitive language to learn and use. Since then, she's used it for work and personal tasks, and most recently started tinkering with various data science libraries.

prerequisites

These liveProjects are for beginner Python programmers with a basic mastery of the language, and an understanding of common Python libraries. To begin these liveProjects, you will need to be familiar with:

TOOLS
  • Basics of Python
  • Basics of pandas
TECHNIQUES
  • Basic data structures and algorithms
  • Recursive functions

you will learn

In these liveProjects, you’ll learn important Python skills that will take you from a beginner to an intermediate programmer. These skills are an excellent foundation for data science, app development, and scripting.

  • Common Python libraries
  • MIMEMultipart messages
  • Simulating probability with random libraries
  • Creating a UI window, canvas, and adding and manipulating objects
  • Brute-force solutions
  • Dealing with missing or bad data
  • Plotting columns in a data frame

features

Self-paced
You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.
RECENTLY VIEWED