Misc Cleanup Update

This commit is contained in:
2019-07-04 18:39:01 +02:00
parent 0269c384da
commit 841d47e9c1
7 changed files with 95 additions and 87 deletions

View File

@@ -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.")