From 020974a26c749bdbe24381253fea2865b617b9f7 Mon Sep 17 00:00:00 2001 From: wisechengyi Date: Tue, 17 Jul 2018 21:56:20 -0700 Subject: [PATCH] pr --- hello/test.py | 6 ------ hello/tree.py | 17 ----------------- bin.py => pex/bin/pex.py | 0 3 files changed, 23 deletions(-) delete mode 100644 hello/test.py delete mode 100644 hello/tree.py rename bin.py => pex/bin/pex.py (100%) diff --git a/hello/test.py b/hello/test.py deleted file mode 100644 index 40718cf3d..000000000 --- a/hello/test.py +++ /dev/null @@ -1,6 +0,0 @@ -def hello(): - print("hello") - - -if __name__ == '__main__': - print("main") \ No newline at end of file diff --git a/hello/tree.py b/hello/tree.py deleted file mode 100644 index 63b13a94b..000000000 --- a/hello/tree.py +++ /dev/null @@ -1,17 +0,0 @@ -import ast - - -tree = ast.parse(open('test.py', 'r').read()) - -class FunctionCallVisitor(ast.NodeVisitor): - def visit_Call(self, node): - print ast.dump(node) - -# FunctionCallVisitor().visit(tree) - -# print ast.dump(tree) - -# tree.body[0].name - -for node in ast.walk(tree): - print node \ No newline at end of file diff --git a/bin.py b/pex/bin/pex.py similarity index 100% rename from bin.py rename to pex/bin/pex.py