root/branch/PreferencesWindow/parse.py @ 3650

Revision 3650, 0.6 kB (checked in by luis, 5 years ago)

Changed locate of style and fix table style

Line 
1
2
3from umitCore.NmapParser import NmapParser
4file_to_parse = open("/home/bastiao/Desktop/export.usr")
5#file_to_parse = open("quick.usr")
6np = NmapParser(file_to_parse)
7np.parse()
8
9#from pprint import pprint
10#print "Profile:", np.profile
11#print "Profile name:", np.profile_name
12#print "Profile description:", np.profile_description
13#print "Profile hint:", np.profile_hint
14#print "Profile annotation:", np.profile_annotation
15#print "Profile options:", np.profile_options
16
17import umitExport.HTML.Parse
18a = umitExport.HTML.Parse.ExportHTML(np, \
19                                     "file.html")
20a.save()
Note: See TracBrowser for help on using the browser.