Skip to content

Commit a6091cc

Browse files
author
terrorgun
committed
Python Interpreter 1.5
1 parent b5bf9b4 commit a6091cc

File tree

20 files changed

+2341
-0
lines changed

20 files changed

+2341
-0
lines changed

PyInterpreter/Constants.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import kivy
2+
import os
3+
4+
directory = os.path.split(__file__)[0]
5+
configFile = os.path.join(directory, "pyinterpreter.cfg")
6+
tempDirectory = os.path.join(directory, "temp")
7+
pythonLogo = os.path.join(directory, "python_logo.png")
8+
defaultFont = kivy.resources.resource_find(os.path.join(directory, "fonts", "DroidSansMonoDotted.ttf"))
9+
tutorialDir = os.path.join(directory, "tutorials")
10+
11+
szConsole = "python console"
12+
szEditor = "python editor"
13+
szTutorial = "python tutorial"
14+
szFileBrowserOpen = "python filebrowser open layout"
15+
szFileBrowserSaveAs = "python filebrowser saveas layout"
16+
17+
topMargin = kivy.metrics.dp(35)
18+
min_space = kivy.metrics.dp(35)
19+
20+
gray = [1, 1, 1, 1]
21+
brightBlue = [1.5, 1.5, 2.0, 2]
22+
darkGray = [0.4, 0.4, 0.4, 2]

0 commit comments

Comments
 (0)