Misc Cleanup Update
This commit is contained in:
39
src/main.py
39
src/main.py
@@ -1,36 +1,35 @@
|
||||
#!/usr/bin/env python
|
||||
#title: main.py
|
||||
#description:
|
||||
#author: Conrad Großer
|
||||
#license: https://github.com/tchemn/miner/blob/master/LICENSE
|
||||
#date: 02.06.2018
|
||||
#version: 0.1
|
||||
#usage: PENDING
|
||||
#notes:
|
||||
#dependencies:
|
||||
#known_issues:
|
||||
#python_version: 3.x
|
||||
#==============================================================================
|
||||
# title: main.py
|
||||
# description:
|
||||
# author: Conrad Großer
|
||||
# license: https://github.com/tchemn/miner/blob/master/LICENSE
|
||||
# date: 02.06.2018
|
||||
# version: 0.1
|
||||
# usage: PENDING
|
||||
# notes:
|
||||
# dependencies:
|
||||
# known_issues:
|
||||
# python_version: 3.x
|
||||
# ==============================================================================
|
||||
|
||||
# IMPORTS
|
||||
|
||||
# Importing the time for benchmarking purposes
|
||||
import time
|
||||
from datetime import date
|
||||
|
||||
# CODE (FUNCTIONS)
|
||||
# CODE
|
||||
|
||||
|
||||
# EXECUTION
|
||||
if __name__ == '__main__':
|
||||
# Print welcoming message
|
||||
print("Hello world")
|
||||
# Print welcoming message
|
||||
print("Hello world")
|
||||
|
||||
# For benchmarking starting the timer now
|
||||
start_time = time.time()
|
||||
# For benchmarking starting the timer now
|
||||
start_time = time.time()
|
||||
|
||||
# Get parameters, call functions, execute program (...)
|
||||
# Get parameters, call functions, execute program (...)
|
||||
|
||||
# BENCHMARKING [END]
|
||||
sec = time.time() - start_time
|
||||
print("The program took " + str(sec) + " seconds (" + str(sec/60) + " minutes) for execution.")
|
||||
print("The program took " + str(sec) + " seconds (" + str(sec/60) + " minutes) for execution.")
|
||||
|
||||
Reference in New Issue
Block a user