/[escript]/branches/complex/scripts/py_comp.py
ViewVC logotype

Annotation of /branches/complex/scripts/py_comp.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3851 - (hide annotations)
Wed Feb 29 05:23:30 2012 UTC (7 years, 5 months ago) by jfenwick
Original Path: trunk/scripts/py_comp.py
File MIME type: text/x-python
File size: 256 byte(s)
Start of cross-compile build for py3
1 jfenwick 3851 from __future__ import print_function
2     import py_compile
3     from sys import *
4    
5     if len(argv)!=3:
6     print("%s source dest"%argv[0], file=stderr)
7     exit(2)
8     try:
9     py_compile.compile(argv[1], argv[2], argv[1], True)
10     except Exception as e:
11     print(e.args)
12    

  ViewVC Help
Powered by ViewVC 1.1.26