We build a CLI tool utilizing Python's subprocess that, in one command, creates a directory to host our code, initialize git in it, creates the README and gitignore file, write content into the gitignore file, creates a virtual environment, start a task in our todo manager. So much value for personal / developer productivity, eh?
If you'd like to build beautiful CLI tools, watch my playlist: • Building data tools with JUST python (data...
All videos in that playlist use Python's standard library with no / minimal dependencies. We walk through the process of building a CLI productivity tool on top of TaskWarrior. To learn more about TaskWarrior, watch my introduction video:
• Taskwarrior: Terminal-based task managemen...
Timestamps for the impatient:
00:00 Intro: Automating our developer workflow
04:06 Understanding processes (w/ top and htop)
06:24 Python's subprocess module
16:18 Creating our project starter program with subprocess!
Learn how to use webbrowser instead of subprocess for browser-related automation / scripts in Python:
• Automated research: Extracting companies f...
Alternatively, consider Selenium for web scraping or other browser automation task: • Web (Scraping) Automation using Selenium i...
Sur cette page du site, vous pouvez voir la vidéo en ligne Practical introduction to Python's subprocess module durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Samuel Chan 21 October 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 9,506 fois et il a aimé 192 téléspectateurs. Bon visionnage!