PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import subprocess
import sys
def install(package):
subprocess.run([
sys.executable, "-m", "pip", "-q", "install", package
])
def upgrade(package):
subprocess.run([
sys.executable, "-m", "pip", "install","--upgrade", package
])
upgrade("pip")
install("gcloud")
install("python_jwt")
install("firebase")
print("This line will not be printed")
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run