Understanding the flow of running code is a major part of learning to think in code and of coding itself. In this course we will study the flow of code through several demonstrations and walkthroughs. We'll experience turning logic into useful work by running Python that automatically reads all of Shakespeare, and by setting Python up to give you a call on the phone. In technical terms, this course will demonstrate Python loops, list comprehensions, and conditional statements, while at a higher level we'll discuss code style and good practices for code.
Python Basics: Automation and Bots
This course is part of Python Basics for Online Research Specialization
Instructor: Seth Frey
Sponsored by Louisiana Workforce Commission
1,826 already enrolled
What you'll learn
Learn how to play faster and looser and more casual with code, skimming and copying code from the Internet.
Discuss code flow and the order that your computer reads the code you write. This introduces us to a whole other level of thinking in code.
Logic can be harnessed to do useful stuff. We'll make it concrete by performing tasks like building an anagram finder.
Apply Python by robocall and spam text yourself through the Twilio API.
Details to know
Add to your LinkedIn profile
3 assignments
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
There are 4 modules in this course
To demonstrate the power of Python, you'll download and automatically read the complete works of William Shakespeare, toward finding his longest and strangest words. In this module, you'll also learn how to play faster and looser and more casual with code, skimming and copying code from the Internet. Let's get started!
What's included
4 videos4 readings1 assignment1 programming assignment2 discussion prompts
Code flow is the order that your computer reads the code you write. It's usually straightforward, from left to right, top to bottom, but the more we play with logic, the funnier the flow of code through the page. This introduces us to a whole other level of thinking in code.
What's included
5 videos1 assignment1 programming assignment1 discussion prompt
It can be hard to imagine at first how logic can be harnessed to do useful stuff. In this module we make it concrete by performing wordy little tasks like building an anagram finder.
What's included
6 videos1 assignment1 programming assignment1 discussion prompt
In the honor's section of this module, you will robocall and spam text yourself through the Twilio API in Python. Twilio is what companies use to automate phone calls and texting.
What's included
3 videos5 readings1 programming assignment2 discussion prompts
Instructor
Offered by
Why people choose Coursera for their career
Recommended if you're interested in Computer Science
Imperial College London
University of California, Davis
Open new doors with Coursera Plus
Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription
Advance your career with an online degree
Earn a degree from world-class universities - 100% online
Join over 3,400 global companies that choose Coursera for Business
Upskill your employees to excel in the digital economy