Encrypting and Decrypting Files - Cracking Codes with Python (part 11)

Опубликовано: 03 Март 2026
на канале: Learning Python
686
12

We cover how we can work with files and how we can encrypt and decrypt entire files using the Transposition Cipher.

Read online: https://inventwithpython.com/cracking...
Download source files from https://nostarch.com/crackingcodes/

📚 Get the book Cracking Codes with Python: https://amzn.to/3DBzhmf
🔨 FREE Skillshare 30-day trial: https://skillshare.eqcm.net/5b4ddL

Time stamps:
0:00 - Introduction
0:10 - Writing our program to encrypt and decrypt files
6:54 - Opening files with the open() function
8:33 - Reading files with the read() function
8:47 - Writing files with the write() function
9:00 - Check if a file exists with os.path.exists()
9:33 - The lower() function
10:06 - The startswith() function
10:37 - Practice Questions
15:04 - Summary