Python Basics: Automation and Bots (Coursera)

Python Basics: Automation and Bots (Coursera)

Manipulating the flow of how your code runs is the major part of coding and learning to think in code. We'll experience turning logic into useful work by automatically reading all of Shakespeare, and by setting Python up to give you a call on the phone. In technical terms, the parts of Python you will learn are for loops, list comprehensions, and conditional statements, while at a higher level we'll get a lot on code style and other common ideas and practices that surround the specifics of how to code.

Class Deals by MOOC List - Click here and see Coursera's Active Discounts, Deals, and Promo Codes.

Course 3 of 4 in the Python Basics for Online Research Specialization.

What You Will 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.

Syllabus

WEEK 1
Reading all of Shakespeare in an Instant
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!

WEEK 2
The Flow of Your Python Code
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.

WEEK 3
Code Flow and Logic
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.

WEEK 4
Course Summary & Honors: Interactive Demo
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.

Go to Class
MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Related Courses

Fundamentals of Ansible (Coursera) Coursera
Red Hat

Fundamentals of Ansible (Coursera)

Welcome to Fundamentals of Ansible, an introduction into the world of automation and configuration management! This course is designed to guide you through the basics of Ansible, a powerful tool that simplifies complex workflows and IT environments. Whether you're a beginner looking to gain a solid foundation or an experienced professional seeking to refine your skills, this course offers an exploration of Ansible fundamental capabilities.

Aug 3rd 2026
5-12 Weeks
Programming Mobile Applications for Android Handheld Systems: Part 1 (Coursera) Coursera
University of Maryland, College Park

Programming Mobile Applications for Android Handheld Systems: Part 1 (Coursera)

This course introduces you to the design and implementation of Android applications for mobile devices. You will develop an app from scratch, assuming a basic knowledge of Java, and learn how to set up Android Studio, work with various Activities and create simple user interfaces to make your apps run smoothly.

Aug 3rd 2026
5-12 Weeks
Supply Chain Management for E-commerce (Coursera) Coursera
Starweaver

Supply Chain Management for E-commerce (Coursera)

Immerse yourself in the dynamic realm of e-commerce supply chains with our course, "Supply Chain Management for E-commerce." Designed for emerging entrepreneurs, small business owners, and career switchers, this immersive journey equips learners with comprehensive insights. From foundational supply chain components to the strategic integration of technology and sustainability, participants will gain practical knowledge to navigate challenges and optimize operations in the e-commerce realm.

Aug 3rd 2026
1 Week
Practical Python for AI Coding 1 (Coursera) Coursera
Korea Advanced Institute of Science and Technology - KAIST

Practical Python for AI Coding 1 (Coursera)

This course is for a complete novice of Python coding, so no prior knowledge or experience in software coding is required. This course selects, introduces and explains Python syntaxes, functions and libraries that were frequently used in AI coding. In addition, this course introduces vital syntaxes, and functions often used in AI coding and explains the complementary relationship among NumPy, Pandas and TensorFlow, so this course is helpful for even seasoned python users.

Aug 3rd 2026
5-12 Weeks
AWS Database Specialty Certification (Coursera) Coursera
EDUCBA

AWS Database Specialty Certification (Coursera)

This course offers a comprehensive journey through the world of databases and their management on the AWS cloud platform. From understanding the core concepts of databases to mastering advanced topics like migration, automation, and security, participants will gain a solid foundation in database design, deployment, and management using AWS services.

Aug 3rd 2026
5-12 Weeks
Network Systems Foundations (Coursera) Coursera
University of Colorado Boulder

Network Systems Foundations (Coursera)

Welcome! Throughout this course, Network Systems Foundations, you will delve into the fundamental layers of network communication. You will start with a thorough discussion of the Link Layer and its crucial role, moving on to the intricacies of Internet Protocol (IP) and router data planes, and then navigate through the complexities of the transport layer, application layer, and network security.

Aug 3rd 2026
5-12 Weeks
Programming with Scratch (Coursera) Coursera
The Hong Kong University of Science and Technology - HKUST

Programming with Scratch (Coursera)

Learning coding is not only about understanding the programming language being used, but also developing important computational thinking skills, which are useful for problem solving across many disciplinary areas. In this course, students will learn basic programming skills by creating interactive storybooks, animations, and games with Scratch, which is a block-based visual programming language for anyone new to coding.

Aug 3rd 2026
5-12 Weeks
Data Processing Using Python (Coursera) Coursera
Nanjing University

Data Processing Using Python (Coursera)

This course is mainly for non-computer majors. It starts with the basic syntax of Python, to how to acquire data in Python locally and from network, to how to present data, then to how to conduct basic and advanced statistic analysis and visualization of data, and finally to how to design a simple GUI to present and process data, advancing level by level.

Aug 10th 2026
5-12 Weeks
Open Source Programming - Master's (Coursera) Coursera
Illinois Tech

Open Source Programming - Master's (Coursera)

Contemporary open-source programming languages and frameworks are presented in this course. Students will consider design and development topics in system, graphical user interface, network, and web programming. Dynamic scripting languages are covered using object-oriented, concurrent, and functional programming paradigms. Concepts gained throughout the course are reinforced with numerous exercises which will culminate in an open-source programming project.

Aug 3rd 2026
5-12 Weeks
Programación en Python (Coursera) Coursera
Universidad de los Andes

Programación en Python (Coursera)

¡Te damos la bienvenida al curso de Programación en Python de la Universidad de los Andes! El propósito de este curso es ofrecerte un ambiente interactivo para que desarrolles tus habilidades de pensamiento computacional, aprendas a programar en el lenguaje Python y te entrenes en la resolución de problemas utilizando un computador. La estrategia pedagógica empleada es el aprendizaje activo basado en casos.

Aug 3rd 2026
4 Weeks
Learn CSS Flexbox (Coursera) Coursera
Scrimba

Learn CSS Flexbox (Coursera)

Mastering CSS Flexbox: Unlock the Power of Flexible Web Layouts. Discover the indispensable art of CSS Flexbox and elevate your web development prowess to new heights. In this comprehensive course, you'll gain proficiency in harnessing the unparalleled capabilities of Flexbox, revolutionizing the way you construct websites.

Aug 3rd 2026
1 Week
Learn TypeScript (Coursera) Coursera
Scrimba

Learn TypeScript (Coursera)

Are you a proficient developer in HTML, CSS, and JavaScript, looking to elevate your technical skillset? Have you observed an increasing demand for TypeScript in the professional job market and are keen to explore its significance? Are you in search of a programming language that offers ease in readability and debugging? If the answer to any of these questions is affirmative, then you have arrived at the optimal course to advance your career.

Aug 3rd 2026
4 Weeks