ForNext
Only Do What Only You Can Do
176. open file for append
Hyperpolyglot Interpreted Languages: PHP, Perl, Python, Ruby より (2012.05.08)
VBScript
JScript
Perl
PHP
Python
with open('/tmp/test') as f: f.write('lorem ipsum\n')
with open('/tmp/test') as f: f.write('lorem ipsum\n')