doit/main.py

50 lines
1.4 KiB
Python
Raw Normal View History

#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# main.py
#
# Copyright 2017 Daniel Marsee <rdmarsee@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301, USA.
#
#
program_title = "DoIt!"
program_version = "0.0.3"
splash_msg = program_title + "\nTime Management Software\nCopyright 2017 Daniel Marsee\nver " + program_version + '\n'
print(splash_msg)
def main(args):
return 0
roster = []
roster.append('priority2')
roster.append('priority1')
roster.append('priority3')
print(roster[0] + '\n' + roster[1] + '\n' + roster[2] + '\n')
roster.sort()
print(roster[0] + '\n' + roster[1] + '\n' + roster[2] + '\n')
print(len(roster))
if __name__ == '__main__':
import sys
sys.exit(main(sys.argv))