Skip to content

Commit dbd95b2

Browse files
committed
added example to README
1 parent 5c1d2de commit dbd95b2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,8 @@ If an import error occurs check that the installation directory (usually /usr/lo
4242

4343
## Example Usage
4444

45-
Coming soon ...
45+
The following code snippet creates a MOOS comm client from Python and connects to a database hosted on the local machine. From a Python3 interpreter, run:
46+
47+
import pymoos.MOOSCommClient
48+
m = pymoos.MOOSCommClient.MOOSApp()
49+
m.Run( "127.0.0.1", 9000, "pymoos_test", 10)

0 commit comments

Comments
 (0)