Import tools in the binary.

This commit is contained in:
cedricbonhomme 2011-12-29 11:24:33 +01:00
parent 5c8f8610b4
commit f8da5e9761
3 changed files with 13 additions and 0 deletions

View file

@ -29,6 +29,8 @@ try:
except:
print "Install stegano: python setup.py install"
from stegano import tools
from optparse import OptionParser
parser = OptionParser(version=__version__)
parser.add_option('--hide', action='store_true', default=False,

View file

@ -29,6 +29,8 @@ try:
except:
print "Install stegano: python setup.py install"
from stegano import tools
from optparse import OptionParser
parser = OptionParser(version=__version__)
parser.add_option('--hide', action='store_true', default=False,

View file

@ -26,6 +26,15 @@ __license__ = "GPLv3"
import itertools
def identity():
"""
f(x) = x
"""
n = 0
while True:
yield n
n += 1
def fermat():
"""
Generate the n-th Fermat Number.