8a6798fb4f
in the comments.
11 lines
291 B
PowerShell
11 lines
291 B
PowerShell
#
|
|
# Wrap Python script in such a way to make it easy to
|
|
# consume from PowerShell
|
|
#
|
|
# The variable $PSScriptRoot points to the directory
|
|
# from which the script was executed. This allows
|
|
# picking up the Python script from the same directory
|
|
#
|
|
|
|
& $PSScriptRoot/class1.py | ConvertFrom-JSON
|
|
|