2016-02-17から1日間の記事一覧
ばっと見た限りだと、なんかbashっぽい。 http://rundeck.org/docs/plugins-user-guide/custom-command-and-script-execution-with-the-script-plugin.html
乱数。 #!/usr/bin/python import random import sys test = random.randrange(10000) print test if test >= 5000: print "OK!!" else: sys.stdout.write('ERROR') 9.6. random — 擬似乱数を生成する — Python 3.5.1 ドキュメント