basic module

This commit is contained in:
Kenneth Reitz
2011-05-29 04:01:22 -04:00
parent 3ac75fa795
commit bcf56a2ed6
2 changed files with 27 additions and 0 deletions
View File
+27
View File
@@ -0,0 +1,27 @@
# -*- coding: utf-8 -*-
"""
haystack.core
~~~~~~~~~~~~~
This module contains the core Haystack functionality.
"""
from random import random
def maths(*args, **kwargs):
"""Does all the maths."""
return random()
def main():
print 'Random Number: {0}'.format(maths())
if __name__ == '__main__':
main()