FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit e10420d4 authored by Rob Thompson's avatar Rob Thompson
Browse files

dynamically identify home directory

parent 94852b40
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,10 @@ import time
import os
from icons import * #byte64 data for the images using the PySimpleGUI encoder
log_file_name = '/home/msm-class/attendance_log.csv'
home_directory = os.path.expanduser( '~' )
log_file_name = os.path.join(home_directory, 'attendance_log.csv')
location = "lab" #alter for other locations, e.g. lecture room
# Set up the GUI
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment