Coursera
Explore
  • Browse
  • Search
  • For Enterprise
  • Log In
  • Sign Up

Python Data Representations

OverviewSyllabusFAQsCreatorsPricingRatings and Reviews

HomeComputer ScienceSoftware Development

Python Data Representations

Rice University

About this course: This course will continue the introduction to Python programming that started with Python Programming Essentials. We'll learn about different data representations, including strings, lists, and tuples, that form the core of all Python programs. We will also teach you how to access files, which will allow you to store and retrieve data within your programs. These concepts and skills will help you to manipulate data and write more complex Python programs. By the end of the course, you will be able to write Python programs that can manipulate data stored in files. This will extend your Python programming expertise, enabling you to write a wide range of scripts using Python This course uses Python 3. While most Python programs continue to use Python 2, Python 3 is the future of the Python programming language. This course introduces basic desktop Python development environments, allowing you to run Python programs directly on your computer. This choice enables a smooth transition from online development environments.

Who is this class for: This class is for people who have have the background from our Python Programming Essentials course.


Created by:  Rice University
Rice University

  • Scott Rixner

    Taught by:  Scott Rixner, Professor

    Computer Science

  • Joe Warren

    Taught by:  Joe Warren, Professor

    Computer Science
Basic Info
Course 2 of 4 in the Introduction to Scripting in Python Specialization
LevelBeginner
CommitmentThis is a four week class with an expected workload of 5-7 hours per week.
Language
English, Subtitles: Vietnamese
How To PassPass all graded assignments to complete the course.
User Ratings
4.7 stars
Average User Rating 4.7See what learners said
Syllabus
WEEK 1
Strings
This module will teach you about Python's string data type and its capabilities. Strings are used to represent text within programs.
7 videos, 2 readings
  1. Video: Welcome!
  2. Video: Class Structure
  3. Video: Python Strings
  4. Video: Indexing Strings
  5. Video: Searching Strings
  6. Video: Slicing Strings
  7. Reading: Formatting Strings
  8. Video: Answering Common Python Questions
  9. Reading: Practice Exercises for Strings
Graded: Strings
WEEK 2
Basics of Lists
This module will teach you the basics of Python's list data type. Lists are used to hold a sequence of data within programs.
7 videos, 4 readings
  1. Video: Lists
  2. Video: List Indexing and Slicing
  3. Reading: Defining and Accessing Lists
  4. Video: Splitting and Joining Strings
  5. Video: List Searching
  6. Video: Iteration over Lists
  7. Reading: Iteration
  8. Reading: Using Thonny
  9. Video: Using Thonny's Debugger
  10. Video: Debugging an Example Program
  11. Reading: Practice Exercises for Lists
Graded: Lists
WEEK 3
List Manipulation
This module will dive further into the use of lists. You will learn how about mutating the contents of a list and the implications of doing so.
5 videos, 3 readings
  1. Video: List Mutation
  2. Reading: List Processing Example
  3. Video: Tuples
  4. Video: Objects and References
  5. Video: Understanding List References
  6. Reading: Visualizing Objects and References
  7. Video: Diagnosing List Reference Issues
  8. Reading: Practice Exercises for List Manipulation
Graded: List Manipulation
WEEK 4
File Access
This module will teach you how to access files in Python.
5 videos, 5 readings
  1. Reading: Introduction to Files
  2. Video: Opening and Reading Files
  3. Video: Reading Files using Iteration
  4. Video: Writing Files
  5. Reading: Understanding File Systems and Paths
  6. Video: Working with File Paths
  7. Reading: Practice Project: Updating the CodeSkulptor Docs
  8. Video: Project Video
  9. Reading: Project Description: File Differences
  10. Reading: OwlTest: Automated Feedback and Assessment
  11. LTI Item: Project Submission History
Graded: Project: File Differences

FAQs
How It Works
Coursework
Coursework

Each course is like an interactive textbook, featuring pre-recorded videos, quizzes and projects.

Help from Your Peers
Help from Your Peers

Connect with thousands of other learners and debate ideas, discuss course material, and get help mastering concepts.

Certificates
Certificates

Earn official recognition for your work, and share your success with friends, colleagues, and employers.

Creators
Rice University
Rice University is consistently ranked among the top 20 universities in the U.S. and the top 100 in the world. Rice has highly respected schools of Architecture, Business, Continuing Studies, Engineering, Humanities, Music, Natural Sciences and Social Sciences and is home to the Baker Institute for Public Policy.
Pricing
Purchase Course
Access to course materials

Available

Access to graded materials

Available

Receive a final grade

Available

Earn a shareable Course Certificate

Available

Ratings and Reviews
Rated 4.7 out of 5 of 142 ratings

PB

The project is very interesting. It took me 3 hours to finish but it is worth it. Thank you very much Prof Joe and Prof Scott

EDILSON SUAME SILVA OLIVEIRA JÚNIOR

Excellent Course!

MA

Great intro to the ins and outs of Python data structures and functions

JB

Excellent course. Gives you an introduction to working with Strings, Lists and Files. And there are lots of exercises to practice.



You May Also Like
Rice University
Python Data Analysis
1 course
Rice University
Python Data Analysis
View course
Rice University
Python Data Visualization
1 course
Rice University
Python Data Visualization
View course
Rice University
Python Programming Essentials
1 course
Rice University
Python Programming Essentials
View course
Rice University
Principles of Computing (Part 2)
1 course
Rice University
Principles of Computing (Part 2)
View course
Rice University
Principles of Computing (Part 1)
1 course
Rice University
Principles of Computing (Part 1)
View course
Coursera
Coursera provides universal access to the world’s best education, partnering with top universities and organizations to offer courses online.
© 2018 Coursera Inc. All rights reserved.
Download on the App StoreGet it on Google Play
  • Coursera
  • About
  • Leadership
  • Careers
  • Catalog
  • Certificates
  • Degrees
  • For Business
  • For Government
  • Community
  • Partners
  • Mentors
  • Translators
  • Developers
  • Beta Testers
  • Connect
  • Blog
  • Facebook
  • LinkedIn
  • Twitter
  • Google+
  • Tech Blog
  • More
  • Terms
  • Privacy
  • Help
  • Accessibility
  • Press
  • Contact
  • Directory
  • Affiliates