Python Programming - Working with Lists and Files - Revised
Learn to work with lists and files using Python programming with this back end programming languages course.
Description
This course will teach you how to create lists in your programming, the process of updating your list, and how to search through it. You will learn to use 'remove()' when you know the value you want to be removed and 'del' when you know the index number of the item you want removed. The course will teach you how to create a file with your code, write information in a file, and specify the file name including the file extension and the access mode.
Next, how to read from a file. The course will discuss the library where you can get help in reading CSV files and which also provides many functions that you would otherwise have to create yourself. You will study the functions of 'with' statement, indentation, and Visual Studio. You will learn to define a code block by inserting 'sub' or 'function' followed by 'end sub' or 'end function'. The course will also teach you why it is important to place your message within double quotation marks in your code.
Python is a beginner-friendly language that is easy to understand. It has plenty of resources to help you build just about anything with the right tools/libraries. This Python Programming - Working with Lists and Files is part of a series of courses on Python programming, which includes 'Programming Concepts with Python', 'Working with Numbers, Dates and Time' and 'Working with Complex Decisions and Events'. Make sure to take this course along with the others in the series, and acquire the web programming skills you desire.
Start Course NowModules
Remembering Lists
-
Remembering Lists - Learning Outcomes
-
Creating Lists
-
Updating Lists
-
Searching Lists
-
Remembering Lists - Lesson Summary
How to Save Information in Files
-
How to Save Information in Files - Learning Outcomes
-
Working with Files
-
Writing to Files
-
How to Save Information in Files - Lesson Summary
Reading from Files
Course assessment
Learning Outcomes
Having completed this course you will be able to:
- Explain how to create lists in your programming
- Describe the process of updating and modifying your list
- Explain how to search through a list
- Describe the process of creating a file with your code
- Describe how to write information to a file
- Explain the process of reading from a file
- Recognize a csv file and reading data from a csv file
Certification
All Alison courses are free to enrol, study and complete. To successfully complete this Certificate course and become an Alison Graduate, you need to achieve 80% or higher in each course assessment. Once you have completed this Certificate course, you have the option to acquire an official Certificate, which is a great way to share your achievement with the world. Your Alison Certificate is:
Ideal for sharing with potential employers - include it in your CV, professional social media profiles and job applications
An indication of your commitment to continuously learn, upskill and achieve high results
An incentive for you to continue empowering yourself through lifelong learning
Alison offers 3 types of Certificates for completed Certificate courses:
Digital Certificate - a downloadable Certificate in PDF format, immediately available to you when you complete your purchase
Certificate - a physical version of your officially branded and security-marked Certificate, posted to you with FREE shipping
Framed Certificate - a physical version of your officially branded and security-marked Certificate in a stylish frame, posted to you with FREE shipping
All Certificates are available to purchase through the Alison Shop. For more information on purchasing Alison Certificates, please visit our FAQs. If you decide not to purchase your Alison Certificate, you can still demonstrate your achievement by sharing your Learner Record or Learner Achievement Verification, both of which are accessible from your Dashboard. For more details on our Certificate pricing, please visit our Pricing Page.