Take notes on the command line: Difference between revisions
m
→{{header|Python}}: Consistent quote style
VincentARM (talk | contribs) (add task to aarch assembly for raspberry pi) |
m (→{{header|Python}}: Consistent quote style) |
||
Line 2,861:
if len(sys.argv) == 1:
try:
with open(
shutil.copyfileobj(f, sys.stdout)
except IOError:
pass
else:
with open(
f.write(datetime.datetime.now().isoformat() +
f.write("\t%s\n" % ' '.join(sys.argv[1:]))</syntaxhighlight>
|