Skip to content

A command line utility for creating properly templated homework sets for Alexandra Stefan's CSE 1310 course at UTA.

Notifications You must be signed in to change notification settings

linker-err0r/homework-file-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

homework-file-generator

A quick and easy utility for generating the proper file and folder structure to complete homework assignments for Alexandra Stefan's CSE 1310 course taken at UTA.


Usage:

When its first run, regardless of what options its passed, hwfilegen will ask for the user's name and UTA ID (a unique ID number assigned to each student). It will then create a template and store it in the user's home folder. Then...

python3 hwfilegen.py 1 3

Creates folder hw01 and creates three Python source files with the naming scheme hw01_task1.py, hw01_task2.py, hw01_task3.py. Adds a template header to each file with the user's name, date, UTA ID and a blank description field.

python3 hwfilegen.py -r

Wipes out the template and prompts the user to create a new one.

Installation:

Copy the program somewhere convienient and add an alias appropriate to your OS.

For example, a UNIX/OSX/CygWin alias might look like:

alias hwfilegen="python3 /bin/hwfilegen.py"

Take a look at this Stack Overflow question for an idea of how this might work under Windows. Windows PowerShell users (included with GitHub for Windows) can refer to this TechNet article.

About

A command line utility for creating properly templated homework sets for Alexandra Stefan's CSE 1310 course at UTA.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages