Skip to content

Commit

Permalink
[python] update readme - Fix #44
Browse files Browse the repository at this point in the history
  • Loading branch information
wargio authored and XVilka committed May 25, 2023
1 parent b4ba306 commit 64ff0da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import rzpipe
pipe = rzpipe.open("/bin/ls")
pipe.cmd('aa')
print(pipe.cmd("afl"))
print(pipe.cmdj("aflj")) # evaluates JSON and returns an object
print(pipe.cmdj("ij").core.format) # shows file format
print(pipe.cmdj("aflj")) # parses the JSON and returns a dict (note the lowercase j)
print(pipe.cmdJ("ij").core.format) # parses the JSON and returns a namedtuple (note the uppercase J)
pipe.quit()
```

0 comments on commit 64ff0da

Please sign in to comment.