1
0
Fork 0
mirror of https://gitlab.rlp.net/pgp/pgp1-python-einfuehrung synced 2024-11-16 13:48:11 +00:00

Fix typos

This commit is contained in:
Mo8it 2022-04-20 09:50:03 +02:00
parent 2f454c1379
commit e6d1a87860

View file

@ -1,7 +1,7 @@
# Small program to put a custom.css file from the course material
# directory to the correct location on the students machines.
#
# Since the directory sturcture for the custom.css file changed
# Since the directory structure for the custom.css file changed
# this set-up only works for IPython and Jupyter versions after
# the so called the "big splitt" (version 4 and higher).
import os
@ -41,14 +41,14 @@ Searching for the Jupyter profile directory...''')
How do you want to proceed?''')
sleep(2)
proceed = input('''Would you either like to delte the already existing custom.css file (d),
proceed = input('''Would you either like to delete the already existing custom.css file (d),
or stop the custom.css set up? (s)''')
if proceed == 's':
print('The installation will be stoped.')
print('The installation will be stopped.')
elif proceed == 'd':
os.remove(custom_file)
else:
print('Wrong keyboard input the installation will be stoped.')
print('Wrong keyboard input the installation will be stopped.')
elif os.path.isdir(custom_dir):
print('''The custom directory exists, but no custom.css file was found.