Пример #1
0
#     terms of the GNU General Public License (GPL), version 3
#     or (at your option) any later version.
#    
#     You should have received a copy of the GNU General Public
#     License along with wordtex.  If you can't find it,
#     see <http://www.gnu.org/licenses/>

'''python -tt /home/user/Projects/CloudformDesign/PythonCloudform/wordtex/\
wordtex.py $$i $$o --lyx $$p $$r'''

import pdb
import sys, os
sys.path.insert(1, '..')
from cloudtb import dbe
from cloudtb import system, logtools
log = logtools.get_logger()
logtools.log_fatal_exception()
log.info('starting')

import texlib

document = None

def main():
    import argparse
    import wp_formatting
    import publish
    import pdb
    
    print sys.argv
    texlib.TexPart.FORMAT_MODULE = wp_formatting
Пример #2
0
#           refactoring in those langages.
#       - (future) other changes -- proposed by you! Suggest them at 
#    
#     You are free to redistribute and/or modify Search The Sky 
#     under the terms of the GNU General Public License (GPL), version 3
#     or (at your option) any later version.
#    
#     You should have received a copy of the GNU General Public
#     License along with Search The Sky.  If you can't find it,
#     see <http://www.gnu.org/licenses/>


import pdb
from cloudtb import logtools
from logging import DEBUG, INFO, ERROR
log = logtools.get_logger(level = DEBUG)

from PyQt4 import QtGui, QtCore
import itertools

from cloudtb import iteration
from cloudtb.extra.PyQt.base_classes import StdWidget
from cloudtb.extra import richtext

class SearchTheSky_ui(StdWidget):
    _NAME_ = "SearchTheSky"
    def setupUi(self):
        self.setWindowTitle("Search The Sky")
        
        self.std_settings = {
        ('self.geometry', 'self.setGeometry'):(