To round out your introduction to programming with Python, in this course, you'll manage files and directories through code. You'll also perform basic exception handling to gracefully address issues in your code.
This is the third and final course in a multi-course Specialization.
All of the courses in this Specialization require that you use the provided virtual machine, which includes an installation of Python. The course setup instructions provided in the first course go into more detail about the hardware and software requirements.
One of the most common functions in any program is the ability to access an operating system's file structure. This can give your application the power to use, process, and create external data as necessary. In Python®, these tools are universal and easy to implement across a wide variety of operating environments.
涵盖的内容
1篇阅读材料6个插件
显示有关单元内容的信息
1篇阅读材料•总计5分钟
⚠️READ THIS FIRST⚠️•5分钟
6个插件•总计150分钟
Lesson Introduction•5分钟
Write to Text Files•35分钟
Read from Text Files•35分钟
Get the Contents of Directories•35分钟
Manage Files and Directories•35分钟
Lesson Summary•5分钟
Handling Exceptions
第 2 单元•小时 后完成
单元详情
Dealing with exceptions in Python® is a bit like life. With some foresight and careful planning, you can prevent some kinds of problems from happening. But other kinds of problems can't be prevented, and you must deal with them as they arise.
涵盖的内容
4个插件
显示有关单元内容的信息
4个插件•总计100分钟
Lesson Introduction•5分钟
Handle Built-In Exceptions•45分钟
Handle Custom Exceptions•45分钟
Lesson Summary•5分钟
Completing the Course
第 3 单元•小时 后完成
单元详情
You'll wrap things up and then validate what you've learned in this course by taking an assessment.
Logical Operations is the world's largest general publisher of instructor-led technology curriculum, and a leader in the technical training community for over 40 years. We employ a rigorous, expert-driven authoring process that, for decades, has produced successful results for learners the world over. Our courseware aligns with real-world business needs and objectives, ensuring learners are able to apply their newly developed skills while on the job.
When will I have access to the lectures and assignments?
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
What will I get if I subscribe to this Specialization?
When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.
Is financial aid available?
Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.