We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b61712 commit 4ac17f1Copy full SHA for 4ac17f1
docs/Language.Python.md
@@ -20,24 +20,14 @@ PipeScript can be included in a Python string that starts and ends with ```{}```
20
> EXAMPLE 1
21
22
```PowerShell
23
-{
24
- $pythonContent = @'
25
-"""{
26
-$msg = "Hello World", "Hey There", "Howdy" | Get-Random
27
-@"
28
-print("$msg")
29
-"@
30
-}"""
31
-'@
32
- [OutputFile('.\HelloWorld.ps1.py')]$PythonContent
33
-}
34
-.> .\HelloWorld.ps1.py
+.\HelloWorld.py
+Invoke-PipeScript .\HelloWorld.py
35
```
36
> EXAMPLE 2
37
38
39
-.\HelloWorld.py
40
-Invoke-PipeScript .\HelloWorld.py
+Template.HelloWorld.py -Message "Hi" | Set-Content ".\Hi.py"
+Invoke-PipeScript .\Hi.py
41
42
43
---
0 commit comments