Ferdig uke 3

This commit is contained in:
Trygve 2023-09-29 12:32:02 +02:00
parent 12530126dc
commit 001702b010

View File

@ -3,7 +3,7 @@
""" """
Created on Thu Sep 28 08:23:56 2023 Created on Thu Sep 28 08:23:56 2023
@author: innagumauri @author: Inna Gumauri, Trygve Børte Nomeland
""" """
#%% Task 1 #%% Task 1
@ -47,7 +47,7 @@ def print_imp_dir(path="./"):
p = Path(path) p = Path(path)
files = list(p.glob('*.py')) files = list(p.glob('*.py'))
for f in files: for f in files:
print(f'{Path.cwd()}+{f}: {get_imp_file(f)}') print(f'{Path.cwd()}/{f}: {get_imp_file(f)}')
print_imp_dir() print_imp_dir()
# %% # %%