File Diff in Python From Scratch

Published: 14 March 2023
on channel: Tsoding Daily
23,518
596

Chapters:
00:00:00 - 1. Intro
00:06:07 - 2. Implementing Diff
00:10:04 - 2.1. Parsing Command Line Arguments
00:14:07 - 2.2. Reading Files
00:20:04 - 2.3. Running Levenshtein Algorithm on the Files
00:22:13 - 2.3.1. Edit Graph Representation
00:28:35 - 2.3.2. Levenshtein Algorithm in Bioinformatics
00:30:11 - 2.3.3. Populating the Edit Graph
00:47:05 - 2.3.4. Recovering the Edit Script
00:55:44 - 2.4. Custom Diff Format
00:57:37 - 3. Implementing Patch
00:58:55 - 3.1. GitHub Repo
01:00:53 - 3.2. Subcommands
01:11:19 - 3.3. Levenshtein for Subcommand Names
01:12:59 - 3.4. Factoring out Levenshtein Algorithm
01:14:54 - 3.5. Global List of Subcommands
01:22:48 - 3.6. Falling into OOP trap
01:25:50 - 3.7. Pretty-Printing the Usage
01:29:10 - 3.8. Help Subcommand
01:29:33 - 3.8.1. Python scoping
01:32:27 - 3.8.2. Static type checking for Python
01:38:48 - 3.9. Detecting typos in subcommand names
01:49:22 - 3.10. Python `self` binding problem
01:52:36 - 3.11. Implementing the Patch Subcommand
01:54:13 - 3.11.1 Parsing the Patch
02:07:21 - 3.11.2 Applying the patch
02:21:54 - 4. QnA
02:24:34 - 5. Outro
02:24:46 - 6. Smooch

References:
https://en.wikipedia.org/wiki/Levensh...
Previous stream link:    • String Diff in Python  
https://gist.github.com/rexim/2bd6b1b...
Source Code: https://github.com/tsoding/piff
https://www.nathaniel.ai/myers-diff/


On this page of the site you can watch the video online File Diff in Python From Scratch with a duration of hours minute second in good quality, which was uploaded by the user Tsoding Daily 14 March 2023, share the link with friends and acquaintances, this video has already been watched 23,518 times on youtube and it was liked by 596 viewers. Enjoy your viewing!