Browse code
Edited README.markdown via GitHub
fiddlerwoaroof authored on 26/05/2011 22:15:43
Showing 1 changed files
Showing 1 changed files
... | ... |
@@ -5,19 +5,19 @@ You can get started with: |
5 | 5 |
|
6 | 6 |
- Python 2.7: |
7 | 7 |
|
8 |
- $ python -m jsonrpc <host name> |
|
8 |
+ `$ python -m jsonrpc <host name>` |
|
9 | 9 |
|
10 | 10 |
- Python 2.6 |
11 | 11 |
|
12 |
- $ python -m jsonrpc.__main__ <host name> |
|
12 |
+ `$ python -m jsonrpc.__main__ <host name>` |
|
13 | 13 |
|
14 | 14 |
After the python interpreter starts up, you can do things like |
15 | 15 |
(if the JSON-RPC Server supports the methods called): |
16 | 16 |
|
17 |
- >>> server.add(1, 2) |
|
18 |
- 3 |
|
19 |
- >>> server.subtract(3,2) |
|
20 |
- 1 |
|
17 |
+ >>> server.add(1, 2) |
|
18 |
+ 3 |
|
19 |
+ >>> server.subtract(3,2) |
|
20 |
+ 1 |
|
21 | 21 |
|
22 | 22 |
|
23 | 23 |
Made for: |