-# Copyright (C) 2010-2012 W. Trevor King <wking@drexel.edu>
+# Copyright (C) 2010-2012 W. Trevor King <wking@tremily.us>
#
# This file is part of Hooke.
#
>>> os.listdir(target_dir)
['default']
>>> with open(os.path.join(target_dir, 'default'), 'r') as f:
-... print f.read()
+... print(f.read())
- arguments: {input: test/data/test}
command: load playlist
- arguments: {}
>>> sorted(os.listdir(target_dir))
['default', 'my_stack']
>>> with open(os.path.join(target_dir, 'my_stack'), 'r') as f:
-... print f.read()
+... print(f.read())
- arguments: {input: test/data/test}
command: load playlist
- arguments: {}
Success
<BLANKLINE>
>>> with open(os.path.join(target_dir, 'default'), 'r') as f:
-... print f.read()
+... print(f.read())
- arguments: {input: test/data/test}
command: load playlist
- arguments: {}
command: get curve
<BLANKLINE>
>>> with open(os.path.join(target_dir, 'my_stack'), 'r') as f:
-... print f.read()
+... print(f.read())
- arguments: {input: test/data/test}
command: load playlist
- arguments: {}
Success
<BLANKLINE>
>>> with open(os.path.join(target_dir, 'default'), 'r') as f:
-... print f.read()
+... print(f.read())
- arguments: {}
command: version
<BLANKLINE>