- Adjusted back to old naming convention:
lastname-firstname
instead offirstname-lastname
for AML. - Adjusted the name sorting order for AML.
- Fixed a bug in the name sorting order.
- Fixed a bug that prevented files being detected correctly.
- Added option to ignore files with
--ignore
.
- Adjusted for new naming convention:
firstname-lastname
instead oflastname-firstname
.
- Now autodetects main notebook, as well as optionally commented and cross-commented notebooks.
- Removed the
notebook
parameter.
First, edit the file and exchange our Team names with your Team names (first couple lines of main()
).
Ensure your current working directory is one level up from the exercise directory.
Then, simply run the script with python create_handin.py <exercise name>
.
The exercise directory must be named the same as what you want the hand-in to have at
the end. There must be one *.ipynb
file in the directory, and optionally one *-commented.ipynb
as well as optionally one *-cross-commented.ipynb
file.
You can compare your file structure to the one of this repository.
You can add more files to the hand-in by specifying a glob pattern in the --more
option.
If your exercise directory contains extra notebooks, or you want to exclude certain files
from the --more
option, you can do so with the --ignore
option.
You can view more information about the tool using python create_handin.py -h
.
The script assumes you have both a python 3 interpreter as well as jupyter added to your environment variables. It was tested on Windows 10, using Python 3.8.
Current working directory: SomeDir/FML/
python create_handin.py ex01a