B
B
bobs322020-06-27 02:22:12
Command line
bobs32, 2020-06-27 02:22:12

How to write sh script to run python files?

There is a regular python.py file
path: /a/b/python.py
how to write a sh script to run the file?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Valdemar Smorman, 2020-06-27
@smorman

#!/bin/bash

/usr/bin/python3 /a/b/python.py

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question