You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
743 B
29 lines
743 B
5 years ago
|
#!/usr/bin/env python
|
||
|
# encoding: utf-8
|
||
|
|
||
|
# import sys
|
||
|
# from functools import wraps
|
||
|
# from Naked.toolshed.types import XMaxHeap, XMinHeap
|
||
|
|
||
|
# def print_scratch(func):
|
||
|
# @wraps(func)
|
||
|
# def print_wrapper(*args, **kwargs):
|
||
|
# print(func(*args, **kwargs))
|
||
|
# return print_wrapper
|
||
|
|
||
|
|
||
|
# def run_scratchpad():
|
||
|
# # from Naked.toolshed.file import FileReader
|
||
|
# # from Naked.toolshed.types import XString, XUnicode
|
||
|
|
||
|
# # r = FileReader('/Users/ces/Desktop/code/naked/tests/testfiles/unicode.txt')
|
||
|
# # test1 = r.read_utf8()
|
||
|
# # test2 = XUnicode(test1, {'a': 'b'})
|
||
|
# # test3 = "Hey! It's Bengali ব য,and here is some more ২"
|
||
|
# # print(unicode(test2))
|
||
|
|
||
|
|
||
|
|
||
|
# if __name__ == '__main__':
|
||
|
# run_scratchpad()
|