code stringlengths 1 1.49M | vector listlengths 0 7.38k | snippet listlengths 0 7.38k |
|---|---|---|
from PyQt4.QtCore import Qt
from PyQt4.QtGui import QWidget, QLabel, QPixmap
from ..widgets.slave_frame import SlaveFrame
from ..widgets.slave_frame import SlaveMarketTitle
from ..widgets.slave_market_monitor import SlaveMarketMonitor
from ..widgets.slave_stat_panel import SlaveStatPanel
from ..widgets.slave_trait_widg... | [
[
1,
0,
0.0056,
0.0056,
0,
0.66,
0,
454,
0,
1,
0,
0,
454,
0,
0
],
[
1,
0,
0.0113,
0.0056,
0,
0.66,
0.0769,
552,
0,
3,
0,
0,
552,
0,
0
],
[
1,
0,
0.0169,
0.0056,
0,
... | [
"from PyQt4.QtCore import Qt",
"from PyQt4.QtGui import QWidget, QLabel, QPixmap",
"from ..widgets.slave_frame import SlaveFrame",
"from ..widgets.slave_frame import SlaveMarketTitle",
"from ..widgets.slave_market_monitor import SlaveMarketMonitor",
"from ..widgets.slave_stat_panel import SlaveStatPanel",... |
from PyQt4.QtGui import QWidget, QLabel, QPixmap
from ..widgets.mixed_button import MixedButton
from ..widgets.image_button import ImageButton
from . import screen_manager
import random
#
# let's have some tooltip text
#
s = ""
s += "Visiting caravans bring slavegirls as well as other goods.\n"
s += "The best of them ... | [
[
1,
0,
0.0038,
0.0038,
0,
0.66,
0,
552,
0,
3,
0,
0,
552,
0,
0
],
[
1,
0,
0.0077,
0.0038,
0,
0.66,
0.1111,
130,
0,
1,
0,
0,
130,
0,
0
],
[
1,
0,
0.0115,
0.0038,
0,
... | [
"from PyQt4.QtGui import QWidget, QLabel, QPixmap",
"from ..widgets.mixed_button import MixedButton",
"from ..widgets.image_button import ImageButton",
"from . import screen_manager",
"import random",
"s = \"\"",
"souk_market_tt = s",
"s = \"\"",
"souk_tt = s",
"class TownScreen(QWidget):\n\tdef _... |
from PyQt4.QtCore import QCoreApplication
from PyQt4.QtGui import QWidget, QLabel, QPixmap, QFrame
from ..widgets.image_button import ImageButton
from ..data import save_manager
import screen_manager
class MainMenu(QWidget):
def __init__(self, *args, **kw):
QWidget.__init__(self, *args, **kw)
self.setGeometry(0, ... | [
[
1,
0,
0.0143,
0.0143,
0,
0.66,
0,
454,
0,
1,
0,
0,
454,
0,
0
],
[
1,
0,
0.0286,
0.0143,
0,
0.66,
0.2,
552,
0,
4,
0,
0,
552,
0,
0
],
[
1,
0,
0.0429,
0.0143,
0,
0.6... | [
"from PyQt4.QtCore import QCoreApplication",
"from PyQt4.QtGui import QWidget, QLabel, QPixmap, QFrame",
"from ..widgets.image_button import ImageButton",
"from ..data import save_manager",
"import screen_manager",
"class MainMenu(QWidget):\n\tdef __init__(self, *args, **kw):\n\t\tQWidget.__init__(self, *... |
from PyQt4.QtGui import QWidget, QLabel, QPixmap
class VNScreen(QWidget):
def __init__(self, *args, **kw):
QWidget.__init__(self, *args, **kw)
self.setGeometry(0, 0, 1024, 768)
pic = QLabel(self)
pic.setGeometry(0, 0, 1024, 768)
path = "resources/wood.jpg"
pic.setPixmap(QPixmap(path))
def play
| [
[
1,
0,
0.0833,
0.0833,
0,
0.66,
0,
552,
0,
3,
0,
0,
552,
0,
0
],
[
3,
0,
0.5833,
0.75,
0,
0.66,
1,
38,
0,
1,
0,
0,
317,
0,
6
],
[
2,
1,
0.625,
0.6667,
1,
0.55,
... | [
"from PyQt4.QtGui import QWidget, QLabel, QPixmap",
"class VNScreen(QWidget):\n\tdef __init__(self, *args, **kw):\n\t\tQWidget.__init__(self, *args, **kw)\n\t\tself.setGeometry(0, 0, 1024, 768)\n\n\t\tpic = QLabel(self)\n\t\tpic.setGeometry(0, 0, 1024, 768)\n\t\tpath = \"resources/wood.jpg\"",
"\tdef __init__(s... |
import random
from PyQt4 import QtGui, QtCore
from PyQt4.QtCore import Qt
from ..widgets.mixed_button import MixedButton
from ..widgets.tart_frame import TartFrame
from ..widgets.tart_table import TartTable
from ..widgets.lift_plate import LiftPlate
from ..data import game_data
from . import screen_manager
from ..widge... | [
[
1,
0,
0.0026,
0.0026,
0,
0.66,
0,
715,
0,
1,
0,
0,
715,
0,
0
],
[
1,
0,
0.0053,
0.0026,
0,
0.66,
0.0909,
154,
0,
2,
0,
0,
154,
0,
0
],
[
1,
0,
0.0079,
0.0026,
0,
... | [
"import random",
"from PyQt4 import QtGui, QtCore",
"from PyQt4.QtCore import Qt",
"from ..widgets.mixed_button import MixedButton",
"from ..widgets.tart_frame import TartFrame",
"from ..widgets.tart_table import TartTable",
"from ..widgets.lift_plate import LiftPlate",
"from ..data import game_data",... |
from PyQt4 import QtGui, QtCore
from PyQt4.QtCore import Qt
from ..widgets.msg_header import MsgHeader
from ..widgets.msg_main import MsgMain
from ..widgets.msg_newsbar import MsgNewspanel
from ..widgets.brass_plate import BrassButton
class MessageScreen(QtGui.QWidget):
def __init__(self, *args, **kw):
QtGui.QWidge... | [
[
1,
0,
0.0175,
0.0175,
0,
0.66,
0,
154,
0,
2,
0,
0,
154,
0,
0
],
[
1,
0,
0.0351,
0.0175,
0,
0.66,
0.1429,
454,
0,
1,
0,
0,
454,
0,
0
],
[
1,
0,
0.0526,
0.0175,
0,
... | [
"from PyQt4 import QtGui, QtCore",
"from PyQt4.QtCore import Qt",
"from ..widgets.msg_header import MsgHeader",
"from ..widgets.msg_main import MsgMain",
"from ..widgets.msg_newsbar import MsgNewspanel",
"from ..widgets.brass_plate import BrassButton",
"class MessageScreen(QtGui.QWidget):\n\tdef __init_... |
from PyQt4.QtCore import Qt
from PyQt4.QtGui import QWidget, QLabel, QPixmap, QFont, QLineEdit, QFrame
from ..widgets.mixed_button import MixedButton
import screen_manager
from ..data import game_data
class NewGameScreen(QWidget):
def __init__(self, *args, **kw):
QWidget.__init__(self, *args, **kw)
self.setGeomet... | [
[
1,
0,
0.0075,
0.0075,
0,
0.66,
0,
454,
0,
1,
0,
0,
454,
0,
0
],
[
1,
0,
0.015,
0.0075,
0,
0.66,
0.2,
552,
0,
6,
0,
0,
552,
0,
0
],
[
1,
0,
0.0226,
0.0075,
0,
0.66... | [
"from PyQt4.QtCore import Qt",
"from PyQt4.QtGui import QWidget, QLabel, QPixmap, QFont, QLineEdit, QFrame",
"from ..widgets.mixed_button import MixedButton",
"import screen_manager",
"from ..data import game_data",
"class NewGameScreen(QWidget):\n\tdef __init__(self, *args, **kw):\n\t\tQWidget.__init__(s... |
from PyQt4.QtCore import Qt
from PyQt4.QtGui import QWidget, QLabel, QPixmap, QFont
from ..widgets.mixed_button import MixedButton
class MsgBox(QWidget):
def __init__(self, *args, **kw):
QWidget.__init__(self, *args, **kw)
self.setGeometry((1024-800)/2, (769-530)/2, 800, 530)
#
# background graphic
#
bg = QL... | [
[
1,
0,
0.0159,
0.0159,
0,
0.66,
0,
454,
0,
1,
0,
0,
454,
0,
0
],
[
1,
0,
0.0317,
0.0159,
0,
0.66,
0.3333,
552,
0,
4,
0,
0,
552,
0,
0
],
[
1,
0,
0.0476,
0.0159,
0,
... | [
"from PyQt4.QtCore import Qt",
"from PyQt4.QtGui import QWidget, QLabel, QPixmap, QFont",
"from ..widgets.mixed_button import MixedButton",
"class MsgBox(QWidget):\n\n\tdef __init__(self, *args, **kw):\n\t\tQWidget.__init__(self, *args, **kw)\n\t\tself.setGeometry((1024-800)/2, (769-530)/2, 800, 530)\n#\n#\t\... |
from PyQt4 import QtCore
screens = None
current = None
def add(name, widget):
global screens
print "screen manager: adding ", name
if screens == None:
screens = {}
screens[name] = widget
widget.setFocusPolicy(QtCore.Qt.StrongFocus)
def show(name):
global screens
global current
print "screen manager: sho... | [
[
1,
0,
0.0128,
0.0128,
0,
0.66,
0,
154,
0,
1,
0,
0,
154,
0,
0
],
[
14,
0,
0.0385,
0.0128,
0,
0.66,
0.1,
471,
1,
0,
0,
0,
0,
9,
0
],
[
14,
0,
0.0513,
0.0128,
0,
0.6... | [
"from PyQt4 import QtCore",
"screens = None",
"current = None",
"def add(name, widget):\n\tglobal screens\n\n\tprint(\"screen manager: adding \", name)\n\tif screens == None:\n\t\tscreens = {}\n\tscreens[name] = widget\n\twidget.setFocusPolicy(QtCore.Qt.StrongFocus)",
"\tprint(\"screen manager: adding \", n... |
from PyQt4.QtGui import QWidget, QLabel, QPixmap
from ..widgets.day_and_date import DayAndDate
from ..widgets.title_panel import TitleAndButtons
from ..widgets.stats_panel import StatsPanel
from ..widgets.viewscreen import Viewscreen
from ..widgets.printer import PrinterWidget
from ..widgets.mixed_button import MixedBu... | [
[
1,
0,
0.0046,
0.0046,
0,
0.66,
0,
552,
0,
3,
0,
0,
552,
0,
0
],
[
1,
0,
0.0091,
0.0046,
0,
0.66,
0.1111,
766,
0,
1,
0,
0,
766,
0,
0
],
[
1,
0,
0.0137,
0.0046,
0,
... | [
"from PyQt4.QtGui import QWidget, QLabel, QPixmap",
"from ..widgets.day_and_date import DayAndDate",
"from ..widgets.title_panel import TitleAndButtons",
"from ..widgets.stats_panel import StatsPanel",
"from ..widgets.viewscreen import Viewscreen",
"from ..widgets.printer import PrinterWidget",
"from ..... |
from distutils.core import setup
import py2exe
"""
setup(
options = {"py2exe": {"compressed": 1, "optimize": 0, "bundle_files": 1, } },
zipfile = None,
windows=["ABC_ihm.py"]
)
"""
setup(zipfile = None,
windows = [{"script": "ABC.py"}],
name='ABC Backup Concept shell exec',
... | [
[
1,
0,
0.0952,
0.0476,
0,
0.66,
0,
152,
0,
1,
0,
0,
152,
0,
0
],
[
1,
0,
0.1429,
0.0476,
0,
0.66,
0.3333,
768,
0,
1,
0,
0,
768,
0,
0
],
[
8,
0,
0.4048,
0.381,
0,
0... | [
"from distutils.core import setup",
"import py2exe",
"\"\"\"\nsetup(\n options = {\"py2exe\": {\"compressed\": 1, \"optimize\": 0, \"bundle_files\": 1, } },\n zipfile = None,\n windows=[\"ABC_ihm.py\"]\n\n )\n\"\"\"",
"setup(zipfile = None,\n windows = [{\"script\": \"ABC.py\"}],\n name='A... |
# -*- coding: UTF-8 -*-
import os,sys,gettext,warnings
from Class_ABC_XML import XML_ABC
# ------------------------------------------------------------------------------
# --- Internationalisation
# --- la langue par défaut est le français
# --------------------------------------------------------------------... | [
[
1,
0,
0.05,
0.0167,
0,
0.66,
0,
688,
0,
4,
0,
0,
688,
0,
0
],
[
1,
0,
0.0667,
0.0167,
0,
0.66,
0.125,
233,
0,
1,
0,
0,
233,
0,
0
],
[
14,
0,
0.1833,
0.0167,
0,
0.... | [
"import os,sys,gettext,warnings",
"from Class_ABC_XML import XML_ABC",
"traduction = {}",
"pathname = os.path.dirname(sys.argv[0])",
"localdir = os.path.abspath(pathname) + \"/locale\"",
"def Create_File():\n \n # --- Initialisations pour le XML ---\n XML = XML_ABC ()\n XML.Create_... |
# -*- coding: UTF-8 -*-
#-----------------------------------------------------------------------------
# Name: Class_ABC_Crypt.py
# Purpose: Classe de cryptage des logs
#
#
# Author: ABCPro
#
# Created: 2007/04/18
# Copyright: (c) 2007
# Licence: <your licence>
#-... | [
[
1,
0,
0.2206,
0.0147,
0,
0.66,
0,
688,
0,
5,
0,
0,
688,
0,
0
],
[
4,
0,
0.2721,
0.0588,
0,
0.66,
0.5,
0,
3,
0,
0,
0,
0,
0,
2
],
[
8,
1,
0.2647,
0.0147,
1,
0.31,
... | [
"import os,sys,time,datetime,base64",
"if hasattr(sys,\"setdefaultencoding\"):\n sys.setdefaultencoding(\"latin-1\")\nelse:\n pass # site.py did it already for us and everything should work",
" sys.setdefaultencoding(\"latin-1\")",
"class ABC_Crypt :\n \n \n \n\n def Crypt (self,text):\n ... |
#!/usr/bin/env python
#Boa:App:BoaApp
import wx,signal,os,sys
import frm_gestion_Repertoires
modules ={'Frame1': [1, 'Main frame of Application', 'none://frm_gestion_Repertoires.py']}
class BoaApp(wx.App):
def OnInit(self):
self.main =frm_gestion_Repertoires.create(None)
self.main.Show()
... | [
[
1,
0,
0.1818,
0.0455,
0,
0.66,
0,
666,
0,
4,
0,
0,
666,
0,
0
],
[
1,
0,
0.2727,
0.0455,
0,
0.66,
0.2,
303,
0,
1,
0,
0,
303,
0,
0
],
[
14,
0,
0.3636,
0.0455,
0,
0.... | [
"import wx,signal,os,sys",
"import frm_gestion_Repertoires",
"modules ={'Frame1': [1, 'Main frame of Application', 'none://frm_gestion_Repertoires.py']}",
"class BoaApp(wx.App):\n def OnInit(self):\n self.main =frm_gestion_Repertoires.create(None)\n self.main.Show()\n self.SetTopWindow... |
#!/usr/bin/python
# -*- coding: UTF-8 -*-
#Boa:Frame:Frame1
#-----------------------------------------------------------------------------
# Name: Class_Serv_IHM
# Purpose: Creation d'un socket a chaque lancement de ABC IHM
# Permet de controler le nombre de programme lancer a 1
# ... | [
[
1,
0,
0.5263,
0.0263,
0,
0.66,
0,
563,
0,
1,
0,
0,
563,
0,
0
],
[
1,
0,
0.5526,
0.0263,
0,
0.66,
0.3333,
509,
0,
4,
0,
0,
509,
0,
0
],
[
3,
0,
0.7237,
0.2632,
0,
... | [
"from asyncore import dispatcher",
"import sys, time, socket, wx",
"class Server( dispatcher ):\n def __init__(self):\n '''On crée un socket sur le port 50001\n si on tente de lancer une autre instance de l'ihm\n le socket empecheras la relance\n ''' \n dispatcher.__init__(self)\n self... |
#!/usr/bin/env python
#Boa:App:BoaApp
import wx,signal,os,sys
import frm_gestion_Repertoires
modules ={'Frame1': [1, 'Main frame of Application', 'none://frm_gestion_Repertoires.py']}
class BoaApp(wx.App):
def OnInit(self):
self.main =frm_gestion_Repertoires.create(None)
self.main.Show()
... | [
[
1,
0,
0.1818,
0.0455,
0,
0.66,
0,
666,
0,
4,
0,
0,
666,
0,
0
],
[
1,
0,
0.2727,
0.0455,
0,
0.66,
0.2,
303,
0,
1,
0,
0,
303,
0,
0
],
[
14,
0,
0.3636,
0.0455,
0,
0.... | [
"import wx,signal,os,sys",
"import frm_gestion_Repertoires",
"modules ={'Frame1': [1, 'Main frame of Application', 'none://frm_gestion_Repertoires.py']}",
"class BoaApp(wx.App):\n def OnInit(self):\n self.main =frm_gestion_Repertoires.create(None)\n self.main.Show()\n self.SetTopWindow... |
#Boa:Dialog:Dialog1
import wx
def create(parent):
return Dialog1(parent)
[wxID_DIALOG1, wxID_DIALOG1TXT_MDP,
] = [wx.NewId() for _init_ctrls in range(2)]
class Dialog1(wx.Dialog):
def _init_ctrls(self, prnt):
# generated method, don't edit
wx.Dialog.__init__(self, id=wxID_DIALOG1, name='', ... | [
[
1,
0,
0.125,
0.0417,
0,
0.66,
0,
666,
0,
1,
0,
0,
666,
0,
0
],
[
2,
0,
0.2292,
0.0833,
0,
0.66,
0.3333,
316,
0,
1,
1,
0,
0,
0,
1
],
[
13,
1,
0.25,
0.0417,
1,
0.28... | [
"import wx",
"def create(parent):\n return Dialog1(parent)",
" return Dialog1(parent)",
"[wxID_DIALOG1, wxID_DIALOG1TXT_MDP, \n] = [wx.NewId() for _init_ctrls in range(2)]",
"class Dialog1(wx.Dialog):\n def _init_ctrls(self, prnt):\n # generated method, don't edit\n wx.Dialog.__init__... |
#!/usr/bin/python
# -*- coding: UTF-8 -*-
#Boa:Frame:Frame1
#-----------------------------------------------------------------------------
# Name: Class_Serv_IHM
# Purpose: Creation d'un socket a chaque lancement de ABC IHM
# Permet de controler le nombre de programme lancer a 1
# ... | [
[
1,
0,
0.5263,
0.0263,
0,
0.66,
0,
563,
0,
1,
0,
0,
563,
0,
0
],
[
1,
0,
0.5526,
0.0263,
0,
0.66,
0.3333,
509,
0,
4,
0,
0,
509,
0,
0
],
[
3,
0,
0.7237,
0.2632,
0,
... | [
"from asyncore import dispatcher",
"import sys, time, socket, wx",
"class Server( dispatcher ):\n def __init__(self):\n '''On crée un socket sur le port 50001\n si on tente de lancer une autre instance de l'ihm\n le socket empecheras la relance\n ''' \n dispatcher.__init__(self)\n self... |
#Boa:Dialog:Dialog1
# -*- coding: UTF-8 -*-
import wx,base64
import wx.lib.buttons
from subprocess import Popen
def create(parent):
return Dialog1(parent)
[wxID_DIALOG1, wxID_DIALOG1BTN_VALIDER, wxID_DIALOG1LBL_GROUPE,
wxID_DIALOG1LBL_SERVEUR, wxID_DIALOG1TXT_GROUP, wxID_DIALOG1TXT_SERVEUR,
] = [w... | [
[
1,
0,
0.0449,
0.0112,
0,
0.66,
0,
666,
0,
2,
0,
0,
666,
0,
0
],
[
1,
0,
0.0562,
0.0112,
0,
0.66,
0.2,
891,
0,
1,
0,
0,
891,
0,
0
],
[
1,
0,
0.0674,
0.0112,
0,
0.6... | [
"import wx,base64",
"import wx.lib.buttons",
"from subprocess import Popen",
"def create(parent):\n return Dialog1(parent)",
" return Dialog1(parent)",
"[wxID_DIALOG1, wxID_DIALOG1BTN_VALIDER, wxID_DIALOG1LBL_GROUPE, \n wxID_DIALOG1LBL_SERVEUR, wxID_DIALOG1TXT_GROUP, wxID_DIALOG1TXT_SERVEUR, \n] = [... |
# -*- coding: UTF-8 -*-
import os,sys,gettext,warnings
from Class_ABC_XML import XML_ABC
# ------------------------------------------------------------------------------
# --- Internationalisation
# --- la langue par défaut est le français
# --------------------------------------------------------------------... | [
[
1,
0,
0.05,
0.0167,
0,
0.66,
0,
688,
0,
4,
0,
0,
688,
0,
0
],
[
1,
0,
0.0667,
0.0167,
0,
0.66,
0.125,
233,
0,
1,
0,
0,
233,
0,
0
],
[
14,
0,
0.1833,
0.0167,
0,
0.... | [
"import os,sys,gettext,warnings",
"from Class_ABC_XML import XML_ABC",
"traduction = {}",
"pathname = os.path.dirname(sys.argv[0])",
"localdir = os.path.abspath(pathname) + \"/locale\"",
"def Create_File():\n \n # --- Initialisations pour le XML ---\n XML = XML_ABC ()\n XML.Create_... |
from distutils.core import setup
import py2app
py2app_options=dict(
iconfile='icone.icns',
)
setup(
app=["ABC.py"],
setup_requires=["py2app"],
options=dict(
py2app=py2app_options,
)
)
| [
[
1,
0,
0.0714,
0.0714,
0,
0.66,
0,
152,
0,
1,
0,
0,
152,
0,
0
],
[
1,
0,
0.1429,
0.0714,
0,
0.66,
0.3333,
294,
0,
1,
0,
0,
294,
0,
0
],
[
14,
0,
0.3571,
0.2143,
0,
... | [
"from distutils.core import setup",
"import py2app",
"py2app_options=dict(\n iconfile='icone.icns',\n)",
"setup(\n app=[\"ABC.py\"],\n setup_requires=[\"py2app\"],\n options=dict(\n py2app=py2app_options,\n )\n\n)"
] |
# -*- coding: UTF-8 -*-
#-----------------------------------------------------------------------------
# Name: Class_ABC_Crypt.py
# Purpose: Classe de cryptage des logs
#
#
# Author: ABCPro
#
# Created: 2007/04/18
# Copyright: (c) 2007
# Licence: <your licence>
#-... | [
[
1,
0,
0.2206,
0.0147,
0,
0.66,
0,
688,
0,
5,
0,
0,
688,
0,
0
],
[
4,
0,
0.2721,
0.0588,
0,
0.66,
0.5,
0,
3,
0,
0,
0,
0,
0,
2
],
[
8,
1,
0.2647,
0.0147,
1,
0.1,
... | [
"import os,sys,time,datetime,base64",
"if hasattr(sys,\"setdefaultencoding\"):\n sys.setdefaultencoding(\"latin-1\")\nelse:\n pass # site.py did it already for us and everything should work",
" sys.setdefaultencoding(\"latin-1\")",
"class ABC_Crypt :\n \n \n \n\n def Crypt (self,text):\n ... |
#!/usr/bin/env python
#Boa:App:BoaApp
import wx,signal,os,sys
import frm_gestion_Repertoires
modules ={'Frame1': [1, 'Main frame of Application', 'none://frm_gestion_Repertoires.py']}
class BoaApp(wx.App):
def OnInit(self):
self.main =frm_gestion_Repertoires.create(None)
self.main.Show()
... | [
[
1,
0,
0.1818,
0.0455,
0,
0.66,
0,
666,
0,
4,
0,
0,
666,
0,
0
],
[
1,
0,
0.2727,
0.0455,
0,
0.66,
0.2,
303,
0,
1,
0,
0,
303,
0,
0
],
[
14,
0,
0.3636,
0.0455,
0,
0.... | [
"import wx,signal,os,sys",
"import frm_gestion_Repertoires",
"modules ={'Frame1': [1, 'Main frame of Application', 'none://frm_gestion_Repertoires.py']}",
"class BoaApp(wx.App):\n def OnInit(self):\n self.main =frm_gestion_Repertoires.create(None)\n self.main.Show()\n self.SetTopWindow... |
#!/usr/bin/python
# -*- coding: UTF-8 -*-
#Boa:Frame:Frame1
#-----------------------------------------------------------------------------
# Name: Class_Serv_IHM
# Purpose: Creation d'un socket a chaque lancement de ABC IHM
# Permet de controler le nombre de programme lancer a 1
# ... | [
[
1,
0,
0.5263,
0.0263,
0,
0.66,
0,
563,
0,
1,
0,
0,
563,
0,
0
],
[
1,
0,
0.5526,
0.0263,
0,
0.66,
0.3333,
509,
0,
4,
0,
0,
509,
0,
0
],
[
3,
0,
0.7237,
0.2632,
0,
... | [
"from asyncore import dispatcher",
"import sys, time, socket, wx",
"class Server( dispatcher ):\n def __init__(self):\n '''On crée un socket sur le port 50001\n si on tente de lancer une autre instance de l'ihm\n le socket empecheras la relance\n ''' \n dispatcher.__init__(self)\n self... |
#!/usr/bin/env python
#Boa:App:BoaApp
import wx,signal,os,sys
import frm_gestion_Repertoires
modules ={'Frame1': [1, 'Main frame of Application', 'none://frm_gestion_Repertoires.py']}
class BoaApp(wx.App):
def OnInit(self):
self.main =frm_gestion_Repertoires.create(None)
self.main.Show()
... | [
[
1,
0,
0.1818,
0.0455,
0,
0.66,
0,
666,
0,
4,
0,
0,
666,
0,
0
],
[
1,
0,
0.2727,
0.0455,
0,
0.66,
0.2,
303,
0,
1,
0,
0,
303,
0,
0
],
[
14,
0,
0.3636,
0.0455,
0,
0.... | [
"import wx,signal,os,sys",
"import frm_gestion_Repertoires",
"modules ={'Frame1': [1, 'Main frame of Application', 'none://frm_gestion_Repertoires.py']}",
"class BoaApp(wx.App):\n def OnInit(self):\n self.main =frm_gestion_Repertoires.create(None)\n self.main.Show()\n self.SetTopWindow... |
#Boa:Dialog:Dialog1
import wx
def create(parent):
return Dialog1(parent)
[wxID_DIALOG1, wxID_DIALOG1TXT_MDP,
] = [wx.NewId() for _init_ctrls in range(2)]
class Dialog1(wx.Dialog):
def _init_ctrls(self, prnt):
# generated method, don't edit
wx.Dialog.__init__(self, id=wxID_DIALOG1, name='', ... | [
[
1,
0,
0.125,
0.0417,
0,
0.66,
0,
666,
0,
1,
0,
0,
666,
0,
0
],
[
2,
0,
0.2292,
0.0833,
0,
0.66,
0.3333,
316,
0,
1,
1,
0,
0,
0,
1
],
[
13,
1,
0.25,
0.0417,
1,
0,
... | [
"import wx",
"def create(parent):\n return Dialog1(parent)",
" return Dialog1(parent)",
"[wxID_DIALOG1, wxID_DIALOG1TXT_MDP, \n] = [wx.NewId() for _init_ctrls in range(2)]",
"class Dialog1(wx.Dialog):\n def _init_ctrls(self, prnt):\n # generated method, don't edit\n wx.Dialog.__init__... |
#!/usr/bin/python
# -*- coding: UTF-8 -*-
#Boa:Frame:Frame1
#-----------------------------------------------------------------------------
# Name: Class_Serv_IHM
# Purpose: Creation d'un socket a chaque lancement de ABC IHM
# Permet de controler le nombre de programme lancer a 1
# ... | [
[
1,
0,
0.5263,
0.0263,
0,
0.66,
0,
563,
0,
1,
0,
0,
563,
0,
0
],
[
1,
0,
0.5526,
0.0263,
0,
0.66,
0.3333,
509,
0,
4,
0,
0,
509,
0,
0
],
[
3,
0,
0.7237,
0.2632,
0,
... | [
"from asyncore import dispatcher",
"import sys, time, socket, wx",
"class Server( dispatcher ):\n def __init__(self):\n '''On crée un socket sur le port 50001\n si on tente de lancer une autre instance de l'ihm\n le socket empecheras la relance\n ''' \n dispatcher.__init__(self)\n self... |
#Boa:Dialog:Dialog1
# -*- coding: UTF-8 -*-
import wx,base64
import wx.lib.buttons
from subprocess import Popen
def create(parent):
return Dialog1(parent)
[wxID_DIALOG1, wxID_DIALOG1BTN_VALIDER, wxID_DIALOG1LBL_GROUPE,
wxID_DIALOG1LBL_SERVEUR, wxID_DIALOG1TXT_GROUP, wxID_DIALOG1TXT_SERVEUR,
] = [w... | [
[
1,
0,
0.0449,
0.0112,
0,
0.66,
0,
666,
0,
2,
0,
0,
666,
0,
0
],
[
1,
0,
0.0562,
0.0112,
0,
0.66,
0.2,
891,
0,
1,
0,
0,
891,
0,
0
],
[
1,
0,
0.0674,
0.0112,
0,
0.6... | [
"import wx,base64",
"import wx.lib.buttons",
"from subprocess import Popen",
"def create(parent):\n return Dialog1(parent)",
" return Dialog1(parent)",
"[wxID_DIALOG1, wxID_DIALOG1BTN_VALIDER, wxID_DIALOG1LBL_GROUPE, \n wxID_DIALOG1LBL_SERVEUR, wxID_DIALOG1TXT_GROUP, wxID_DIALOG1TXT_SERVEUR, \n] = [... |
#!/usr/bin/env python
#Boa:App:BoaApp
import wx
import ABC_Backup_IHM
modules ={u'ABC_Backup_IHM': [1, 'Main frame of Application', u'ABC_Backup_IHM.py']}
class BoaApp(wx.App):
def OnInit(self):
self.main = ABC_Backup_IHM.create(None)
self.main.Show()
self.SetTopWindow(self.... | [
[
1,
0,
0.1818,
0.0455,
0,
0.66,
0,
666,
0,
1,
0,
0,
666,
0,
0
],
[
1,
0,
0.2727,
0.0455,
0,
0.66,
0.2,
760,
0,
1,
0,
0,
760,
0,
0
],
[
14,
0,
0.3636,
0.0455,
0,
0.... | [
"import wx",
"import ABC_Backup_IHM",
"modules ={u'ABC_Backup_IHM': [1, 'Main frame of Application', u'ABC_Backup_IHM.py']}",
"class BoaApp(wx.App):\n def OnInit(self):\n self.main = ABC_Backup_IHM.create(None)\n self.main.Show()\n self.SetTopWindow(self.main)\n return True",
... |
#!/usr/bin/env python
#Boa:App:BoaApp
import wx
import ABC_Backup_IHM
modules ={u'ABC_Backup_IHM': [1, 'Main frame of Application', u'ABC_Backup_IHM.py']}
class BoaApp(wx.App):
def OnInit(self):
self.main = ABC_Backup_IHM.create(None)
frameicon = wx.Icon("./img/icone.ico", wx.BITMAP_... | [
[
1,
0,
0.1667,
0.0417,
0,
0.66,
0,
666,
0,
1,
0,
0,
666,
0,
0
],
[
1,
0,
0.25,
0.0417,
0,
0.66,
0.2,
760,
0,
1,
0,
0,
760,
0,
0
],
[
14,
0,
0.3333,
0.0417,
0,
0.66... | [
"import wx",
"import ABC_Backup_IHM",
"modules ={u'ABC_Backup_IHM': [1, 'Main frame of Application', u'ABC_Backup_IHM.py']}",
"class BoaApp(wx.App):\n def OnInit(self):\n self.main = ABC_Backup_IHM.create(None)\n frameicon = wx.Icon(\"./img/icone.ico\", wx.BITMAP_TYPE_ICO)\n self.main.... |
#!/usr/bin/env python
#Boa:App:BoaApp
import wx
import ABC_Backup_IHM
modules ={u'ABC_Backup_IHM': [1, 'Main frame of Application', u'ABC_Backup_IHM.py']}
class BoaApp(wx.App):
def OnInit(self):
self.main = ABC_Backup_IHM.create(None)
frameicon = wx.Icon("./img/icone.ico", wx.BITMAP_... | [
[
1,
0,
0.1667,
0.0417,
0,
0.66,
0,
666,
0,
1,
0,
0,
666,
0,
0
],
[
1,
0,
0.25,
0.0417,
0,
0.66,
0.2,
760,
0,
1,
0,
0,
760,
0,
0
],
[
14,
0,
0.3333,
0.0417,
0,
0.66... | [
"import wx",
"import ABC_Backup_IHM",
"modules ={u'ABC_Backup_IHM': [1, 'Main frame of Application', u'ABC_Backup_IHM.py']}",
"class BoaApp(wx.App):\n def OnInit(self):\n self.main = ABC_Backup_IHM.create(None)\n frameicon = wx.Icon(\"./img/icone.ico\", wx.BITMAP_TYPE_ICO)\n self.main.... |
from distutils.core import setup
import py2exe
"""
setup(
options = {"py2exe": {"compressed": 1, "optimize": 0, "bundle_files": 1, } },
zipfile = None,
windows=["ABC_ihm.py"]
)
"""
setup(zipfile = None,
windows = [{"script": "ABC_ihm.py",
"icon_resources": [(1, "icone.ico")]... | [
[
1,
0,
0.0909,
0.0455,
0,
0.66,
0,
152,
0,
1,
0,
0,
152,
0,
0
],
[
1,
0,
0.1364,
0.0455,
0,
0.66,
0.3333,
768,
0,
1,
0,
0,
768,
0,
0
],
[
8,
0,
0.3864,
0.3636,
0,
... | [
"from distutils.core import setup",
"import py2exe",
"\"\"\"\nsetup(\n options = {\"py2exe\": {\"compressed\": 1, \"optimize\": 0, \"bundle_files\": 1, } },\n zipfile = None,\n windows=[\"ABC_ihm.py\"]\n\n )\n\"\"\"",
"setup(zipfile = None,\n windows = [{\"script\": \"ABC_ihm.py\",\n \"ico... |
#!/usr/bin/env python
#Boa:App:BoaApp
import wx
import ABC_Backup_IHM
modules ={u'ABC_Backup_IHM': [1, 'Main frame of Application', u'ABC_Backup_IHM.py']}
class BoaApp(wx.App):
def OnInit(self):
self.main = ABC_Backup_IHM.create(None)
self.main.Show()
self.SetTopWindow(self.... | [
[
1,
0,
0.1818,
0.0455,
0,
0.66,
0,
666,
0,
1,
0,
0,
666,
0,
0
],
[
1,
0,
0.2727,
0.0455,
0,
0.66,
0.2,
760,
0,
1,
0,
0,
760,
0,
0
],
[
14,
0,
0.3636,
0.0455,
0,
0.... | [
"import wx",
"import ABC_Backup_IHM",
"modules ={u'ABC_Backup_IHM': [1, 'Main frame of Application', u'ABC_Backup_IHM.py']}",
"class BoaApp(wx.App):\n def OnInit(self):\n self.main = ABC_Backup_IHM.create(None)\n self.main.Show()\n self.SetTopWindow(self.main)\n return True",
... |
#!/usr/bin/env python
import os,shutil,sys
if len(sys.argv) < 2:
print 'Usage: %s <repertoire>' %(sys.argv[0])
sys.exit()
else:
chemin = sys.argv[1]
# on liste les repertoires presents et on stocke leurs nom dans un tableau
listedir = []
for item in os.listdir(chemin):
if os.path.isdir('%s/%s' % (chemin,item)... | [
[
1,
0,
0.1212,
0.0303,
0,
0.66,
0,
688,
0,
3,
0,
0,
688,
0,
0
],
[
4,
0,
0.2727,
0.1515,
0,
0.66,
0.1667,
0,
0,
0,
0,
0,
0,
0,
3
],
[
8,
1,
0.2424,
0.0303,
1,
0.25... | [
"import os,shutil,sys",
"if len(sys.argv) < 2:\n\tprint('Usage: %s <repertoire>' %(sys.argv[0]))\n\tsys.exit()\nelse:\n\tchemin = sys.argv[1]",
"\tprint('Usage: %s <repertoire>' %(sys.argv[0]))",
"\tsys.exit()",
"\tchemin = sys.argv[1]",
"listedir = []",
"for item in os.listdir(chemin):\n\tif os.path.is... |
#!/usr/bin/env python
import os,shutil,sys
if len(sys.argv) < 2:
print 'Usage: %s <repertoire>' %(sys.argv[0])
sys.exit()
else:
chemin = sys.argv[1]
# on liste les repertoires presents et on stocke leurs nom dans un tableau
listedir = []
for item in os.listdir(chemin):
if os.path.isdir('%s/%s' % (chemin,item)... | [
[
1,
0,
0.1212,
0.0303,
0,
0.66,
0,
688,
0,
3,
0,
0,
688,
0,
0
],
[
4,
0,
0.2727,
0.1515,
0,
0.66,
0.1667,
0,
0,
0,
0,
0,
0,
0,
3
],
[
8,
1,
0.2424,
0.0303,
1,
0.01... | [
"import os,shutil,sys",
"if len(sys.argv) < 2:\n\tprint('Usage: %s <repertoire>' %(sys.argv[0]))\n\tsys.exit()\nelse:\n\tchemin = sys.argv[1]",
"\tprint('Usage: %s <repertoire>' %(sys.argv[0]))",
"\tsys.exit()",
"\tchemin = sys.argv[1]",
"listedir = []",
"for item in os.listdir(chemin):\n\tif os.path.is... |
# -*- coding: UTF-8 -*-
import os,sys,gettext,warnings
from Class_ABC_XML import XML_ABC
# ------------------------------------------------------------------------------
# --- Internationalisation
# --- la langue par défaut est le français
# --------------------------------------------------------------------... | [
[
1,
0,
0.05,
0.0167,
0,
0.66,
0,
688,
0,
4,
0,
0,
688,
0,
0
],
[
1,
0,
0.0667,
0.0167,
0,
0.66,
0.125,
233,
0,
1,
0,
0,
233,
0,
0
],
[
14,
0,
0.1833,
0.0167,
0,
0.... | [
"import os,sys,gettext,warnings",
"from Class_ABC_XML import XML_ABC",
"traduction = {}",
"pathname = os.path.dirname(sys.argv[0])",
"localdir = os.path.abspath(pathname) + \"/locale\"",
"def Create_File():\n \n # --- Initialisations pour le XML ---\n XML = XML_ABC ()\n XML.Create_... |
# -*- coding: UTF-8 -*-
#-----------------------------------------------------------------------------
# Name: Class_ABC_Crypt.py
# Purpose: Classe de cryptage des logs
#
#
# Author: ABCPro
#
# Created: 2007/04/18
# Copyright: (c) 2007
# Licence: <your licence>
#-... | [
[
1,
0,
0.2206,
0.0147,
0,
0.66,
0,
688,
0,
5,
0,
0,
688,
0,
0
],
[
4,
0,
0.2721,
0.0588,
0,
0.66,
0.5,
0,
3,
0,
0,
0,
0,
0,
2
],
[
8,
1,
0.2647,
0.0147,
1,
0.33,
... | [
"import os,sys,time,datetime,base64",
"if hasattr(sys,\"setdefaultencoding\"):\n sys.setdefaultencoding(\"latin-1\")\nelse:\n pass # site.py did it already for us and everything should work",
" sys.setdefaultencoding(\"latin-1\")",
"class ABC_Crypt :\n \n \n \n\n def Crypt (self,text):\n ... |
#!/usr/bin/python
# -*- coding: UTF-8 -*-
#Boa:Frame:Frame1
#-----------------------------------------------------------------------------
# Name: Class_Serv_IHM
# Purpose: Creation d'un socket a chaque lancement de ABC IHM
# Permet de controler le nombre de programme lancer a 1
# ... | [
[
1,
0,
0.5263,
0.0263,
0,
0.66,
0,
563,
0,
1,
0,
0,
563,
0,
0
],
[
1,
0,
0.5526,
0.0263,
0,
0.66,
0.3333,
509,
0,
4,
0,
0,
509,
0,
0
],
[
3,
0,
0.7237,
0.2632,
0,
... | [
"from asyncore import dispatcher",
"import sys, time, socket, wx",
"class Server( dispatcher ):\n def __init__(self):\n '''On crée un socket sur le port 50001\n si on tente de lancer une autre instance de l'ihm\n le socket empecheras la relance\n ''' \n dispatcher.__init__(self)\n self... |
#!/usr/bin/env python
#Boa:App:BoaApp
import wx,signal,os,sys
import frm_gestion_Repertoires
modules ={'Frame1': [1, 'Main frame of Application', 'none://frm_gestion_Repertoires.py']}
class BoaApp(wx.App):
def OnInit(self):
self.main =frm_gestion_Repertoires.create(None)
self.main.Show()
... | [
[
1,
0,
0.1818,
0.0455,
0,
0.66,
0,
666,
0,
4,
0,
0,
666,
0,
0
],
[
1,
0,
0.2727,
0.0455,
0,
0.66,
0.2,
303,
0,
1,
0,
0,
303,
0,
0
],
[
14,
0,
0.3636,
0.0455,
0,
0.... | [
"import wx,signal,os,sys",
"import frm_gestion_Repertoires",
"modules ={'Frame1': [1, 'Main frame of Application', 'none://frm_gestion_Repertoires.py']}",
"class BoaApp(wx.App):\n def OnInit(self):\n self.main =frm_gestion_Repertoires.create(None)\n self.main.Show()\n self.SetTopWindow... |
#!/usr/bin/env python
#Boa:App:BoaApp
import wx,signal,os,sys
import frm_gestion_Repertoires
modules ={'Frame1': [1, 'Main frame of Application', 'none://frm_gestion_Repertoires.py']}
class BoaApp(wx.App):
def OnInit(self):
self.main =frm_gestion_Repertoires.create(None)
self.main.Show()
... | [
[
1,
0,
0.1818,
0.0455,
0,
0.66,
0,
666,
0,
4,
0,
0,
666,
0,
0
],
[
1,
0,
0.2727,
0.0455,
0,
0.66,
0.2,
303,
0,
1,
0,
0,
303,
0,
0
],
[
14,
0,
0.3636,
0.0455,
0,
0.... | [
"import wx,signal,os,sys",
"import frm_gestion_Repertoires",
"modules ={'Frame1': [1, 'Main frame of Application', 'none://frm_gestion_Repertoires.py']}",
"class BoaApp(wx.App):\n def OnInit(self):\n self.main =frm_gestion_Repertoires.create(None)\n self.main.Show()\n self.SetTopWindow... |
#Boa:Dialog:Dialog1
import wx
def create(parent):
return Dialog1(parent)
[wxID_DIALOG1, wxID_DIALOG1TXT_MDP,
] = [wx.NewId() for _init_ctrls in range(2)]
class Dialog1(wx.Dialog):
def _init_ctrls(self, prnt):
# generated method, don't edit
wx.Dialog.__init__(self, id=wxID_DIALOG1, name='', ... | [
[
1,
0,
0.125,
0.0417,
0,
0.66,
0,
666,
0,
1,
0,
0,
666,
0,
0
],
[
2,
0,
0.2292,
0.0833,
0,
0.66,
0.3333,
316,
0,
1,
1,
0,
0,
0,
1
],
[
13,
1,
0.25,
0.0417,
1,
0.74... | [
"import wx",
"def create(parent):\n return Dialog1(parent)",
" return Dialog1(parent)",
"[wxID_DIALOG1, wxID_DIALOG1TXT_MDP, \n] = [wx.NewId() for _init_ctrls in range(2)]",
"class Dialog1(wx.Dialog):\n def _init_ctrls(self, prnt):\n # generated method, don't edit\n wx.Dialog.__init__... |
#!/usr/bin/python
# -*- coding: UTF-8 -*-
#Boa:Frame:Frame1
#-----------------------------------------------------------------------------
# Name: Class_Serv_IHM
# Purpose: Creation d'un socket a chaque lancement de ABC IHM
# Permet de controler le nombre de programme lancer a 1
# ... | [
[
1,
0,
0.5263,
0.0263,
0,
0.66,
0,
563,
0,
1,
0,
0,
563,
0,
0
],
[
1,
0,
0.5526,
0.0263,
0,
0.66,
0.3333,
509,
0,
4,
0,
0,
509,
0,
0
],
[
3,
0,
0.7237,
0.2632,
0,
... | [
"from asyncore import dispatcher",
"import sys, time, socket, wx",
"class Server( dispatcher ):\n def __init__(self):\n '''On crée un socket sur le port 50001\n si on tente de lancer une autre instance de l'ihm\n le socket empecheras la relance\n ''' \n dispatcher.__init__(self)\n self... |
#Boa:Dialog:Dialog1
# -*- coding: UTF-8 -*-
import wx,base64
import wx.lib.buttons
from subprocess import Popen
def create(parent):
return Dialog1(parent)
[wxID_DIALOG1, wxID_DIALOG1BTN_VALIDER, wxID_DIALOG1LBL_GROUPE,
wxID_DIALOG1LBL_SERVEUR, wxID_DIALOG1TXT_GROUP, wxID_DIALOG1TXT_SERVEUR,
] = [w... | [
[
1,
0,
0.0449,
0.0112,
0,
0.66,
0,
666,
0,
2,
0,
0,
666,
0,
0
],
[
1,
0,
0.0562,
0.0112,
0,
0.66,
0.2,
891,
0,
1,
0,
0,
891,
0,
0
],
[
1,
0,
0.0674,
0.0112,
0,
0.6... | [
"import wx,base64",
"import wx.lib.buttons",
"from subprocess import Popen",
"def create(parent):\n return Dialog1(parent)",
" return Dialog1(parent)",
"[wxID_DIALOG1, wxID_DIALOG1BTN_VALIDER, wxID_DIALOG1LBL_GROUPE, \n wxID_DIALOG1LBL_SERVEUR, wxID_DIALOG1TXT_GROUP, wxID_DIALOG1TXT_SERVEUR, \n] = [... |
# -*- coding: UTF-8 -*-
import os,sys,gettext,warnings
from Class_ABC_XML import XML_ABC
# ------------------------------------------------------------------------------
# --- Internationalisation
# --- la langue par défaut est le français
# ----------------------------------------------------------------------------... | [
[
1,
0,
0.05,
0.0167,
0,
0.66,
0,
688,
0,
4,
0,
0,
688,
0,
0
],
[
1,
0,
0.0667,
0.0167,
0,
0.66,
0.125,
233,
0,
1,
0,
0,
233,
0,
0
],
[
14,
0,
0.1833,
0.0167,
0,
0.... | [
"import os,sys,gettext,warnings",
"from Class_ABC_XML import XML_ABC",
"traduction = {}",
"pathname = os.path.dirname(sys.argv[0])",
"localdir = os.path.abspath(pathname) + \"/locale\"",
"def Create_File():\n \n # --- Initialisations pour le XML ---\n XML = XML_ABC ()\n XML.Create_... |
# -*- coding: UTF-8 -*-
#-----------------------------------------------------------------------------
# Name: Class_ABC_Crypt.py
# Purpose: Classe de cryptage des logs
#
#
# Author: ABCPro
#
# Created: 2007/04/18
# Copyright: (c) 2007
# Licence: <your licence>
#-------------... | [
[
1,
0,
0.1705,
0.0114,
0,
0.66,
0,
688,
0,
5,
0,
0,
688,
0,
0
],
[
4,
0,
0.2102,
0.0455,
0,
0.66,
0.3333,
0,
3,
0,
0,
0,
0,
0,
2
],
[
8,
1,
0.2045,
0.0114,
1,
0.99... | [
"import os,sys,time,datetime,base64",
"if hasattr(sys,\"setdefaultencoding\"):\n sys.setdefaultencoding(\"latin-1\")\nelse:\n pass # site.py did it already for us and everything should work",
" sys.setdefaultencoding(\"latin-1\")",
"Code = {'AOO' : 'Ajout d\\'un repertoire', 'BOO' : 'Suppression d\\'u... |
#!/usr/bin/python
# -*- coding: UTF-8 -*-
#Boa:Frame:Frame1
#-----------------------------------------------------------------------------
# Name: Class_Serv_IHM
# Purpose: Creation d'un socket a chaque lancement de ABC IHM
# Permet de controler le nombre de programme lancer a 1
# ... | [
[
1,
0,
0.5263,
0.0263,
0,
0.66,
0,
563,
0,
1,
0,
0,
563,
0,
0
],
[
1,
0,
0.5526,
0.0263,
0,
0.66,
0.3333,
509,
0,
4,
0,
0,
509,
0,
0
],
[
3,
0,
0.7237,
0.2632,
0,
... | [
"from asyncore import dispatcher",
"import sys, time, socket, wx",
"class Server( dispatcher ):\n def __init__(self):\n '''On crée un socket sur le port 50001\n si on tente de lancer une autre instance de l'ihm\n le socket empecheras la relance\n ''' \n dispatcher.__init__(self)\n self... |
#!/usr/bin/env python
#Boa:App:BoaApp
import wx,signal,os,sys
import frm_gestion_Repertoires
modules ={'Frame1': [1, 'Main frame of Application', 'none://frm_gestion_Repertoires.py']}
class BoaApp(wx.App):
def OnInit(self):
self.main =frm_gestion_Repertoires.create(None)
self.main.Show()
... | [
[
1,
0,
0.1818,
0.0455,
0,
0.66,
0,
666,
0,
4,
0,
0,
666,
0,
0
],
[
1,
0,
0.2727,
0.0455,
0,
0.66,
0.2,
303,
0,
1,
0,
0,
303,
0,
0
],
[
14,
0,
0.3636,
0.0455,
0,
0.... | [
"import wx,signal,os,sys",
"import frm_gestion_Repertoires",
"modules ={'Frame1': [1, 'Main frame of Application', 'none://frm_gestion_Repertoires.py']}",
"class BoaApp(wx.App):\n def OnInit(self):\n self.main =frm_gestion_Repertoires.create(None)\n self.main.Show()\n self.SetTopWindow... |
#Boa:Dialog:Dialog1
import wx
def create(parent):
return Dialog1(parent)
[wxID_DIALOG1, wxID_DIALOG1TXT_MDP,
] = [wx.NewId() for _init_ctrls in range(2)]
class Dialog1(wx.Dialog):
def _init_ctrls(self, prnt):
# generated method, don't edit
wx.Dialog.__init__(self, id=wxID_DIALOG1, name='', ... | [
[
1,
0,
0.125,
0.0417,
0,
0.66,
0,
666,
0,
1,
0,
0,
666,
0,
0
],
[
2,
0,
0.2292,
0.0833,
0,
0.66,
0.3333,
316,
0,
1,
1,
0,
0,
0,
1
],
[
13,
1,
0.25,
0.0417,
1,
0.45... | [
"import wx",
"def create(parent):\n return Dialog1(parent)",
" return Dialog1(parent)",
"[wxID_DIALOG1, wxID_DIALOG1TXT_MDP, \n] = [wx.NewId() for _init_ctrls in range(2)]",
"class Dialog1(wx.Dialog):\n def _init_ctrls(self, prnt):\n # generated method, don't edit\n wx.Dialog.__init__... |
#!/usr/bin/python
# -*- coding: UTF-8 -*-
#Boa:Frame:Frame1
#-----------------------------------------------------------------------------
# Name: Class_Serv_IHM
# Purpose: Creation d'un socket a chaque lancement de ABC IHM
# Permet de controler le nombre de programme lancer a 1
# ... | [
[
1,
0,
0.5263,
0.0263,
0,
0.66,
0,
563,
0,
1,
0,
0,
563,
0,
0
],
[
1,
0,
0.5526,
0.0263,
0,
0.66,
0.3333,
509,
0,
4,
0,
0,
509,
0,
0
],
[
3,
0,
0.7237,
0.2632,
0,
... | [
"from asyncore import dispatcher",
"import sys, time, socket, wx",
"class Server( dispatcher ):\n def __init__(self):\n '''On crée un socket sur le port 50001\n si on tente de lancer une autre instance de l'ihm\n le socket empecheras la relance\n ''' \n dispatcher.__init__(self)\n self... |
#Boa:Dialog:Dialog1
# -*- coding: UTF-8 -*-
import wx,base64
import wx.lib.buttons
from subprocess import Popen
def create(parent):
return Dialog1(parent)
[wxID_DIALOG1, wxID_DIALOG1BTN_VALIDER, wxID_DIALOG1LBL_GROUPE,
wxID_DIALOG1LBL_SERVEUR, wxID_DIALOG1TXT_GROUP, wxID_DIALOG1TXT_SERVEUR,
] = [wx.NewId() fo... | [
[
1,
0,
0.0449,
0.0112,
0,
0.66,
0,
666,
0,
2,
0,
0,
666,
0,
0
],
[
1,
0,
0.0562,
0.0112,
0,
0.66,
0.2,
891,
0,
1,
0,
0,
891,
0,
0
],
[
1,
0,
0.0674,
0.0112,
0,
0.6... | [
"import wx,base64",
"import wx.lib.buttons",
"from subprocess import Popen",
"def create(parent):\n return Dialog1(parent)",
" return Dialog1(parent)",
"[wxID_DIALOG1, wxID_DIALOG1BTN_VALIDER, wxID_DIALOG1LBL_GROUPE, \n wxID_DIALOG1LBL_SERVEUR, wxID_DIALOG1TXT_GROUP, wxID_DIALOG1TXT_SERVEUR, \n] = [... |
# -*- coding: UTF-8 -*-
#-----------------------------------------------------------------------------
# Name: Class_ABC_Crypt.py
# Purpose: Classe de cryptage des logs
#
#
# Author: ABCPro
#
# Created: 2007/04/18
# Copyright: (c) 2007
# Licence: <your licence>
#-------------... | [
[
1,
0,
0.2206,
0.0147,
0,
0.66,
0,
688,
0,
5,
0,
0,
688,
0,
0
],
[
4,
0,
0.2721,
0.0588,
0,
0.66,
0.5,
0,
3,
0,
0,
0,
0,
0,
2
],
[
8,
1,
0.2647,
0.0147,
1,
0.92,
... | [
"import os,sys,time,datetime,base64",
"if hasattr(sys,\"setdefaultencoding\"):\n sys.setdefaultencoding(\"latin-1\")\nelse:\n pass # site.py did it already for us and everything should work",
" sys.setdefaultencoding(\"latin-1\")",
"class ABC_Crypt :\n \n \n \n\n def Crypt (self,text):\n ... |
#!/usr/bin/env python
#Boa:App:BoaApp
import wx,signal,os,sys
import frm_gestion_Repertoires
modules ={'Frame1': [1, 'Main frame of Application', 'none://frm_gestion_Repertoires.py']}
class BoaApp(wx.App):
def OnInit(self):
self.main =frm_gestion_Repertoires.create(None)
self.main.Show()
... | [
[
1,
0,
0.1818,
0.0455,
0,
0.66,
0,
666,
0,
4,
0,
0,
666,
0,
0
],
[
1,
0,
0.2727,
0.0455,
0,
0.66,
0.2,
303,
0,
1,
0,
0,
303,
0,
0
],
[
14,
0,
0.3636,
0.0455,
0,
0.... | [
"import wx,signal,os,sys",
"import frm_gestion_Repertoires",
"modules ={'Frame1': [1, 'Main frame of Application', 'none://frm_gestion_Repertoires.py']}",
"class BoaApp(wx.App):\n def OnInit(self):\n self.main =frm_gestion_Repertoires.create(None)\n self.main.Show()\n self.SetTopWindow... |
from distutils.core import setup
import py2exe
class Target:
def __init__(self, **kw):
self.__dict__.update(kw)
# for the versioninfo resources
self.version = "1.0"
self.company_name = "NumeriPlus"
self.copyright = "copyright 2008"
self.name = "NBS synchr... | [
[
1,
0,
0.0385,
0.0385,
0,
0.66,
0,
152,
0,
1,
0,
0,
152,
0,
0
],
[
1,
0,
0.0769,
0.0385,
0,
0.66,
0.25,
768,
0,
1,
0,
0,
768,
0,
0
],
[
3,
0,
0.3269,
0.3077,
0,
0.... | [
"from distutils.core import setup",
"import py2exe",
"class Target:\n def __init__(self, **kw):\n self.__dict__.update(kw)\n # for the versioninfo resources\n self.version = \"1.0\"\n self.company_name = \"NumeriPlus\"\n self.copyright = \"copyright 2008\"\n self.nam... |
#!/usr/bin/env python
#Boa:App:BoaApp
import wx
import NBS_Backup_IHM
modules ={u'NBS_Backup_IHM': [1, 'Main frame of Application', u'NBS_Backup_IHM.py']}
class BoaApp(wx.App):
def OnInit(self):
self.main = NBS_Backup_IHM.create(None)
frameicon = wx.Icon("./img/icone.ico", wx.BITMAP_... | [
[
1,
0,
0.1667,
0.0417,
0,
0.66,
0,
666,
0,
1,
0,
0,
666,
0,
0
],
[
1,
0,
0.25,
0.0417,
0,
0.66,
0.2,
590,
0,
1,
0,
0,
590,
0,
0
],
[
14,
0,
0.3333,
0.0417,
0,
0.66... | [
"import wx",
"import NBS_Backup_IHM",
"modules ={u'NBS_Backup_IHM': [1, 'Main frame of Application', u'NBS_Backup_IHM.py']}",
"class BoaApp(wx.App):\n def OnInit(self):\n self.main = NBS_Backup_IHM.create(None)\n frameicon = wx.Icon(\"./img/icone.ico\", wx.BITMAP_TYPE_ICO)\n #self.main... |
from distutils.core import setup
import py2exe
"""
setup(
options = {"py2exe": {"compressed": 1, "optimize": 0, "bundle_files": 1, } },
zipfile = None,
windows=["ABC_ihm.py"]
)
"""
setup(zipfile = None,
windows = [{"script": "NBS_ihm.py",
"icon_resources": [(1, "icone.ico")]... | [
[
1,
0,
0.0909,
0.0455,
0,
0.66,
0,
152,
0,
1,
0,
0,
152,
0,
0
],
[
1,
0,
0.1364,
0.0455,
0,
0.66,
0.3333,
768,
0,
1,
0,
0,
768,
0,
0
],
[
8,
0,
0.3864,
0.3636,
0,
... | [
"from distutils.core import setup",
"import py2exe",
"\"\"\"\nsetup(\n options = {\"py2exe\": {\"compressed\": 1, \"optimize\": 0, \"bundle_files\": 1, } },\n zipfile = None,\n windows=[\"ABC_ihm.py\"]\n\n )\n\"\"\"",
"setup(zipfile = None,\n windows = [{\"script\": \"NBS_ihm.py\",\n \"ico... |
#!/usr/bin/env python
#Boa:App:BoaApp
import wx
import NBS_Backup_IHM
modules ={u'NBS_Backup_IHM': [1, 'Main frame of Application', u'NBS_Backup_IHM.py']}
class BoaApp(wx.App):
def OnInit(self):
self.main = NBS_Backup_IHM.create(None)
frameicon = wx.Icon("./img/icone.ico", wx.BITMAP_... | [
[
1,
0,
0.1667,
0.0417,
0,
0.66,
0,
666,
0,
1,
0,
0,
666,
0,
0
],
[
1,
0,
0.25,
0.0417,
0,
0.66,
0.2,
590,
0,
1,
0,
0,
590,
0,
0
],
[
14,
0,
0.3333,
0.0417,
0,
0.66... | [
"import wx",
"import NBS_Backup_IHM",
"modules ={u'NBS_Backup_IHM': [1, 'Main frame of Application', u'NBS_Backup_IHM.py']}",
"class BoaApp(wx.App):\n def OnInit(self):\n self.main = NBS_Backup_IHM.create(None)\n frameicon = wx.Icon(\"./img/icone.ico\", wx.BITMAP_TYPE_ICO)\n #self.main... |
from distutils.core import setup
import py2exe
"""
setup(
options = {"py2exe": {"compressed": 1, "optimize": 0, "bundle_files": 1, } },
zipfile = None,
windows=["ABC_ihm.py"]
)
"""
setup(zipfile = None,
windows = [{"script": "NBS_ihm.py",
"icon_resources": [(1, "icone.ico")]... | [
[
1,
0,
0.0909,
0.0455,
0,
0.66,
0,
152,
0,
1,
0,
0,
152,
0,
0
],
[
1,
0,
0.1364,
0.0455,
0,
0.66,
0.3333,
768,
0,
1,
0,
0,
768,
0,
0
],
[
8,
0,
0.3864,
0.3636,
0,
... | [
"from distutils.core import setup",
"import py2exe",
"\"\"\"\nsetup(\n options = {\"py2exe\": {\"compressed\": 1, \"optimize\": 0, \"bundle_files\": 1, } },\n zipfile = None,\n windows=[\"ABC_ihm.py\"]\n\n )\n\"\"\"",
"setup(zipfile = None,\n windows = [{\"script\": \"NBS_ihm.py\",\n \"ico... |
# -*- coding: UTF-8 -*-
import os,sys,gettext,warnings
from Class_ABC_XML import XML_ABC
# ------------------------------------------------------------------------------
# --- Internationalisation
# --- la langue par défaut est le français
# --------------------------------------------------------------------... | [
[
1,
0,
0.05,
0.0167,
0,
0.66,
0,
688,
0,
4,
0,
0,
688,
0,
0
],
[
1,
0,
0.0667,
0.0167,
0,
0.66,
0.125,
233,
0,
1,
0,
0,
233,
0,
0
],
[
14,
0,
0.1833,
0.0167,
0,
0.... | [
"import os,sys,gettext,warnings",
"from Class_ABC_XML import XML_ABC",
"traduction = {}",
"pathname = os.path.dirname(sys.argv[0])",
"localdir = os.path.abspath(pathname) + \"/locale\"",
"def Create_File():\n \n # --- Initialisations pour le XML ---\n XML = XML_ABC ()\n XML.Create_... |
from distutils.core import setup
import py2app
py2app_options=dict(
iconfile='icone.icns',
)
setup(
app=["NBS.py"],
setup_requires=["py2app"],
options=dict(
py2app=py2app_options,
)
)
| [
[
1,
0,
0.0714,
0.0714,
0,
0.66,
0,
152,
0,
1,
0,
0,
152,
0,
0
],
[
1,
0,
0.1429,
0.0714,
0,
0.66,
0.3333,
294,
0,
1,
0,
0,
294,
0,
0
],
[
14,
0,
0.3571,
0.2143,
0,
... | [
"from distutils.core import setup",
"import py2app",
"py2app_options=dict(\n iconfile='icone.icns',\n)",
"setup(\n app=[\"NBS.py\"],\n setup_requires=[\"py2app\"],\n options=dict(\n py2app=py2app_options,\n )\n\n)"
] |
# -*- coding: UTF-8 -*-
#-----------------------------------------------------------------------------
# Name: Class_ABC_Crypt.py
# Purpose: Classe de cryptage des logs
#
#
# Author: ABCPro
#
# Created: 2007/04/18
# Copyright: (c) 2007
# Licence: <your licence>
#-... | [
[
1,
0,
0.2206,
0.0147,
0,
0.66,
0,
688,
0,
5,
0,
0,
688,
0,
0
],
[
4,
0,
0.2721,
0.0588,
0,
0.66,
0.5,
0,
3,
0,
0,
0,
0,
0,
2
],
[
8,
1,
0.2647,
0.0147,
1,
0,
... | [
"import os,sys,time,datetime,base64",
"if hasattr(sys,\"setdefaultencoding\"):\n sys.setdefaultencoding(\"latin-1\")\nelse:\n pass # site.py did it already for us and everything should work",
" sys.setdefaultencoding(\"latin-1\")",
"class ABC_Crypt :\n \n \n \n\n def Crypt (self,text):\n ... |
#!/usr/bin/python
# -*- coding: UTF-8 -*-
#Boa:Frame:Frame1
#-----------------------------------------------------------------------------
# Name: Class_Serv_IHM
# Purpose: Creation d'un socket a chaque lancement de ABC IHM
# Permet de controler le nombre de programme lancer a 1
# ... | [
[
1,
0,
0.5263,
0.0263,
0,
0.66,
0,
563,
0,
1,
0,
0,
563,
0,
0
],
[
1,
0,
0.5526,
0.0263,
0,
0.66,
0.3333,
509,
0,
4,
0,
0,
509,
0,
0
],
[
3,
0,
0.7237,
0.2632,
0,
... | [
"from asyncore import dispatcher",
"import sys, time, socket, wx",
"class Server( dispatcher ):\n def __init__(self):\n '''On crée un socket sur le port 50001\n si on tente de lancer une autre instance de l'ihm\n le socket empecheras la relance\n ''' \n dispatcher.__init__(self)\n self... |
#!/usr/bin/env python
#Boa:App:BoaApp
import wx,signal,os,sys
import frm_gestion_Repertoires
modules ={'Frame1': [1, 'Main frame of Application', 'none://frm_gestion_Repertoires.py']}
class BoaApp(wx.App):
def OnInit(self):
self.main =frm_gestion_Repertoires.create(None)
self.main.Show()
... | [
[
1,
0,
0.1818,
0.0455,
0,
0.66,
0,
666,
0,
4,
0,
0,
666,
0,
0
],
[
1,
0,
0.2727,
0.0455,
0,
0.66,
0.2,
303,
0,
1,
0,
0,
303,
0,
0
],
[
14,
0,
0.3636,
0.0455,
0,
0.... | [
"import wx,signal,os,sys",
"import frm_gestion_Repertoires",
"modules ={'Frame1': [1, 'Main frame of Application', 'none://frm_gestion_Repertoires.py']}",
"class BoaApp(wx.App):\n def OnInit(self):\n self.main =frm_gestion_Repertoires.create(None)\n self.main.Show()\n self.SetTopWindow... |
#!/usr/bin/env python
#Boa:App:BoaApp
import wx,signal,os,sys
import frm_gestion_Repertoires
modules ={'Frame1': [1, 'Main frame of Application', 'none://frm_gestion_Repertoires.py']}
class BoaApp(wx.App):
def OnInit(self):
self.main =frm_gestion_Repertoires.create(None)
self.main.Show()
... | [
[
1,
0,
0.1818,
0.0455,
0,
0.66,
0,
666,
0,
4,
0,
0,
666,
0,
0
],
[
1,
0,
0.2727,
0.0455,
0,
0.66,
0.2,
303,
0,
1,
0,
0,
303,
0,
0
],
[
14,
0,
0.3636,
0.0455,
0,
0.... | [
"import wx,signal,os,sys",
"import frm_gestion_Repertoires",
"modules ={'Frame1': [1, 'Main frame of Application', 'none://frm_gestion_Repertoires.py']}",
"class BoaApp(wx.App):\n def OnInit(self):\n self.main =frm_gestion_Repertoires.create(None)\n self.main.Show()\n self.SetTopWindow... |
#Boa:Dialog:Dialog1
import wx
def create(parent):
return Dialog1(parent)
[wxID_DIALOG1, wxID_DIALOG1TXT_MDP,
] = [wx.NewId() for _init_ctrls in range(2)]
class Dialog1(wx.Dialog):
def _init_ctrls(self, prnt):
# generated method, don't edit
wx.Dialog.__init__(self, id=wxID_DIALOG1, name='', ... | [
[
1,
0,
0.125,
0.0417,
0,
0.66,
0,
666,
0,
1,
0,
0,
666,
0,
0
],
[
2,
0,
0.2292,
0.0833,
0,
0.66,
0.3333,
316,
0,
1,
1,
0,
0,
0,
1
],
[
13,
1,
0.25,
0.0417,
1,
0.72... | [
"import wx",
"def create(parent):\n return Dialog1(parent)",
" return Dialog1(parent)",
"[wxID_DIALOG1, wxID_DIALOG1TXT_MDP, \n] = [wx.NewId() for _init_ctrls in range(2)]",
"class Dialog1(wx.Dialog):\n def _init_ctrls(self, prnt):\n # generated method, don't edit\n wx.Dialog.__init__... |
#!/usr/bin/python
# -*- coding: UTF-8 -*-
#Boa:Frame:Frame1
#-----------------------------------------------------------------------------
# Name: Class_Serv_IHM
# Purpose: Creation d'un socket a chaque lancement de ABC IHM
# Permet de controler le nombre de programme lancer a 1
# ... | [
[
1,
0,
0.5263,
0.0263,
0,
0.66,
0,
563,
0,
1,
0,
0,
563,
0,
0
],
[
1,
0,
0.5526,
0.0263,
0,
0.66,
0.3333,
509,
0,
4,
0,
0,
509,
0,
0
],
[
3,
0,
0.7237,
0.2632,
0,
... | [
"from asyncore import dispatcher",
"import sys, time, socket, wx",
"class Server( dispatcher ):\n def __init__(self):\n '''On crée un socket sur le port 50001\n si on tente de lancer une autre instance de l'ihm\n le socket empecheras la relance\n ''' \n dispatcher.__init__(self)\n self... |
#Boa:Dialog:Dialog1
# -*- coding: UTF-8 -*-
import wx,base64
import wx.lib.buttons
from subprocess import Popen
def create(parent):
return Dialog1(parent)
[wxID_DIALOG1, wxID_DIALOG1BTN_VALIDER, wxID_DIALOG1LBL_GROUPE,
wxID_DIALOG1LBL_SERVEUR, wxID_DIALOG1TXT_GROUP, wxID_DIALOG1TXT_SERVEUR,
] = [w... | [
[
1,
0,
0.0449,
0.0112,
0,
0.66,
0,
666,
0,
2,
0,
0,
666,
0,
0
],
[
1,
0,
0.0562,
0.0112,
0,
0.66,
0.2,
891,
0,
1,
0,
0,
891,
0,
0
],
[
1,
0,
0.0674,
0.0112,
0,
0.6... | [
"import wx,base64",
"import wx.lib.buttons",
"from subprocess import Popen",
"def create(parent):\n return Dialog1(parent)",
" return Dialog1(parent)",
"[wxID_DIALOG1, wxID_DIALOG1BTN_VALIDER, wxID_DIALOG1LBL_GROUPE, \n wxID_DIALOG1LBL_SERVEUR, wxID_DIALOG1TXT_GROUP, wxID_DIALOG1TXT_SERVEUR, \n] = [... |
#!/usr/bin/env python
#Boa:App:BoaApp
import wx
import NBS_Backup_IHM
modules ={u'NBS_Backup_IHM': [1, 'Main frame of Application', u'ABC_Backup_IHM.py']}
class BoaApp(wx.App):
def OnInit(self):
self.main = NBS_Backup_IHM.create(None)
frameicon = wx.Icon("./img/icone.ico", wx.BITMAP_... | [
[
1,
0,
0.1667,
0.0417,
0,
0.66,
0,
666,
0,
1,
0,
0,
666,
0,
0
],
[
1,
0,
0.25,
0.0417,
0,
0.66,
0.2,
590,
0,
1,
0,
0,
590,
0,
0
],
[
14,
0,
0.3333,
0.0417,
0,
0.66... | [
"import wx",
"import NBS_Backup_IHM",
"modules ={u'NBS_Backup_IHM': [1, 'Main frame of Application', u'ABC_Backup_IHM.py']}",
"class BoaApp(wx.App):\n def OnInit(self):\n self.main = NBS_Backup_IHM.create(None)\n frameicon = wx.Icon(\"./img/icone.ico\", wx.BITMAP_TYPE_ICO)\n #self.main... |
#!/usr/bin/env python
#Boa:App:BoaApp
import wx
import ABC_Backup_IHM
modules ={u'ABC_Backup_IHM': [1, 'Main frame of Application', u'ABC_Backup_IHM.py']}
class BoaApp(wx.App):
def OnInit(self):
self.main = ABC_Backup_IHM.create(None)
self.main.Show()
self.SetTopWindow(self.... | [
[
1,
0,
0.1818,
0.0455,
0,
0.66,
0,
666,
0,
1,
0,
0,
666,
0,
0
],
[
1,
0,
0.2727,
0.0455,
0,
0.66,
0.2,
760,
0,
1,
0,
0,
760,
0,
0
],
[
14,
0,
0.3636,
0.0455,
0,
0.... | [
"import wx",
"import ABC_Backup_IHM",
"modules ={u'ABC_Backup_IHM': [1, 'Main frame of Application', u'ABC_Backup_IHM.py']}",
"class BoaApp(wx.App):\n def OnInit(self):\n self.main = ABC_Backup_IHM.create(None)\n self.main.Show()\n self.SetTopWindow(self.main)\n return True",
... |
from distutils.core import setup
import py2exe
"""
setup(
options = {"py2exe": {"compressed": 1, "optimize": 0, "bundle_files": 1, } },
zipfile = None,
windows=["ABC_ihm.py"]
)
"""
setup(zipfile = None,
windows = [{"script": "NBS_ihm.py",
"icon_resources": [(1, "icone.ico")]... | [
[
1,
0,
0.0909,
0.0455,
0,
0.66,
0,
152,
0,
1,
0,
0,
152,
0,
0
],
[
1,
0,
0.1364,
0.0455,
0,
0.66,
0.3333,
768,
0,
1,
0,
0,
768,
0,
0
],
[
8,
0,
0.3864,
0.3636,
0,
... | [
"from distutils.core import setup",
"import py2exe",
"\"\"\"\nsetup(\n options = {\"py2exe\": {\"compressed\": 1, \"optimize\": 0, \"bundle_files\": 1, } },\n zipfile = None,\n windows=[\"ABC_ihm.py\"]\n\n )\n\"\"\"",
"setup(zipfile = None,\n windows = [{\"script\": \"NBS_ihm.py\",\n \"ico... |
#!/usr/bin/env python
#Boa:App:BoaApp
import wx
import NBS_Backup_IHM
modules ={u'NBS_Backup_IHM': [1, 'Main frame of Application', u'ABC_Backup_IHM.py']}
class BoaApp(wx.App):
def OnInit(self):
self.main = NBS_Backup_IHM.create(None)
frameicon = wx.Icon("./img/icone.ico", wx.BITMAP_... | [
[
1,
0,
0.1667,
0.0417,
0,
0.66,
0,
666,
0,
1,
0,
0,
666,
0,
0
],
[
1,
0,
0.25,
0.0417,
0,
0.66,
0.2,
590,
0,
1,
0,
0,
590,
0,
0
],
[
14,
0,
0.3333,
0.0417,
0,
0.66... | [
"import wx",
"import NBS_Backup_IHM",
"modules ={u'NBS_Backup_IHM': [1, 'Main frame of Application', u'ABC_Backup_IHM.py']}",
"class BoaApp(wx.App):\n def OnInit(self):\n self.main = NBS_Backup_IHM.create(None)\n frameicon = wx.Icon(\"./img/icone.ico\", wx.BITMAP_TYPE_ICO)\n #self.main... |
#!/usr/bin/env python
#Boa:App:BoaApp
import wx
import ABC_Backup_IHM
modules ={u'ABC_Backup_IHM': [1, 'Main frame of Application', u'ABC_Backup_IHM.py']}
class BoaApp(wx.App):
def OnInit(self):
self.main = ABC_Backup_IHM.create(None)
self.main.Show()
self.SetTopWindow(self.... | [
[
1,
0,
0.1818,
0.0455,
0,
0.66,
0,
666,
0,
1,
0,
0,
666,
0,
0
],
[
1,
0,
0.2727,
0.0455,
0,
0.66,
0.2,
760,
0,
1,
0,
0,
760,
0,
0
],
[
14,
0,
0.3636,
0.0455,
0,
0.... | [
"import wx",
"import ABC_Backup_IHM",
"modules ={u'ABC_Backup_IHM': [1, 'Main frame of Application', u'ABC_Backup_IHM.py']}",
"class BoaApp(wx.App):\n def OnInit(self):\n self.main = ABC_Backup_IHM.create(None)\n self.main.Show()\n self.SetTopWindow(self.main)\n return True",
... |
from distutils.core import setup
import py2exe
"""
setup(
options = {"py2exe": {"compressed": 1, "optimize": 0, "bundle_files": 1, } },
zipfile = None,
windows=["ABC_ihm.py"]
)
"""
setup(zipfile = None,
windows = [{"script": "NBS.py"}],
name='NBS shell exec',
descriptio... | [
[
1,
0,
0.0952,
0.0476,
0,
0.66,
0,
152,
0,
1,
0,
0,
152,
0,
0
],
[
1,
0,
0.1429,
0.0476,
0,
0.66,
0.3333,
768,
0,
1,
0,
0,
768,
0,
0
],
[
8,
0,
0.4048,
0.381,
0,
0... | [
"from distutils.core import setup",
"import py2exe",
"\"\"\"\nsetup(\n options = {\"py2exe\": {\"compressed\": 1, \"optimize\": 0, \"bundle_files\": 1, } },\n zipfile = None,\n windows=[\"ABC_ihm.py\"]\n\n )\n\"\"\"",
"setup(zipfile = None,\n windows = [{\"script\": \"NBS.py\"}],\n name='N... |
#-----------------------------------------------------------------------------
# Name: Class_ABC_Crypt.py
# Purpose: Classe de cryptage des logs
#
#
# Author: ABCPro
#
# Created: 2007/04/18
# Copyright: (c) 2007
# Licence: <your licence>
#----------------------------... | [
[
1,
0,
0.3171,
0.0244,
0,
0.66,
0,
688,
0,
5,
0,
0,
688,
0,
0
],
[
3,
0,
0.6707,
0.6341,
0,
0.66,
1,
850,
0,
3,
0,
0,
0,
0,
13
],
[
2,
1,
0.5488,
0.1463,
1,
0.26,
... | [
"import os,sys,time,datetime,base64",
"class ABC_Crypt :\n \n \n \n\n def Crypt (self,text):\n t = time.localtime(time.time())\n Hour = time.strftime(\"%d-%B-%Y %H:%M:%S\", t) #Date et heure",
" def Crypt (self,text):\n t = time.localtime(time.time())\n Hour = time.strftime(\"... |
#!/usr/bin/python
# -*- coding: iso-8859-1 -*-
from asyncore import dispatcher
import sys, time, socket
class Server( dispatcher ):
def __init__(self):
dispatcher.__init__(self)
self.create_socket( socket.AF_INET, socket.SOCK_STREAM )
self.bind( ( '', 50000 ) )
self.listen(1)
try:
... | [
[
1,
0,
0.2105,
0.0526,
0,
0.66,
0,
563,
0,
1,
0,
0,
563,
0,
0
],
[
1,
0,
0.2632,
0.0526,
0,
0.66,
0.3333,
509,
0,
3,
0,
0,
509,
0,
0
],
[
3,
0,
0.5,
0.3158,
0,
0.6... | [
"from asyncore import dispatcher",
"import sys, time, socket",
"class Server( dispatcher ):\n def __init__(self):\n dispatcher.__init__(self)\n self.create_socket( socket.AF_INET, socket.SOCK_STREAM )\n self.bind( ( '', 50000 ) )\n self.listen(1)",
" def __init__(self):\n dispatcher.__init__(... |
from distutils.core import setup
import py2exe
"""
setup(
options = {"py2exe": {"compressed": 1, "optimize": 0, "bundle_files": 1, } },
zipfile = None,
windows=["ABC_ihm.py"]
)
"""
setup(zipfile = None,
windows = [{"script": "NBSSurv.py",}],
name='NBS Surv',
description... | [
[
1,
0,
0.0952,
0.0476,
0,
0.66,
0,
152,
0,
1,
0,
0,
152,
0,
0
],
[
1,
0,
0.1429,
0.0476,
0,
0.66,
0.3333,
768,
0,
1,
0,
0,
768,
0,
0
],
[
8,
0,
0.4048,
0.381,
0,
0... | [
"from distutils.core import setup",
"import py2exe",
"\"\"\"\nsetup(\n options = {\"py2exe\": {\"compressed\": 1, \"optimize\": 0, \"bundle_files\": 1, } },\n zipfile = None,\n windows=[\"ABC_ihm.py\"]\n\n )\n\"\"\"",
"setup(zipfile = None,\n windows = [{\"script\": \"NBSSurv.py\",}],\n na... |
#!/usr/bin/python
# -*- coding: iso-8859-1 -*-
from asyncore import dispatcher
import sys, time, socket
class Server( dispatcher ):
def __init__(self):
dispatcher.__init__(self)
self.create_socket( socket.AF_INET, socket.SOCK_STREAM )
self.bind( ( '', 50000 ) )
self.listen(1)
try:
... | [
[
1,
0,
0.2105,
0.0526,
0,
0.66,
0,
563,
0,
1,
0,
0,
563,
0,
0
],
[
1,
0,
0.2632,
0.0526,
0,
0.66,
0.3333,
509,
0,
3,
0,
0,
509,
0,
0
],
[
3,
0,
0.5,
0.3158,
0,
0.6... | [
"from asyncore import dispatcher",
"import sys, time, socket",
"class Server( dispatcher ):\n def __init__(self):\n dispatcher.__init__(self)\n self.create_socket( socket.AF_INET, socket.SOCK_STREAM )\n self.bind( ( '', 50000 ) )\n self.listen(1)",
" def __init__(self):\n dispatcher.__init__(... |
# This is Python example on how to use Mongoose embeddable web server,
# http://code.google.com/p/mongoose
#
# Before using the mongoose module, make sure that Mongoose shared library is
# built and present in the current (or system library) directory
import mongoose
import sys
# Handle /show and /form URIs.
def Even... | [
[
1,
0,
0.1129,
0.0161,
0,
0.66,
0,
755,
0,
1,
0,
0,
755,
0,
0
],
[
1,
0,
0.129,
0.0161,
0,
0.66,
0.1667,
509,
0,
1,
0,
0,
509,
0,
0
],
[
2,
0,
0.4597,
0.5806,
0,
0... | [
"import mongoose",
"import sys",
"def EventHandler(event, conn, info):\n if event == mongoose.HTTP_ERROR:\n conn.printf('%s', 'HTTP/1.0 200 OK\\r\\n')\n conn.printf('%s', 'Content-Type: text/plain\\r\\n\\r\\n')\n conn.printf('HTTP error: %d\\n', info.status_code)\n return True\n ... |
# Copyright (c) 2004-2009 Sergey Lyubka
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publ... | [
[
8,
0,
0.1855,
0.0881,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.2453,
0.0063,
0,
0.66,
0.0909,
182,
0,
1,
0,
0,
182,
0,
0
],
[
1,
0,
0.2516,
0.0063,
0,
0.66... | [
"\"\"\"\nThis module provides python binding for the Mongoose web server.\n\nThere are two classes defined:\n\n Connection: - wraps all functions that accept struct mg_connection pointer\n as first argument.",
"import ctypes",
"import os",
"NEW_REQUEST = 0",
"HTTP_ERROR = 1",
"EVENT_LOG = 2",
"INIT_... |
#!/usr/bin/env python
import time
t = time.time()
u = time.gmtime(t)
s = time.strftime('%a, %e %b %Y %T GMT', u)
print 'Content-Type: text/javascript'
print 'Cache-Control: no-cache'
print 'Date: ' + s
print 'Expires: ' + s
print ''
print 'var timeskew = new Date().getTime() - ' + str(t*1000) + ';'
| [
[
1,
0,
0.1818,
0.0909,
0,
0.66,
0,
654,
0,
1,
0,
0,
654,
0,
0
],
[
14,
0,
0.2727,
0.0909,
0,
0.66,
0.1111,
15,
3,
0,
0,
0,
654,
10,
1
],
[
14,
0,
0.3636,
0.0909,
0,
... | [
"import time",
"t = time.time()",
"u = time.gmtime(t)",
"s = time.strftime('%a, %e %b %Y %T GMT', u)",
"print('Content-Type: text/javascript')",
"print('Cache-Control: no-cache')",
"print('Date: ' + s)",
"print('Expires: ' + s)",
"print('')",
"print('var timeskew = new Date().getTime() - ' + str(t... |
#!/usr/bin/env python
import time
t = time.time()
u = time.gmtime(t)
s = time.strftime('%a, %e %b %Y %T GMT', u)
print 'Content-Type: text/javascript'
print 'Cache-Control: no-cache'
print 'Date: ' + s
print 'Expires: ' + s
print ''
print 'var timeskew = new Date().getTime() - ' + str(t*1000) + ';'
| [
[
1,
0,
0.1818,
0.0909,
0,
0.66,
0,
654,
0,
1,
0,
0,
654,
0,
0
],
[
14,
0,
0.2727,
0.0909,
0,
0.66,
0.1111,
15,
3,
0,
0,
0,
654,
10,
1
],
[
14,
0,
0.3636,
0.0909,
0,
... | [
"import time",
"t = time.time()",
"u = time.gmtime(t)",
"s = time.strftime('%a, %e %b %Y %T GMT', u)",
"print('Content-Type: text/javascript')",
"print('Cache-Control: no-cache')",
"print('Date: ' + s)",
"print('Expires: ' + s)",
"print('')",
"print('var timeskew = new Date().getTime() - ' + str(t... |
import sys, re
css = open( sys.argv[1] , 'r' ).read()
# remove comments - this will break a lot of hacks :-P
css = re.sub( r'\s*/\*\s*\*/', "$$HACK1$$", css ) # preserve IE<6 comment hack
css = re.sub( r'/\*[\s\S]*?\*/', "", css )
css = css.replace( "$$HACK1$$", '/**/' ) # preserve IE<6 comment hack
# url() doesn't ... | [
[
1,
0,
0.027,
0.027,
0,
0.66,
0,
509,
0,
2,
0,
0,
509,
0,
0
],
[
14,
0,
0.0811,
0.027,
0,
0.66,
0.1111,
389,
3,
0,
0,
0,
453,
10,
2
],
[
14,
0,
0.1622,
0.027,
0,
0... | [
"import sys, re",
"css = open( sys.argv[1] , 'r' ).read()",
"css = re.sub( r'\\s*/\\*\\s*\\*/', \"$$HACK1$$\", css ) # preserve IE<6 comment hack",
"css = re.sub( r'/\\*[\\s\\S]*?\\*/', \"\", css )",
"css = css.replace( \"$$HACK1$$\", '/**/' ) # preserve IE<6 comment hack",
"css = re.sub( r'url\\(([\"\\']... |
#!/usr/bin/python
import unittest
import lcm
class TestLcmMemq(unittest.TestCase):
def test_timeout(self):
lcm_obj = lcm.LCM("memq://")
# No messages available, timeout 0.
self.assertEqual(0, lcm_obj.handle_timeout(0))
# No messages available, short timeout.
self.assertEq... | [
[
1,
0,
0.0488,
0.0244,
0,
0.66,
0,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.0976,
0.0244,
0,
0.66,
0.25,
273,
0,
1,
0,
0,
273,
0,
0
],
[
3,
0,
0.5,
0.7317,
0,
0.66,
... | [
"import unittest",
"import lcm",
"class TestLcmMemq(unittest.TestCase):\n def test_timeout(self):\n lcm_obj = lcm.LCM(\"memq://\")\n\n # No messages available, timeout 0.\n self.assertEqual(0, lcm_obj.handle_timeout(0))\n\n # No messages available, short timeout.",
" def test... |
#!/usr/bin/python
import os
import random
import tempfile
import unittest
import lcm
import client
class TestLcmFile(unittest.TestCase):
def setUp(self):
# tempfile.mktemp() is deprecated, so make our own random filename :-/
self.log_filename = os.path.join(tempfile.gettempdir(),
"lcm_... | [
[
1,
0,
0.0364,
0.0182,
0,
0.66,
0,
688,
0,
1,
0,
0,
688,
0,
0
],
[
1,
0,
0.0545,
0.0182,
0,
0.66,
0.125,
715,
0,
1,
0,
0,
715,
0,
0
],
[
1,
0,
0.0727,
0.0182,
0,
0... | [
"import os",
"import random",
"import tempfile",
"import unittest",
"import lcm",
"import client",
"class TestLcmFile(unittest.TestCase):\n def setUp(self):\n # tempfile.mktemp() is deprecated, so make our own random filename :-/\n self.log_filename = os.path.join(tempfile.gettempdir(),... |
#!/usr/bin/python
import unittest
import lcmtest
class TestBools(unittest.TestCase):
def test_bool(self):
"""Encode a bools_t message, then verify that it decodes correctly.
Also check that the decoded fields are all of type bool.
"""
msg = lcmtest.bools_t()
msg.one_bool =... | [
[
1,
0,
0.04,
0.02,
0,
0.66,
0,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.08,
0.02,
0,
0.66,
0.3333,
304,
0,
1,
0,
0,
304,
0,
0
],
[
3,
0,
0.52,
0.82,
0,
0.66,
0.66... | [
"import unittest",
"import lcmtest",
"class TestBools(unittest.TestCase):\n\n def test_bool(self):\n \"\"\"Encode a bools_t message, then verify that it decodes correctly.\n Also check that the decoded fields are all of type bool.\n \"\"\"\n msg = lcmtest.bools_t()\n msg.on... |
import sys
import time
import array
import random
import select
import lcm
import lcmtest
import lcmtest2
def _lcm_handle_timeout(lc, ms):
try:
rfds, wfds, efds = select.select([lc.fileno()], [], [], ms * 1e-3)
if rfds:
lc.handle()
return True
return False
exce... | [
[
1,
0,
0.0031,
0.0031,
0,
0.66,
0,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.0062,
0.0031,
0,
0.66,
0.05,
654,
0,
1,
0,
0,
654,
0,
0
],
[
1,
0,
0.0093,
0.0031,
0,
0.... | [
"import sys",
"import time",
"import array",
"import random",
"import select",
"import lcm",
"import lcmtest",
"import lcmtest2",
"def _lcm_handle_timeout(lc, ms):\n try:\n rfds, wfds, efds = select.select([lc.fileno()], [], [], ms * 1e-3)\n if rfds:\n lc.handle()\n ... |
#!/usr/bin/python
import threading
import time
import unittest
import lcm
class TestLcmThreads(unittest.TestCase):
def test_handle_and_publish(self):
"""Worker thread calls LCM.handle(), while main thread calls
LCM.publish()
"""
lcm_obj = lcm.LCM("memq://")
def on_msg(chan... | [
[
1,
0,
0.0247,
0.0123,
0,
0.66,
0,
83,
0,
1,
0,
0,
83,
0,
0
],
[
1,
0,
0.037,
0.0123,
0,
0.66,
0.1667,
654,
0,
1,
0,
0,
654,
0,
0
],
[
1,
0,
0.0494,
0.0123,
0,
0.6... | [
"import threading",
"import time",
"import unittest",
"import lcm",
"class TestLcmThreads(unittest.TestCase):\n def test_handle_and_publish(self):\n \"\"\"Worker thread calls LCM.handle(), while main thread calls\n LCM.publish()\n \"\"\"\n lcm_obj = lcm.LCM(\"memq://\")\n\n ... |
#!/usr/bin/python
import struct
import unittest
import lcmtest
class TestByteArray(unittest.TestCase):
def test_construct(self):
"""Verify that a message constructed without explicitly setting any
fields can be encoded."""
msg = lcmtest.byte_array_t()
msg.encode()
def test_fi... | [
[
1,
0,
0.069,
0.0345,
0,
0.66,
0,
399,
0,
1,
0,
0,
399,
0,
0
],
[
1,
0,
0.1034,
0.0345,
0,
0.66,
0.25,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.1724,
0.0345,
0,
0.66,... | [
"import struct",
"import unittest",
"import lcmtest",
"class TestByteArray(unittest.TestCase):\n\n def test_construct(self):\n \"\"\"Verify that a message constructed without explicitly setting any\n fields can be encoded.\"\"\"\n msg = lcmtest.byte_array_t()\n msg.encode()",
... |
#!/usr/bin/env python
import sys
import subprocess
import getopt
import time
client = "c"
server = "c"
tests = { \
"c" : ("c/server", "c/client"),
"python" : (None, "python python/client.py"),
"cpp" : ("cpp/server", "cpp/client"),
}
def dotest(client_name, server_name):
global te... | [
[
1,
0,
0.039,
0.013,
0,
0.66,
0,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.0519,
0.013,
0,
0.66,
0.0476,
394,
0,
1,
0,
0,
394,
0,
0
],
[
1,
0,
0.0649,
0.013,
0,
0.66... | [
"import sys",
"import subprocess",
"import getopt",
"import time",
"client = \"c\"",
"server = \"c\"",
"tests = { \\\n \"c\" : (\"c/server\", \"c/client\"),\n \"python\" : (None, \"python python/client.py\"),\n \"cpp\" : (\"cpp/server\", \"cpp/client\"),\n }",
"def dotest(c... |
import sys
import lcm
from exlcm import example_t
if len(sys.argv) < 2:
sys.stderr.write("usage: read-log <logfile>\n")
sys.exit(1)
log = lcm.EventLog(sys.argv[1], "r")
for event in log:
if event.channel == "EXAMPLE":
msg = example_t.decode(event.data)
print("Message:")
print(" ... | [
[
1,
0,
0.0476,
0.0476,
0,
0.66,
0,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.0952,
0.0476,
0,
0.66,
0.2,
273,
0,
1,
0,
0,
273,
0,
0
],
[
1,
0,
0.1905,
0.0476,
0,
0.6... | [
"import sys",
"import lcm",
"from exlcm import example_t",
"if len(sys.argv) < 2:\n sys.stderr.write(\"usage: read-log <logfile>\\n\")\n sys.exit(1)",
" sys.stderr.write(\"usage: read-log <logfile>\\n\")",
" sys.exit(1)",
"log = lcm.EventLog(sys.argv[1], \"r\")",
"for event in log:\n if... |
import lcm
from exlcm import example_t
def my_handler(channel, data):
msg = example_t.decode(data)
print("Received message on channel \"%s\"" % channel)
print(" timestamp = %s" % str(msg.timestamp))
print(" position = %s" % str(msg.position))
print(" orientation = %s" % str(msg.orientat... | [
[
1,
0,
0.04,
0.04,
0,
0.66,
0,
273,
0,
1,
0,
0,
273,
0,
0
],
[
1,
0,
0.12,
0.04,
0,
0.66,
0.1667,
112,
0,
1,
0,
0,
112,
0,
0
],
[
2,
0,
0.38,
0.4,
0,
0.66,
0.3... | [
"import lcm",
"from exlcm import example_t",
"def my_handler(channel, data):\n msg = example_t.decode(data)\n print(\"Received message on channel \\\"%s\\\"\" % channel)\n print(\" timestamp = %s\" % str(msg.timestamp))\n print(\" position = %s\" % str(msg.position))\n print(\" orienta... |
import lcm
import time
from exlcm import example_t
lc = lcm.LCM()
msg = example_t()
msg.timestamp = int(time.time() * 1000000)
msg.position = (1, 2, 3)
msg.orientation = (1, 0, 0, 0)
msg.ranges = range(15)
msg.num_ranges = len(msg.ranges)
msg.name = "example string"
msg.enabled = True
lc.publish("EXAMPLE", msg.enco... | [
[
1,
0,
0.0588,
0.0588,
0,
0.66,
0,
273,
0,
1,
0,
0,
273,
0,
0
],
[
1,
0,
0.1176,
0.0588,
0,
0.66,
0.0833,
654,
0,
1,
0,
0,
654,
0,
0
],
[
1,
0,
0.2353,
0.0588,
0,
... | [
"import lcm",
"import time",
"from exlcm import example_t",
"lc = lcm.LCM()",
"msg = example_t()",
"msg.timestamp = int(time.time() * 1000000)",
"msg.position = (1, 2, 3)",
"msg.orientation = (1, 0, 0, 0)",
"msg.ranges = range(15)",
"msg.num_ranges = len(msg.ranges)",
"msg.name = \"example strin... |
# This example demonstrates how to use LCM with the Python select module
import select
import lcm
from exlcm import example_t
def my_handler(channel, data):
msg = example_t.decode(data)
print("Received message on channel \"%s\"" % channel)
print(" timestamp = %s" % str(msg.timestamp))
print(" po... | [
[
1,
0,
0.1,
0.0333,
0,
0.66,
0,
438,
0,
1,
0,
0,
438,
0,
0
],
[
1,
0,
0.1333,
0.0333,
0,
0.66,
0.1667,
273,
0,
1,
0,
0,
273,
0,
0
],
[
1,
0,
0.1667,
0.0333,
0,
0.6... | [
"import select",
"import lcm",
"from exlcm import example_t",
"def my_handler(channel, data):\n msg = example_t.decode(data)\n print(\"Received message on channel \\\"%s\\\"\" % channel)\n print(\" timestamp = %s\" % str(msg.timestamp))\n print(\" position = %s\" % str(msg.position))\n ... |
import commands
from distutils.core import setup, Extension
from distutils import msvccompiler
import os
sources = [ \
"module.c",
"pyeventlog.c",
"pylcm.c",
"pylcm_subscription.c",
os.path.join("..", "lcm", "lcm.c"),
os.path.join("..", "lcm", "lcm_udp.c"),
os.path.join("..", "lcm", "lcm_fi... | [
[
1,
0,
0.0112,
0.0112,
0,
0.66,
0,
760,
0,
1,
0,
0,
760,
0,
0
],
[
1,
0,
0.0225,
0.0112,
0,
0.66,
0.0833,
152,
0,
2,
0,
0,
152,
0,
0
],
[
1,
0,
0.0337,
0.0112,
0,
... | [
"import commands",
"from distutils.core import setup, Extension",
"from distutils import msvccompiler",
"import os",
"sources = [ \\\n \"module.c\",\n \"pyeventlog.c\",\n \"pylcm.c\",\n \"pylcm_subscription.c\",\n os.path.join(\"..\", \"lcm\", \"lcm.c\"),\n os.path.join(\"..\", \"lcm\", \"... |
import os
from ._lcm import LCM, LCMSubscription
class Event(object):
"""Data structure representing a single event in an LCM EventLog
"""
def __init__ (self, eventnum, timestamp, channel, data):
"""
Initializer
"""
self.eventnum = eventnum
"""Event number"""
... | [
[
1,
0,
0.0075,
0.0075,
0,
0.66,
0,
688,
0,
1,
0,
0,
688,
0,
0
],
[
1,
0,
0.0226,
0.0075,
0,
0.66,
0.3333,
82,
0,
2,
0,
0,
82,
0,
0
],
[
3,
0,
0.1128,
0.1579,
0,
0.... | [
"import os",
"from ._lcm import LCM, LCMSubscription",
"class Event(object):\n \"\"\"Data structure representing a single event in an LCM EventLog\n \"\"\"\n\n def __init__ (self, eventnum, timestamp, channel, data):\n \"\"\"\n Initializer\n \"\"\"",
" \"\"\"Data structure rep... |
#!/usr/bin/python
#
# Copyright (C) 2012 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | [
[
14,
0,
0.0281,
0.0017,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.0347,
0.0017,
0,
0.66,
0.0303,
509,
0,
1,
0,
0,
509,
0,
0
],
[
8,
0,
0.0364,
0.0017,
0,
0... | [
"__author__ = 'afshar@google.com (Ali Afshar)'",
"import sys",
"sys.path.insert(0, 'lib')",
"import os",
"import httplib2",
"import sessions",
"from google.appengine.ext import webapp",
"from google.appengine.ext.webapp.util import run_wsgi_app",
"from google.appengine.ext import db",
"from google... |
#!/usr/bin/python
#
# Copyright (C) 2012 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | [
[
14,
0,
0.0557,
0.0033,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.0689,
0.0033,
0,
0.66,
0.0333,
688,
0,
1,
0,
0,
688,
0,
0
],
[
1,
0,
0.0721,
0.0033,
0,
0... | [
"__author__ = 'afshar@google.com (Ali Afshar)'",
"import os",
"import httplib2",
"import sessions",
"from google.appengine.ext import db",
"from google.appengine.ext.webapp import template",
"from apiclient.discovery import build_from_document",
"from apiclient.http import MediaUpload",
"from oauth2... |
# This is the version of this source code.
manual_verstr = "1.5"
auto_build_num = "211"
verstr = manual_verstr + "." + auto_build_num
try:
from pyutil.version_class import Version as pyutil_Version
__version__ = pyutil_Version(verstr)
except (ImportError, ValueError):
# Maybe there is no pyutil insta... | [
[
14,
0,
0.1667,
0.0556,
0,
0.66,
0,
189,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.3889,
0.0556,
0,
0.66,
0.3333,
295,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.6111,
0.0556,
0,
0... | [
"manual_verstr = \"1.5\"",
"auto_build_num = \"211\"",
"verstr = manual_verstr + \".\" + auto_build_num",
"try:\n from pyutil.version_class import Version as pyutil_Version\n __version__ = pyutil_Version(verstr)\nexcept (ImportError, ValueError):\n # Maybe there is no pyutil installed.\n from dist... |
"""
The MIT License
Copyright (c) 2007-2010 Leah Culver, Joe Stump, Mark Paschal, Vic Fryzel
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the ... | [
[
8,
0,
0.3,
0.575,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.625,
0.025,
0,
0.66,
0.3333,
311,
0,
1,
0,
0,
311,
0,
0
],
[
1,
0,
0.65,
0.025,
0,
0.66,
0.6... | [
"\"\"\"\nThe MIT License\n\nCopyright (c) 2007-2010 Leah Culver, Joe Stump, Mark Paschal, Vic Fryzel\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including withou... |
"""
The MIT License
Copyright (c) 2007-2010 Leah Culver, Joe Stump, Mark Paschal, Vic Fryzel
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the ... | [
[
8,
0,
0.2927,
0.561,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.6098,
0.0244,
0,
0.66,
0.25,
311,
0,
1,
0,
0,
311,
0,
0
],
[
1,
0,
0.6341,
0.0244,
0,
0.66,
... | [
"\"\"\"\nThe MIT License\n\nCopyright (c) 2007-2010 Leah Culver, Joe Stump, Mark Paschal, Vic Fryzel\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including withou... |
# Copyright 2011 Google Inc. All Rights Reserved.
"""Multi-credential file store with lock support.
This module implements a JSON credential store where multiple
credentials can be stored in one file. That file supports locking
both in a single process and across processes.
The credential themselves are keyed off o... | [
[
8,
0,
0.0437,
0.0741,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.0847,
0.0026,
0,
0.66,
0.0588,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.0899,
0.0026,
0,
0.66,... | [
"\"\"\"Multi-credential file store with lock support.\n\nThis module implements a JSON credential store where multiple\ncredentials can be stored in one file. That file supports locking\nboth in a single process and across processes.\n\nThe credential themselves are keyed off of:\n* client_id",
"__author__ = 'jb... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.