thirdparty/python-graph/examples/read.py
changeset 627 88c486951f10
parent 626 342bebadd075
child 628 6685c7b56d50
--- a/thirdparty/python-graph/examples/read.py	Sun Nov 30 16:39:18 2008 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-#!/usr/bin/env python
-
-# Copyright (c) 2007-2008 Pedro Matiello <pmatiello@gmail.com>
-# License: MIT (see COPYING file)
-
-import sys
-sys.path.append('..')
-import graph
-
-gr = graph.graph()
-
-inputfile = file('graph.xml','r')
-string = inputfile.read()
-inputfile.close()
-
-gr.read(string)
-print gr.write()