en-US/about_PythonTools.help.txt

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
PowerShell module for interacting with Python on Windows. Supported for use with Python versions 2 and 3.
 
Requirements:
 
    * Python version 3 must be installed for Python version 3 support.
    * Python version 2 and 3 must be installed for Python version 2 support.
 
Install Python with Chocolatey:
 
    Python 3:
        choco install python3
 
    Python 2:
        choco install python2
 
Cmdlet Help:
 
    Use the following command to list available cmdlets:
 
        Get-Command -Module PythonTools
 
    For more detailed help on each cmdlet use:
 
        Get-Help <CmdletName> -Full
 
Example:
 
    Create a new Python environment:
 
        New-PythonEnvironment -Name myenv -Version 3
 
    List Python environments with version number:
 
        Get-PythonEnvironment -Detailed
 
    Open a Python environment:
 
        Enter-PythonEnvironment -Name myenv
 
    Close a Python environment:
 
        Exit-PythonEnvironment
 
    Delete a Python environmennt:
 
        Remove-PythonEnvironment -Name myenv
 
    Run a python script:
 
        Invoke-PythonScript -Path myscript.py
 
    Run a python script with JSON output:
 
        Invoke-PythonScript -Path myscript.py -ConvertJsonOutput
 
Report Issues:
    https://github.com/davidwallace80/pythontools/issues