This repository has been archived by the owner on Jul 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This logging system may be used for support.
- Loading branch information
1 parent
22c3395
commit 29ffe3d
Showing
3 changed files
with
30 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
import os | ||
from datetime import datetime | ||
|
||
def logFile(content): | ||
log = open("startuplogs.txt", "a") | ||
log.write("{}\n".format(content)) | ||
log.close() | ||
|
||
os.startfile("app.py") | ||
os.startfile("gui.py") | ||
os.close("startup.py") | ||
logFile("\n\nBackReminder has loaded all modules correctly!\nCurrent Time and Date: {}\n//////////////\n\n".format(datetime.now())) | ||
os.close("startup.py") |