Wondering how it's like to coding python in Emacs? or not sure if Emacs is right for you?
In this video, I'm writing a Python script to merge text files as columns in Emacs (mainly using elpy) in 45 minutes, using techniques like functional programming and interactive programming. (Most of the clips are played in 2x speed for better watching experience.)
Comments are very welcome to share how you writing Python!
Click the LIKE and SUBSCRIBE below if you like this video, I will create more.
#python #emacs
Packages used in this video:
- #elpy (for completion and evaluation etc.) https://github.com/jorgenschaefer/elpy
- #yasnippet https://github.com/joaotavora/yasnippet
- #iedit https://github.com/victorhge/iedit
- #avy https://github.com/abo-abo/avy
The complete script is also available at GitHub: https://github.com/whatacold/texttoolkit/blob/master/merge-files.py
Timeline:
00:00 intro
00:48 building the skeleton
02:33 functional programming
06:56 interactive programming
11:16 reading & writing files
13:24 debugging the script
18:23 cleaning up the script
1 Comments