Displaying 1 result from an estimated 1 matches for "dsaextract".
2015 Oct 09
3
Python version for scripts in LLVM?
...rt sys
if( len(sys.argv) < 3 ):
- print 'usage is: ./DSAclean <dot_file_to_be_cleaned> <out_put_file>'
+ print('usage is: ./DSAclean <dot_file_to_be_cleaned> <out_put_file>')
sys.exit(1)
#get a file object
input = open(sys.argv[1], 'r')
Index: DSAextract.py
===================================================================
--- DSAextract.py (revision 249819)
+++ DSAextract.py (working copy)
@@ -1,5 +1,7 @@
#! /usr/bin/python
+from __future__ import print_function
+
#this is a script to extract given named nodes from a dot file, with
#the asso...