import pathlib
Browse files
script.py
CHANGED
|
@@ -103,8 +103,8 @@ def convert_entry_to_human_readable(entry):
|
|
| 103 |
### The part below is used to define and test your solution.
|
| 104 |
|
| 105 |
### The function below is useful for installing additional python wheels.
|
| 106 |
-
'''
|
| 107 |
import subprocess
|
|
|
|
| 108 |
def my_install_package_from_local_file(package_name, folder='packages'):
|
| 109 |
"""
|
| 110 |
Installs a package from a local .whl file or a directory containing .whl files using pip.
|
|
@@ -122,7 +122,8 @@ def my_install_package_from_local_file(package_name, folder='packages'):
|
|
| 122 |
print(f"Failed to install package from {pth}. Error: {e}")
|
| 123 |
|
| 124 |
my_install_package_from_local_file('numba')
|
| 125 |
-
|
|
|
|
| 126 |
from pathlib import Path
|
| 127 |
def save_submission(submission, path):
|
| 128 |
"""
|
|
|
|
| 103 |
### The part below is used to define and test your solution.
|
| 104 |
|
| 105 |
### The function below is useful for installing additional python wheels.
|
|
|
|
| 106 |
import subprocess
|
| 107 |
+
from pathlib import Path
|
| 108 |
def my_install_package_from_local_file(package_name, folder='packages'):
|
| 109 |
"""
|
| 110 |
Installs a package from a local .whl file or a directory containing .whl files using pip.
|
|
|
|
| 122 |
print(f"Failed to install package from {pth}. Error: {e}")
|
| 123 |
|
| 124 |
my_install_package_from_local_file('numba')
|
| 125 |
+
|
| 126 |
+
|
| 127 |
from pathlib import Path
|
| 128 |
def save_submission(submission, path):
|
| 129 |
"""
|