Mercurial > python-cmd2
annotate example/exampleSession.txt @ 235:78ad20c2eed0
py working better now; still needs a iscomplete=True on onecmd
author | catherine@dellzilla |
---|---|
date | Tue, 24 Mar 2009 13:48:25 -0400 |
parents | 183dd2fffec5 |
children |
rev | line source |
---|---|
187 | 1 (Cmd) say put this in a file > myfile.txt |
118
db366853074c
test transcript won't tolerate final prompt
catherine@dellzilla
parents:
117
diff
changeset
|
2 (Cmd) say < myfile.txt |
db366853074c
test transcript won't tolerate final prompt
catherine@dellzilla
parents:
117
diff
changeset
|
3 put this in a file |
139 | 4 (Cmd) # comments do nothing |
5 (Cmd) /* C-style comments */ say are invisible | |
6 are invisible | |
169 | 7 (Cmd) orate and they do not /* interfere; |
139 | 8 > with multiline */ commands; |
169 | 9 and they do not commands |
10 (Cmd) speak the /* hidden comment */ text | |
11 the text | |
12 (Cmd) speak the "unhidden quote" text | |
13 the "unhidden quote" text | |
14 (Cmd) # Quoted strings immediately following the command are NOT included in the arguments - | |
15 (Cmd) # this is due to a bug in pyparsing. See: | |
16 (Cmd) # https://sourceforge.net/tracker/index.php?func=detail&aid=2412233&group_id=97203&atid=617311 | |
174 | 17 (Cmd) # Test suite can't test changing prompts. |