Next up
Summary
Continuing in
Python Basics
This is a preview of subscription content
Your browser needs to be JavaScript capable to view this video
Try reloading this page, or reviewing your browser settings
This segment gives a simple but fully working example of how to do something practical with Python - reading the contents of a file, and counting the number of lines, words and characters.
Keywords
- Python basics
- practical
- open file
- counting
- sum function
About this video
- Author(s)
- Coen de Groot
- First online
- 17 March 2020
- DOI
- https://doi.org/10.1007/978-1-4842-5831-6_21
- Online ISBN
- 978-1-4842-5831-6
- Publisher
- Apress
- Copyright information
- © Coen de Groot 2020