HCE Project Python language Distributed Tasks Manager Application, Distributed Crawler Application and client API bindings.  2.0.0-chaika
Hierarchical Cluster Engine Python language binding
test.py
Go to the documentation of this file.
1 #!/usr/bin/python
2 '''
3 HCE project, Python bindings, DC dependencies
4 The join tools research tests.
5 
6 @package: drce
7 @author Alexander Vybornyh <alexander.hce.cluster@gmail.com>
8 @link: http://hierarchical-cluster-engine.com/
9 @copyright: Copyright &copy; 2013-2016 IOIX Ukraine
10 @license: http://hierarchical-cluster-engine.com/license/
11 @since: 0.1
12 '''
13 
14 import ppath
15 from ppath import sys
16 
17 from app.Utils import varDump
18 
19 
20 testStr = u'首相動静(2月7日)'
21 
22 print varDump(testStr, stringifyType=0)
def varDump(obj, stringify=True, strTypeMaxLen=256, strTypeCutSuffix='...', stringifyType=1, ignoreErrors=False, objectsHash=None, depth=0, indent=2, ensure_ascii=False, maxDepth=10)
Definition: Utils.py:410