How can I make a PowerShell command in Python? /u/VatOfficial Python Education

What I’m trying to say here is that I want to run a python script like this (We suppose I name the script and command “test”):

test arg1 arg2 

I’m saying I want this script

import sys print(sys.argv[1]) 

every time I run the “test” command.

I tried my best to explain.

Thank you.

submitted by /u/VatOfficial
[link] [comments]

​r/learnpython What I’m trying to say here is that I want to run a python script like this (We suppose I name the script and command “test”): test arg1 arg2 I’m saying I want this script import sys print(sys.argv[1]) every time I run the “test” command. I tried my best to explain. Thank you. submitted by /u/VatOfficial [link] [comments] 

What I’m trying to say here is that I want to run a python script like this (We suppose I name the script and command “test”):

test arg1 arg2 

I’m saying I want this script

import sys print(sys.argv[1]) 

every time I run the “test” command.

I tried my best to explain.

Thank you.

submitted by /u/VatOfficial
[link] [comments] 

Leave a Reply

Your email address will not be published. Required fields are marked *