Mercurial > lcfOS
comparison python/apps/ide.py @ 69:60cc36ef5a50
Rework in compiler
author | windel |
---|---|
date | Sat, 27 Oct 2012 14:31:58 +0200 |
parents | 654c5ac4f2c5 |
children |
comparison
equal
deleted
inserted
replaced
68:654c5ac4f2c5 | 69:60cc36ef5a50 |
---|---|
1 import sys, os | 1 import sys, os, base64 |
2 if sys.version_info.major != 3: | 2 if sys.version_info.major != 3: |
3 print("Needs to be run in python version 3.x") | 3 print("Needs to be run in python version 3.x") |
4 sys.exit(1) | 4 sys.exit(1) |
5 | 5 |
6 from PyQt4.QtCore import * | 6 from PyQt4.QtCore import * |
7 from PyQt4.QtGui import * | 7 from PyQt4.QtGui import * |
8 import base64 | |
9 | 8 |
10 # Compiler imports: | 9 # Compiler imports: |
11 sys.path.insert(0, os.path.join('..','libs')) | 10 sys.path.insert(0, os.path.join('..','libs')) |
12 from project import Project | 11 from project import Project |
13 from compiler import Compiler | 12 from compiler import Compiler |