Last active
June 11, 2019 13:29
-
-
Save Daemonslayer2048/be6045f61b5ce57ca001c8d064afbd6d to your computer and use it in GitHub Desktop.
For loops with example list #Python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess | |
times = ["13:00", "13:52"] | |
for time in times: | |
subprocess.call('echo "touch /home/jhanafin/IAmAlive.txt" | at ' + time, shell=True)õ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment