Home | Trees | Indices | Help |
---|
|
>>> pids = getPids() >>> len(pids) > 1 True
>>> pids = getPidNames() >>> found = False >>> for pid, name in pids.items(): ... if name.lower().startswith('python'): ... found = True >>> found True
|
|||
|
|
|||
|
_plat(S,
prefix,
start=...,
end=...) Return True if S starts with the specified prefix, False otherwise. |
||
|
_importHelper(modname,
names=None,
target=None) Import a list of variables from a module |
||
|
getPyMoulDataDir(check=False) Get pyMoul data directory |
|
|||
|
__author__ = 'Christian Heimes'
|
||
|
__version__ = '$Id: __init__.py 125 2007-02-02 17:59:04Z tiran $'
|
||
|
__revision__ = '$Revision: 125 $'
|
||
|
LOG = <logging.Logger instance at 0x4030810c>
|
||
|
__FROZEN__ = False
|
||
|
__WIN32__ = False
|
||
|
__CYGWIN__ = False
|
||
|
__LINUX__ = True
|
||
|
__MACOSX__ = False
|
||
|
__BSD__ = False
|
||
|
__POSIX__ = True
|
||
|
__NT__ = False
|
||
|
__INFO__ = (False, False, True, False, False, True, False)
|
||
|
NAMES = ('getMoulUserDataDir', ('getPyMoulDataDir', '_getPyM...
|
||
|
_marker = <object object at 0x4003d460>
|
|
|
>>> mod = _importHelper(sys) >>> mod is sys or mod True >>> mod = _importHelper('moul.osdependent') >>> mod == _thismodule or mod True >>> vars = _importHelper('moul.osdependent', ('_marker', )) >>> vars[0] is _marker True >>> class Target(object): ... pass >>> target = Target() >>> vars = _importHelper('moul.osdependent', ('_marker', ), target=target) >>> target._marker is _marker True >>> vars[0] is _marker True >>> vars = _importHelper('moul.osdependent', (('_marker', 'another'), ), ... target=target) >>> target.another is _marker True >>> vars[0] is _marker True |
Get pyMoul data directory The directory contains log files, ini files and other local stuff |
|
__author__None
|
__version__None
|
__revision__None
|
LOGNone
|
__FROZEN__None
|
__WIN32__None
|
__CYGWIN__None
|
__LINUX__None
|
__MACOSX__None
|
__BSD__None
|
__POSIX__None
|
__NT__None
|
__INFO__None
|
NAMESNone
|
_markerNone
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0alpha3 on Sun Feb 4 17:00:18 2007 | http://epydoc.sourceforge.net |