code
stringlengths
1
1.72M
language
stringclasses
1 value
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free So...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier LICENSE # ######################################### #~ Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free S...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free So...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ########### # Modules # ########### import unittest import sys if not( "../" in sys.path ): sys.path.insert( 0, "../" ) from Historique import Historique from Fichier import Fichier ########## # Classe # ########## ## Classe qui gere les tests de la classe Historique c...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ########### # Modules # ########### import unittest from PreferencesTests import PreferencesTests from HistoriqueTests import HistoriqueTests ######### # Debut # ######### unittest.main()
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- from API import API from Navigateur import Navigateur from time import time, sleep urlsDifferentHost = ["http://www.google.fr/", "http://fr.yahoo.com/", "http://www.bing.com/", "http://www.ubuntu-fr.org/", "http://www.canalplus.fr/", "http://www.m6.fr/", "http://www.w9.fr...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ########### # Modules # ########### import unittest import sys if not( "../" in sys.path ): sys.path.insert( 0, "../" ) from Preferences import Preferences ########## # Classe # ########## ## Classe qui gere les tests de la classe Preferences class PreferencesTests( un...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free So...
Python
# dialog.py --- A python interface to the Linux "dialog" utility # Copyright (C) 2000 Robb Shecter, Sultanbek Tezadov # Copyright (C) 2002, 2003, 2004 Florent Rougon # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la ...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free So...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free So...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free So...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la ...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier LICENSE # ######################################### #~ Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free S...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la ...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free So...
Python
#/usr/bin/python # -*- coding: utf-8 -*- import os #classe qui affiche la barre en haut de l'ecran # @param self l'objet courant # @param plugin le nom du plugin choisi # @param chaine le nom de la chaine choisie # @param program le nom du programme choisi # @param program le nom du programme choisi ou de l'ecran d'op...
Python
#/usr/bin/python # -*- coding: utf-8 -*- import os import sys import time from CLI.Option import dl,prefs,quitter,wait,info from CLI.Screen import header,footer,plugin,chaine,program,fichier from getch import getch from API import API from APIPrive import APIPrive from PluginManager import PluginManager from Preferen...
Python
#/usr/bin/python # -*- coding: utf-8 -*- import os import sys import time from CLI.Screen import header,footer from Downloader import Downloader from Preferences import Preferences from Historique import Historique from getch import getch class dl: def __init__(self, DLlist): # On instancie le gestionnaire de prefe...
Python
class getch: """Gets a single character from standard input. Does not echo to the screen.""" def __init__(self): try: self.impl = _GetchWindows() except ImportError: self.impl = _GetchUnix() def __call__(self): return self.impl() class _GetchUnix: def __init__...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la ...
Python
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'TvDownloaderPluzzWidget.ui' # # Created: Thu Jan 13 22:07:19 2011 # by: PyQt4 UI code generator 4.7.4 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui class Ui_TvDownloaderPluzzWidget(object): ...
Python
from PyQt4 import QtGui, QtCore from TvDownloaderSitesWidgetView import Ui_TvDownloaderSitesWidget class TvDownloaderSitesWidgetController(QtGui.QWidget): def __init__(self, parent): QtGui.QWidget.__init__(self) self.mainWindow = parent self.ui = Ui_TvDownloaderSitesWidget...
Python
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'TvDownloaderMainWindow.ui' # # Created: Thu Jan 13 22:07:18 2011 # by: PyQt4 UI code generator 4.7.4 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui class Ui_TvDownloaderMainWindow(object): ...
Python
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'TvDownloaderSitesWidget.ui' # # Created: Thu Jan 13 22:07:19 2011 # by: PyQt4 UI code generator 4.7.4 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui class Ui_TvDownloaderSitesWidget(object): ...
Python
from PyQt4 import QtGui, QtCore from TvDownloaderPluzzWidgetView import Ui_TvDownloaderPluzzWidget class TvDownloaderPluzzWidgetController(QtGui.QWidget): def __init__(self, parent): QtGui.QWidget.__init__(self) self.mainWindow = parent self.ui = Ui_TvDownloaderPluzzWidget...
Python
from PyQt4 import QtGui, QtCore from GUI.AProposDialog import AProposDialog from GUI.PreferencesDialog import PreferencesDialog from GUI.UpdateManagerDialog import UpdateManagerDialog from TvDownloaderMainWindowView import Ui_TvDownloaderMainWindow from TvDownloaderSitesWidgetController import TvDownloaderSitesWidgetCo...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free So...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier LICENSE # ######################################### #~ Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free S...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier LICENSE # ######################################### #~ Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier LICENSE # ######################################### #~ Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- # Coucou les amis ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU pub...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier LICENSE # ######################################### #~ Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free S...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier LICENSE # ######################################### #~ Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free S...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free So...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free So...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free So...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free So...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier LICENSE # ######################################### #~ Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free S...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- #~ import sys #~ sys.path[ :0 ] = [ '../', '../lib/' ] # On ajoute des repertoires au path
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free So...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la ...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free So...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free So...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier LICENSE # ######################################### #~ Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free S...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free So...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la ...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la ...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free So...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free So...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free So...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la ...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la ...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la ...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free So...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier LICENSE # ######################################### #~ Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free S...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free So...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ########### # Modules # ########### import unittest import sys if not( "../" in sys.path ): sys.path.insert( 0, "../" ) from Historique import Historique from Fichier import Fichier ########## # Classe # ########## ## Classe qui gere les tests de la classe Historique c...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ########### # Modules # ########### import unittest from PreferencesTests import PreferencesTests from HistoriqueTests import HistoriqueTests ######### # Debut # ######### unittest.main()
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- from API import API from Navigateur import Navigateur from time import time, sleep urlsDifferentHost = ["http://www.google.fr/", "http://fr.yahoo.com/", "http://www.bing.com/", "http://www.ubuntu-fr.org/", "http://www.canalplus.fr/", "http://www.m6.fr/", "http://www.w9.fr...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ########### # Modules # ########### import unittest import sys if not( "../" in sys.path ): sys.path.insert( 0, "../" ) from Preferences import Preferences ########## # Classe # ########## ## Classe qui gere les tests de la classe Preferences class PreferencesTests( un...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free So...
Python
# dialog.py --- A python interface to the Linux "dialog" utility # Copyright (C) 2000 Robb Shecter, Sultanbek Tezadov # Copyright (C) 2002, 2003, 2004 Florent Rougon # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier LICENSE # ######################################### #~ Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- # Coucou les amis ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU pub...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier LICENSE # ######################################### #~ Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free S...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier LICENSE # ######################################### #~ Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free S...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free So...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free So...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free So...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free So...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- ######################################### # Licence : GPL2 ; voir fichier COPYING # ######################################### # Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free So...
Python
# -*- mode: python -*- a = Analysis(['C:\\pluzzdl\\mainGui.py'], pathex=['C:\\pyinstaller-2.0'], hiddenimports=[], hookspath=None) pyz = PYZ(a.pure) exe = EXE(pyz, a.scripts, a.binaries, a.zipfiles, a.datas + [ ('pluzzdl.cfg', 'C:\...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- # # Lancer : python setup.py py2exe # # # Modules # import os from distutils.core import setup import py2exe # # Code # # Icones listeIcones = [] for fichier in os.listdir( "ico" ): if( fichier[ -4 : ] == ".png" or fichier[ -4 : ] == ".ico" ): ...
Python
#!/usr/bin/env python # -*- coding:Utf-8 -*- # # Lancer : python setup.py py2exe # ########### # Modules # ########### import os from distutils.core import setup import py2exe ######## # Code # ######## # # Liste des fichiers à inclure au programme # # Icones listeIcones = [] for fichie...
Python
#!/bin/env python import xml.dom.minidom as dom import sys import struct WEAP_NUM = 780 struct_fmt = "<H BBHBBBB 8B8B8b8b8b8b8H bbBBBB" def pack_weapon(dict): l = [] l.append(dict['drain']) l.append(dict['shotRepeat']) l.append(dict['multi']) l.append(dict['weapAni']) l.append(dict['max']) l.append(dict['tx...
Python
#!/usr/bin/env python import os,sys, logging, socket import subprocess import string from exceptions import Exception from threading import Thread from optparse import OptionParser from subprocess import Popen, PIPE, STDOUT import re import glob from collections import deque sys.stderr=sys.stdout arff_head_s=('''@R...
Python
#!/usr/bin/env python import os,sys, logging, socket import subprocess import string from exceptions import Exception from threading import Thread from optparse import OptionParser from subprocess import Popen, PIPE, STDOUT import re import glob from collections import deque sys.stderr=sys.stdout arff_head_s=('''@R...
Python
#!/usr/bin/env python import os,sys, logging, socket import subprocess import string from exceptions import Exception from threading import Thread from optparse import OptionParser from subprocess import Popen, PIPE, STDOUT import re import glob sys.stderr=sys.stdout arff_head_s=('''@RELATION <netmate> @ATTRIBUTE ...
Python
#!/usr/bin/env python import os,sys, logging, socket import subprocess import string from exceptions import Exception from threading import Thread from optparse import OptionParser from subprocess import Popen, PIPE, STDOUT import re import glob sys.stderr=sys.stdout arff_head_s=('''@RELATION <netmate> @ATTRIBUTE ...
Python
#!/usr/bin/env python import os,sys, logging, socket import subprocess import string from exceptions import Exception from threading import Thread from optparse import OptionParser from subprocess import Popen, PIPE, STDOUT import re import glob import appconfig as APPCONFIG sys.stderr=sys.stdout if __name__ == '...
Python
#!/usr/bin/env python import os,sys, logging, socket import subprocess import string from exceptions import Exception from threading import Thread from optparse import OptionParser from subprocess import Popen, PIPE, STDOUT import re import glob sys.stderr=sys.stdout arff_head_s=('''@RELATION <netmate> @ATTRIBUTE ...
Python
#!/usr/bin/env python import os,sys, logging, socket import subprocess import string from exceptions import Exception from threading import Thread from optparse import OptionParser from subprocess import Popen, PIPE, STDOUT import re import glob sys.stderr=sys.stdout arff_head_s=('''@RELATION <netmate> @ATTRIBUTE ...
Python
#!/usr/bin/env python import os,sys, logging, socket import subprocess import string from exceptions import Exception from threading import Thread from optparse import OptionParser from subprocess import Popen, PIPE, STDOUT import re import glob import appconfig as APPCONFIG sys.stderr=sys.stdout if __name__ == '...
Python
#!/usr/bin/env python import os,sys,logging import string from exceptions import Exception from optparse import OptionParser import re import glob import yaml arff_head_s=('''@RELATION <netmate> @ATTRIBUTE srcip STRING @ATTRIBUTE srcport NUMERIC @ATTRIBUTE dstip STRING @ATTRIBUTE dstport NUMERIC @ATTRIBUTE proto NUM...
Python
#!/usr/bin/python # Copyright (c) # # pcapy: open_offline, pcapdumper. # ImpactDecoder. import os,sys, logging, socket import subprocess import string from exceptions import Exception from threading import Thread from optparse import OptionParser from subprocess import Popen, PIPE, STDOUT import re import glob im...
Python
#!/usr/bin/env python # -*- coding: utf-8 -*- """ A pure Python GlobalConfig implementation. Copyright (c) 2010, flk3y """ __version__ = '0.1' import os import sys GlobalConfig = {'xmlfilename':"test.xml", 'pcapfilename':"test.pcap", 'outputpathname':"outputdir", 'appn...
Python
# Type of service (ip_tos), RFC 1349 ("obsoleted by RFC 2474") IP_TOS_DEFAULT = 0x00 # default IP_TOS_LOWDELAY = 0x10 # low delay IP_TOS_THROUGHPUT = 0x08 # high throughput IP_TOS_RELIABILITY = 0x04 # high reliability IP_TOS_LOWCOST = 0x02 # low monetary cost - XXX IP_TOS_ECT ...
Python
#!/usr/bin/env python import os,sys,logging import string from exceptions import Exception from optparse import OptionParser import re import glob import yaml arff_head_s=('''@RELATION <netmate> @ATTRIBUTE srcip STRING @ATTRIBUTE srcport NUMERIC @ATTRIBUTE dstip STRING @ATTRIBUTE dstport NUMERIC @ATTRIBUTE proto NUM...
Python
#!/usr/bin/python # Copyright (c) # # pcapy: open_offline, pcapdumper. # ImpactDecoder. import os,sys, logging, socket import subprocess import string from exceptions import Exception from threading import Thread from optparse import OptionParser from subprocess import Popen, PIPE, STDOUT import re import glob im...
Python
#!/usr/bin/env python # -*- coding: utf-8 -*- """ A pure Python GlobalConfig implementation. Copyright (c) 2010, flk3y """ __version__ = '0.1' import os import sys GlobalConfig = {'xmlfilename':"test.xml", 'pcapfilename':"test.pcap", 'outputpathname':"outputdir", 'appn...
Python
#!/usr/bin/env python import os,sys,logging import string from exceptions import Exception from optparse import OptionParser import re import glob import yaml arff_head_s=('''@RELATION <netmate> @ATTRIBUTE srcip STRING @ATTRIBUTE srcport NUMERIC @ATTRIBUTE dstip STRING @ATTRIBUTE dstport NUMERIC @ATTRIBUTE proto NUM...
Python
#!/usr/bin/env python # -*- coding: utf-8 -*- """ A pure Python GlobalConfig implementation. Copyright (c) 2010, flk3y """ __version__ = '0.1' import os import sys GlobalConfig = {'xmlfilename':"test.xml", 'pcapfilename':"test.pcap", 'outputpathname':"outputdir", 'appn...
Python
#!/usr/bin/env python import os,sys, logging, socket import subprocess import string from exceptions import Exception from threading import Thread from optparse import OptionParser from subprocess import Popen, PIPE, STDOUT import re import glob sys.stderr=sys.stdout arff_head_s=('''@RELATION <netmate> @ATTRIBUTE ...
Python
#!/usr/bin/env python import os,sys, logging, socket import subprocess import string from exceptions import Exception from threading import Thread from optparse import OptionParser from subprocess import Popen, PIPE, STDOUT import re import glob sys.stderr=sys.stdout arff_head_s=('''@RELATION <netmate> @ATTRIBUTE ...
Python
#!/usr/bin/python # Copyright (c) # # pcapy: open_offline, pcapdumper. # ImpactDecoder. import os,sys, logging, socket import subprocess import string from exceptions import Exception from threading import Thread from optparse import OptionParser from subprocess import Popen, PIPE, STDOUT import re import glob im...
Python
# Type of service (ip_tos), RFC 1349 ("obsoleted by RFC 2474") IP_TOS_DEFAULT = 0x00 # default IP_TOS_LOWDELAY = 0x10 # low delay IP_TOS_THROUGHPUT = 0x08 # high throughput IP_TOS_RELIABILITY = 0x04 # high reliability IP_TOS_LOWCOST = 0x02 # low monetary cost - XXX IP_TOS_ECT ...
Python
#!/usr/bin/python # Copyright (c) # # pcapy: open_offline, pcapdumper. # ImpactDecoder. import os,sys, logging, socket import subprocess import string from exceptions import Exception from threading import Thread from optparse import OptionParser from subprocess import Popen, PIPE, STDOUT import re import glob im...
Python
#!/usr/bin/env python import os,sys, logging, socket import subprocess import string from exceptions import Exception from threading import Thread from optparse import OptionParser from subprocess import Popen, PIPE, STDOUT import re import glob sys.stderr=sys.stdout arff_head_s=('''@RELATION <netmate> @ATTRIBUTE ...
Python