Other articles

  1. Looping through Python command line arguments

    I have a Python script that does some image manipulation and outputs a new file. From the command line, it takes two arguments, the old file and new file:

    python image_converter.py oldfile.jpg newfile.jpg
    

    I wanted to run this over a bunch of files, and used this bash …

    read more
  2. Making files by the batch

    I had a list of names and I wanted to create an empty file with each of those names.

    First I saved my list of names to a file with the .md extension since they were all going to be markdown files.

    names.txt

    barack.md
    joe.md
    hillary.md …
    read more

Page 1 / 1

social