Ferdig uke 3
This commit is contained in:
parent
12530126dc
commit
001702b010
4
uke3.py
4
uke3.py
@ -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()
|
||||||
# %%
|
# %%
|
||||||
|
Loading…
Reference in New Issue
Block a user