Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Changes
Page history
Mettre à jour 02.linux examples
authored
Feb 20, 2018
by
LibreOfficiant
Show whitespace changes
Inline
Side-by-side
02.linux-examples.md
View page @
d9b86061
...
...
@@ -34,8 +34,21 @@ if __name__ == "__main__":
ctx
=
pycharm
.
connect
(
pipe
=
'
LinusTorvalds
'
)
XSCRIPTCONTEXT
=
pycharm
.
ScriptContext
(
ctx
)
# Adapt
macro_1
()
# Run
```
### JSON file argument
```
python
#! Socket connection to OpenOffice
if
__name__
==
"
__main__
"
:
import
IDE_utils
as
ide
RUNNERS
=
'
Linux_LibreOffice_Socket.json
'
with
ide
.
Runner
()
as
carl_lewis
:
# Start/Stop
ctx
=
ide
.
connect
(
host
=
'
localhost
'
,
port
=
8001
)
XSCRIPTCONTEXT
=
ide
.
ScriptContext
(
ctx
)
# Adapt
macro_1
()
# Run
```
### JSON property file
## Multiple Instances
\ No newline at end of file