Skip to content

Vuyisile Ndlovu

Musings of a backend Software Developer

  • Home
  • Articles
  • Contact Me

Tag: files

Posted on 19th August 2020 by Vuyisile

Git: How to add modified files and ignore untracked ones

Whenever you make changes to a bunch of files already tracked by git, there’s an easy way to add them without adding untracked files. The command is: git add –update or git add -u That’s it!

Posted on 23rd January 2019 by Vuyisile

Working With Files in Python

Have you ever wondered how you can use Python to work with groups of files? I wrote a comprehensive article on this for Real Python. You can find the article here. In the article, I cover differences between modules such as fnmatch, pathlib and os. In addition to that, you will learn how to create,
Continue reading Working With Files in Python

Posted on 29th March 2017 by Vuyisile

How to find all files containing specific text in linux?

Recently, while working on a project, I needed to search if an image I intended to delete was in use anywhere else in the code. There were lot’s of text files to go through and I needed a quick way to tell whether or not it was safe to delete said image. I learned how
Continue reading How to find all files containing specific text in linux?

Posted on 17th February 201722nd October 2017 by Vuyisile

How To Read and Write Files Using Python.

How To Read and Write  Files Using Python.

Reading and writing to files using Python is easy to do. In this post, I will go over how to read and write to text files.


© Vuyisile Ndlovu 2023
Theme: creativefocus by Mladjo.