move comment to correct position

pull/1555/head
roby.parapat 2023-04-16 06:33:43 +07:00
parent 60881ed856
commit 8cbe438ad5
1 changed files with 3 additions and 3 deletions

View File

@ -41,6 +41,9 @@ def execute_python_file(file: str):
try: try:
client = docker.from_env() client = docker.from_env()
# You can replace 'python:3.8' with the desired Python image/version
# You can find available Python images on Docker Hub:
# https://hub.docker.com/_/python
image_name = "python:3.10" image_name = "python:3.10"
try: try:
client.images.get(image_name) client.images.get(image_name)
@ -58,9 +61,6 @@ def execute_python_file(file: str):
elif status: elif status:
print(status) print(status)
# You can replace 'python:3.8' with the desired Python image/version
# You can find available Python images on Docker Hub:
# https://hub.docker.com/_/python
container = client.containers.run( container = client.containers.run(
image_name, image_name,
f"python {file}", f"python {file}",