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 python2
# -*- coding:Utf-8 -*-
# Adapted from :
# Brandon Thomson
# http://stackoverflow.com/questions/384076/how-can-i-make-the-python-logging-output-to-be-colored
import logging
class ColorFormatter( logging.Formatter ):
FORMAT = ( "[%(levelname)-19s] " "$BOLD%(filename)s$RESET:%(lineno... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
from lockfile import FileLock
import logging
logger = logging.getLogger( "TVDownloader" )
#import Constantes
import tvdcore
#{ Context de TVD.
# S'assure qu'aucun autre programme n'utilise actuellement le module de TVDownloader et instancie les plugins.
# Permet également... | Python |
# -*- coding:Utf-8 -*-
from Downloaders import *
class AbstractDownloaderFactory :
def __init__(self) :
pass
def create (self, url) :
# returns DownloaderInterface
pass
## Fabrique concrète des DownloaderInterface
class DownloaderFactory (AbstractDownloaderFactory) :
def __init__(self) :
AbstractDownloa... | 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 -*-
###########
# Modules #
###########
import httplib,re,zlib, os.path, time, pickle, traceback
from random import choice
from traceback import print_exc
import os
import sys
from Plugin import Plugin
import Constantes
import logging
logger = logging.getLogger( "TVDownload... | Python |
# -*- coding:Utf-8 -*-
import thread,threading,traceback,time
from util import Synchronized,SynchronizedWith,CallbackGroup
from DownloaderFactory import *
from TVDContext import TVDContext
import logging
logger = logging.getLogger( "TVDownloader" )
dmlogger = logger
class DownloadManager(threading.Thread):
BUFFER_... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
from Constantes import *
from ColorFormatter import ColorFormatter
from DownloaderFactory import *
from Downloaders import *
from DownloadManager import *
from Historique import *
from Fichier ... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
###########
# Modules #
###########
import re
import logging
logger = logging.getLogger( "TVDownloader" )
#############
# Fonctions #
#############
## Supprime les balises HTML d'une chaine de caracteres
# @param chaine Chaine a traiter
# @return Chaine traitee
def sup... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
###########
# Modules #
###########
import os
import unicodedata
import logging
logger = logging.getLogger( "TVDownloader" )
#############
# Fonctions #
#############
## Cree un repertoire s'il n'existe pas
# @param chemin Chemin du repertoire a creer
def verifieRepert... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
##############
# Décorateur #
##############
import logging,threading
logger = logging.getLogger( "TVDownloader" )
## Décorateur qui permet d'assurer la synchronisation des méthodes, une
# thread à la fois travaille sur l'instance avec les méthodes marquées.
# L'instance ... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
###########
# Modules #
###########
# import os
import logging
logger = logging.getLogger( "TVDownloader" )
#############
# Fonctions #
#############
| Python |
#!/usr/bin/env python
# -*- encoding: UTF-8 -*-
import core,sys
if core.initialiser() != core.STATUS_INITIALIZED:
print "Erreur d'initialisation du module core"
sys.exit(1)
else:
print core.STATUS
import multiprocessing
from multiprocessing.managers import BaseManager
BaseManager.register('pluginManager', callab... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
from PyQt4 import QtCore
from PyQt4 import QtGui
#
# Class
#
class QtTableView( QtGui.QTableView ):
"""
Custom version of QTableView
"""
def __init__( self, parent = None ):
QtGui.QTableView.__init__( self, parent )
# No line number
self.vert... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
import threading
from PyQt4 import QtCore
from PyQt4 import QtGui
#
# Classe
#
class WaitWindow( QtGui.QProgressDialog ):
"""
Fenetre d'attente
"""
def __init__( self, parent = None ):
"""
Constructeur
"""
QtGui.QProg... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
import sys
import tvdcore
from PyQt4 import QtGui
from uis.qt.MainWindow import MainWindow
#
# Code
#
ctx = tvdcore.TVDContext()
if not( ctx.isInitialized() ) and not( ctx.initialize() ):
logger.error( "Impossible d'initialiser le context" )
else:
app ... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
from base.qt.qtString import stringToQstring
from PyQt4 import QtCore
from PyQt4 import QtGui
#
# Class
#
class QtTable( QtGui.QTableWidget ):
"""
Custom version of QTableWidget
"""
def __init__( self, parent = None ):
QtGui.QTableWidget.__init__( ... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
from base.qt.qtString import stringToQstring
from PyQt4 import QtCore
from PyQt4 import QtGui
#
# Classe
#
class TelechargementsTableModel( QtCore.QAbstractTableModel ):
"""
Model pour afficher la liste des telechargements
"""
def __init__( self, lis... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
import datetime
from base.qt.qtString import stringToQstring
from PyQt4 import QtCore
from PyQt4 import QtGui
#
# Classe
#
class FichiersTableModel( QtCore.QAbstractTableModel ):
"""
Model pour afficher la liste des fichiers
"""
def __init__( self, ... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
from PyQt4 import QtCore
from PyQt4 import QtGui
#
# Class
#
class QtProgressBarDelegate( QtGui.QItemDelegate ):
"""
Delegate for a QProgressBar
"""
def __init__( self, parent = None ):
QtGui.QItemDelegate.__init__( self, parent )
self.percent ... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
from base.qt.qtString import stringToQstring
from PyQt4 import QtCore
from PyQt4 import QtGui
#
# Class
#
class QtIconsList( QtGui.QScrollArea ):
"""
Widget to display a list of icons (QIcon)
"""
iconsSize = QtCore.QSize( 100, 30 )
def __init__( s... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
import logging
logger = logging.getLogger( "TVDownloader" )
import os
import operator
import threading
import sys
sys.path.append( ".." )
import tvdcore
from base.Browser import Browser
from base.qt.QtFolderChooser import QtFolderChooser
from base.qt.qtStr... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
import argparse
import lockfile
import logging
logger = None
from multiprocessing.managers import BaseManager
import os
import runpy
import sys
import threading
import tvdcore
import tvdcore.Constantes as Constantes
#
# Gestion des UIs
#
LAUNCHER_ADDRESS =... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
import collections
import dateutil.parser
import os
import xml.sax
import tvdcore
#
# Classes
#
Podcast = collections.namedtuple( "Podcast", [ "nom", "urlImage" ] )
class Podcasts( tvdcore.Plugin ):
"""
Classe generique pour charger des podcasts
Pour a... | Python |
#!/usr/bin/env python
# -*- encoding: UTF-8 -*-
from tvdcore import Fichier
from tvdcore import Plugin
class DevPlugin( Plugin ):
DATA = {
"Image Google": {
"Lapins": [
Fichier("Lapin mignon",
lien="http://www.bestioles.ca/mammiferes/images/lapin.jpg",
nomFichierSortie="Lapin mignon.jpg",
u... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
import BeautifulSoup
import dateutil.parser
import logging
logger = logging.getLogger( "TVDownloader" )
import os
import re
import xml.sax
import tvdcore
from Podcasts import PodcastsHandler
#
# Classe
#
class FranceInter( tvdcore.Plugin ):
listeChaines... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
import datetime
import logging
logger = logging.getLogger( "TVDownloader" )
import os
import re
import time
import xml.sax
import tvdcore
#
# Classes
#
class CanalPlus( tvdcore.Plugin ):
urlFichierXMLListeProgrammes = "http://www.canalplus.fr/rest/boots... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
import base64
from Crypto.Cipher import DES
import datetime
import os
import pickle
import re
import time
import unicodedata
import xml.sax
import tvdcore
import logging
logger = logging.getLogger( "TVDownloader" )
#
# Filtre Wireshark :
# http.host =... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
import datetime
import os
import pickle
import re
import time
import unicodedata
import urllib
import xml.sax
import tvdcore
import logging
logger = logging.getLogger( "TVDownloader" )
#
# Filtre Wireshark :
# http.host == "www.w9replay.fr"
#
#
# Class... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
import HTMLParser
# import datetime
# import os.path
import re
# import xml.sax
import tvdcore
import logging
logger = logging.getLogger( "TVDownloader" )
#
# Filtre Wireshark :
# http.host contains "tf1" or http.host contains "wat"
#
#
# Classe
#
cla... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
import unicodedata
import re
import string
import logging
logger = logging.getLogger( "base.string" )
#
# Functions
#
def removeAccents( myStr ):
"""
Removes all accents
"""
if( isinstance( myStr, str ) ):
myStr = unicode( myStr, "utf8", "replace" )
... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
from PyQt4 import QtCore
from PyQt4 import QtGui
#
# Class
#
class QtLogWidget( QtGui.QTableWidget ):
"""
Widget to display Python log messages
"""
def __init__( self, parent = None ):
# 0 rown 3 columns
QtGui.QTableWidget.__init__( self, parent )
... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
import logging
from base.qt.qtString import stringToQstring
from PyQt4 import QtCore
from PyQt4 import QtGui
#
# Class
#
class QtLogHandler( logging.Handler ):
"""
Display Python logging messages with Qt ; use it with a QTableWidget widget
"""
# Col... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
from PyQt4 import QtCore
import unicodedata
#
# Functions
#
def stringToQstring( text ):
"""
Convert a Python string to a Qt string
"""
if( isinstance( text, str ) ):
return QtCore.QString( unicode( text, "utf-8", "replace" ) )
else:
return QtCore... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
import os
from base.qt.qtString import qstringToString
from base.qt.qtString import stringToQstring
from PyQt4 import QtCore
from PyQt4 import QtGui
#
# Class
#
class QtFolderChooser( QtGui.QWidget ):
"""
Widget to choose a folder
"""
def __init__( ... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
import logging
logger = logging.getLogger( "base.Patterns" )
#
# Classes
#
class Singleton( type ):
"""
Singleton pattern
Use "__metaclass__ = Patterns.Singleton" to use it in our classes
"""
def __init__( cls, name, bases, dict ):
super( Singleton... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
# Adapted from :
# Brandon Thomson
# http://stackoverflow.com/questions/384076/how-can-i-make-the-python-logging-output-to-be-colored
#
# Modules
#
import logging
#
# Class
#
class ColorFormatter( logging.Formatter ):
FORMAT = ( "[%(levelname)-19s] " "$BOLD... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
import cookielib
import random
import threading
import urllib
import urllib2
from base.cache.BrowserCache import BrowserCache
from base.Patterns import Singleton
import logging
logger = logging.getLogger( "base.Browser" )
#
# Classe
#
class Browser( objec... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
import functools
import logging
logger = logging.getLogger( "base.decorators" )
#
# Decorators
#
def deprecated( fnct ):
"""
Decorator to mark deprecated function
"""
@functools.wraps( fnct )
def logDeprecated( *args, **kwargs ):
logger.warning( "De... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
import ConfigParser
import os
import threading
from base.decorators import synchronized
from base.Patterns import Singleton
import logging
logger = logging.getLogger( "base.Config" )
#
# Classe
#
# Create mutex
mutex = threading.Lock()
class Config( ob... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
from APIPrive import APIPrive
from base.Browser import Browser
from base.Patterns import Singleton
import logging
logger = logging.getLogger( "tvdownloader" )
#
# Class
#
class API( APIPrive ):
__metaclass__ = Singleton
def __init__( self ):
... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
from base.qt.qtString import stringToQstring
from PyQt4 import QtCore
from PyQt4 import QtGui
#
# Class
#
class QtTable( QtGui.QTableWidget ):
"""
Custom version of QTableWidget
"""
def __init__( self, parent = None ):
QtGui.QTableWidget.__init__( ... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
from base.qt.qtString import stringToQstring
from PyQt4 import QtCore
from PyQt4 import QtGui
#
# Class
#
class QtIconsList( QtGui.QScrollArea ):
"""
Widget to display a list of icons (QIcon)
"""
iconsSize = QtCore.QSize( 100, 100 )
def __init__( ... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
import operator
import threading
import sys
sys.path.append( ".." )
from base.qt.QtFolderChooser import QtFolderChooser
from base.qt.qtString import qstringToString
from base.qt.qtString import stringToQstring
from PyQt4 import QtCore
from P... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
import unicodedata
import re
import string
import logging
logger = logging.getLogger( "base.string" )
#
# Functions
#
def removeAccents( myStr ):
"""
Removes all accents
"""
if( isinstance( myStr, str ) ):
myStr = unicode( myStr, "utf8", "replace" )
... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
from PyQt4 import QtCore
from PyQt4 import QtGui
#
# Class
#
class QtLogWidget( QtGui.QTableWidget ):
"""
Widget to display Python log messages
"""
def __init__( self, parent = None ):
# 0 rown 3 columns
QtGui.QTableWidget.__init__( self, parent )
... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
import logging
from base.qt.qtString import stringToQstring
from PyQt4 import QtCore
from PyQt4 import QtGui
#
# Class
#
class QtLogHandler( logging.Handler ):
"""
Display Python logging messages with Qt ; use it with a QTableWidget widget
"""
# Col... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
from PyQt4 import QtCore
import unicodedata
#
# Functions
#
def stringToQstring( text ):
"""
Convert a Python string to a Qt string
"""
if( isinstance( text, str ) ):
return QtCore.QString( unicode( text, "utf-8", "replace" ) )
else:
return QtCore... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
import os
from base.qt.qtString import qstringToString
from base.qt.qtString import stringToQstring
from PyQt4 import QtCore
from PyQt4 import QtGui
#
# Class
#
class QtFolderChooser( QtGui.QWidget ):
"""
Widget to choose a folder
"""
def __init__( ... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
import logging
logger = logging.getLogger( "base.Patterns" )
#
# Classes
#
class Singleton( type ):
"""
Singleton pattern
Use "__metaclass__ = Patterns.Singleton" to use it in our classes
"""
def __init__( cls, name, bases, dict ):
super( Singleton... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
# Adapted from :
# Brandon Thomson
# http://stackoverflow.com/questions/384076/how-can-i-make-the-python-logging-output-to-be-colored
#
# Modules
#
import logging
#
# Class
#
class ColorFormatter( logging.Formatter ):
FORMAT = ( "[%(levelname)-19s] " "$BOLD... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
import cookielib
import random
import threading
import urllib
import urllib2
from base.Cache.BrowserCache import BrowserCache
from base.Patterns import Singleton
import logging
logger = logging.getLogger( "base.Browser" )
#
# Classe
#
class Browser( objec... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
import functools
import logging
logger = logging.getLogger( "base.decorators" )
#
# Decorators
#
def deprecated( fnct ):
"""
Decorator to mark deprecated function
"""
@functools.wraps( fnct )
def logDeprecated( *args, **kwargs ):
logger.warning( "De... | Python |
#!/usr/bin/env python
# -*- coding:Utf-8 -*-
#
# Modules
#
import ConfigParser
import os
import threading
from base.decorators import synchronized
from base.Patterns import Singleton
import logging
logger = logging.getLogger( "base.Config" )
#
# Classe
#
CONFIG_FILE = "toto.cfg"
class Config( object ):
__meta... | 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 |
Subsets and Splits
SQL Console for ajibawa-2023/Python-Code-Large
Provides a useful breakdown of language distribution in the training data, showing which languages have the most samples and helping identify potential imbalances across different language groups.