Fork me on GitHub

Other articles


  1. Notes on Confusing Programming Practice

    grep -E '.lbl$' input.txt > output.txt

    Though there were many lines like "xxx.lbl" in input.txt, but I got an empty file of output.txt. This was because that the input.txt was uploaded from windows. So, the line break in input.txt is 'windows' style (i.e …

    read more
  2. How to activate a conda environment in Python code?

    Introduction & Method

    We can control the flow of execution of shell commands/scripts with Python. If we want to use gdalwarp, mrf2isis (USGS/ISIS software), etc. in the shell script, the related conda environment should be activated first. The subprocess module of Python and the following codes can be used …

    read more

Browse

Contact