putStr.py

Go to the documentation of this file.
00001 import msvcrt
00002 
00003 __copyright__ = """\
00004 (c). Copyright 1990-2008, Vyper Logix Corp., All Rights Reserved.
00005 
00006 Published under Creative Commons License 
00007 (http://creativecommons.org/licenses/by-nc/3.0/) 
00008 restricted to non-commercial educational use only., 
00009 
00010 See also: http://www.VyperLogix.com and http://www.pypi.info for details.
00011 
00012 THE AUTHOR VYPER LOGIX CORP DISCLAIMS ALL WARRANTIES WITH REGARD TO
00013 THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
00014 FITNESS, IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL,
00015 INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
00016 FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
00017 NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
00018 WITH THE USE OR PERFORMANCE OF THIS SOFTWARE !
00019 
00020 USE AT YOUR OWN RISK.
00021 """
00022 
00023 def putStr(s):
00024     for ch in s:
00025         msvcrt.putch(ch)
00026 
00027 if __name__ == "__main__":
00028     import sys
00029     print >>sys.stdout, __copyright__
00030     print >>sys.stderr, __copyright__
00031 
00032     putStr('Testing...')
00033 
00034 

© Copyright 2008-2009 Vyper Logix Corp., All Right Reserved; If you reference this document or any part of this document you must use the citation verbatim (including the link) "© Copyright 2008-2009 Vyper Logix Corp., All Right Reserved."

Notice: This source code contained in this document is NOT open source and is NOT being distributed as open source.

122,241 lines of code and growing...