Globals/__init__.py

changeset 0
de9c2efb9d02
child 13
1af94a91f439
equal deleted inserted replaced
-1:000000000000 0:de9c2efb9d02
1 # -*- coding: utf-8 -*-
2
3 # Copyright (c) 2006 - 2009 Detlev Offenbach <detlev@die-offenbachs.de>
4 #
5
6 """
7 Module defining common data to be used by all modules.
8 """
9
10 import sys
11
12 # names of the various settings objects
13 settingsNameOrganization = "Eric5"
14 settingsNameGlobal = "eric5"
15 settingsNameRecent = "eric5recent"
16
17 # key names of the various recent entries
18 recentNameMultiProject = "MultiProjects"
19 recentNameProject = "Projects"
20 recentNameFiles = "Files"
21
22 def isWindowsPlatform():
23 """
24 Function to check, if this is a Windows platform.
25
26 @return flag indicating Windows platform (boolean)
27 """
28 return sys.platform.startswith("win")

eric ide

mercurial