UtilitiesPython2/PySideImporter.py

Sat, 24 Mar 2012 19:30:26 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 24 Mar 2012 19:30:26 +0100
changeset 1731
56cf9c150dbf
parent 1509
c0b5e693b0eb
child 2302
f29e9405c851
permissions
-rw-r--r--

Added code to write the timestamps to the Netscape bookmarks file and to record a timestamp for the last modification.

# -*- coding: utf-8 -*-

# Copyright (c) 2011 - 2012 Detlev Offenbach <detlev@die-offenbachs.de>
#

"""
Module to check for the presence of PySide by importing it.
"""

import sys

if __name__ == "__main__":
    try:
        import PySide       # __IGNORE_EXCEPTION__ __IGNORE_WARNING__
        ret = 0
    except ImportError:
        ret = 1
    
    sys.exit(ret)
    
#
# eflag: FileType = Python2

eric ide

mercurial