ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Reading and writing to Files - your next data source

Автор: ModernPython

Загружено: 2022-12-21

Просмотров: 38

Описание: A program has 3 functions:
1. get the information from somewhere
2.change the information (optional)
3. put the information somewhere

Let's broaden your skills and show you how to read and write information to text files on your computer. We will grab an open-source book from gutenberg.org and save it to the local filesystem. Then I will show you how to read the text, split it into words, clean up non-alphabet characters, sort the words, and save it to a file.

Table of Contents:

00:00 - Reading and writing to text files
00:43 - Get text from gutenberg.org
01:23 - Using with open() to read text from file
02:29 - Use split to turn text into word list
05:07 - Writing to a file
05:38 - Using string join turn list into string

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Reading and writing to Files - your next data source

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

List Comprehension - compact way to build list from a list

List Comprehension - compact way to build list from a list

How to code in Swift | Swift Basics #1

How to code in Swift | Swift Basics #1

Но что такое нейронная сеть? | Глава 1. Глубокое обучение

Но что такое нейронная сеть? | Глава 1. Глубокое обучение

Data Types & Variables - for Network Engineers!

Data Types & Variables - for Network Engineers!

Силовой захват власти / Новая спецоперация РФ?

Силовой захват власти / Новая спецоперация РФ?

How to Start Coding | Programming for Beginners | Learn Coding | Intellipaat

How to Start Coding | Programming for Beginners | Learn Coding | Intellipaat

Как LLM могут хранить факты | Глава 7, Глубокое обучение

Как LLM могут хранить факты | Глава 7, Глубокое обучение

Похудей на 45 КГ, Выиграй $250,000!

Похудей на 45 КГ, Выиграй $250,000!

DevOps Roadmap 2025 | Пошаговый гайд для стремящихся

DevOps Roadmap 2025 | Пошаговый гайд для стремящихся

База по Базам Данных - Storage (Индексы, Paging, LSM, B+-Tree, R-Tree) | Влад Тен Систем Дизайн

База по Базам Данных - Storage (Индексы, Paging, LSM, B+-Tree, R-Tree) | Влад Тен Систем Дизайн

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]