0

I use a python script in a Linux server like this.

$ python /data/script/sample.py iput1.txt input2.txt > output.txt

But I want to use this script uploaded in github.

So I what I want to do is

$ python https://github.com/mylab/script/sample.py iput1.txt input2.txt > output.txt

Like this.

1

1 Answer 1

0

As Devang Sanghani said you need to get your script local. Therefore clone your repository containing the script.

$[~]> git clone https://github.com/mylab/your-repositoy/
$[~]> cd your-repository
$[~/your-repository]> python sample.py iput1.txt input2.txt > output.txt
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.