code stringlengths 1 1.72M | language stringclasses 1
value |
|---|---|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from PyQt4 import Qt
def main():
app = Qt.QApplication(sys.argv)
label = Qt.QLabel("Hello World from PyQt4", None)
label.setWindowTitle("Hello World from PyQt4")
label.show()
app.exec_()
if __name__ == "__main__":
main()
| Python |
string = "I hope you see this!"
| Python |
# Copyright (C) 2005, Giovanni Bajo
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the... | Python |
# Copyright (C) 2005, Giovanni Bajo
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the... | Python |
import wx
app = wx.App(0)
frame = wx.Frame(None, title="Hello World from wxPython", size=(320, 240))
| Python |
# -*- mode: python -*-
__testname__ = 'test-pyqt4_i'
a = Analysis([os.path.join(HOMEPATH,'support', '_mountzlib.py'),
os.path.join(HOMEPATH,'support', 'useUnicode.py'),
__testname__ + '.py'])
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
exclude_binaries=1,
... | Python |
# Copyright (C) 2005, Giovanni Bajo
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the... | Python |
# Copyright (C) 2005, Giovanni Bajo
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the... | Python |
# -*- mode: python -*-
__testname__ = 'test5'
a = Analysis(['../support/_mountzlib.py', 'test5.py'],
pathex=[])
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
[('W ignore', '', 'OPTION')],
exclude_binaries=1,
name=os.path.join('build', 'pyi.' + config['target_platform... | Python |
""" pkg1.a.py is never imported """
print " %s" % __doc__
print " %s %s" % (__name__, __file__)
| Python |
""" pkg1 replaces itself with pkg2"""
__all__ = ["a", "b"]
import pkg2
import sys
sys.modules[__name__] = pkg2
from pkg2 import *
| Python |
# -*- mode: python -*-
__testname__ = 'test8'
a = Analysis([os.path.join(HOMEPATH,'support', '_mountzlib.py'),
os.path.join(HOMEPATH,'support', 'useUnicode.py'),
'test8.py'],
pathex=['.'])
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
exclude_binaries=1,
... | Python |
# Verify packagin of PIL.Image. Specifically, the hidden import of FixTk
# importing tkinter is causing some problems.
try:
from Image import fromstring
except ImportError:
fromstring = "PIL missing!! Install PIL before running this test!"
print fromstring
| Python |
import os
os.environ["qwiejioqwjeioqwjeioqwje"]
| Python |
# Copyright (C) 2005, Giovanni Bajo
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the... | Python |
# Copyright (C) 2005, Giovanni Bajo
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the... | Python |
import relimp2.bar
import relimp2.bar.bar2
relimp2.bar.say_hello_please()
relimp2.bar.bar2.say_hello_please()
| Python |
from Tkinter import *
root = Tk()
w = Label(root, text="Hello, world!")
w.pack()
root.mainloop()
| Python |
# -*- mode: python -*-
__testname__ = 'test-matplotlib_i'
if config['target_platform'] == 'win32' and sys.version_info[:2] >= (2, 6):
manifest = '''<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Mi... | Python |
# -*- mode: python -*-
__testname__ = 'test7'
a = Analysis(['../support/_mountzlib.py', 'test7.py'],
pathex=[])
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
exclude_binaries=1,
name=os.path.join('build', 'pyi.' + config['target_platform'], __testname__ + '.exe'),
de... | Python |
# -*- mode: python -*-
__testname__ = 'test-wx_i'
a = Analysis([os.path.join(HOMEPATH,'support', '_mountzlib.py'),
os.path.join(HOMEPATH,'support', 'useUnicode.py'),
__testname__ + '.py'])
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
exclude_binaries=1,
... | Python |
#!/usr/bin/env python
try:
import ctypes
except ImportError:
# ctypes unavailable, testing ctypes support is pointless.
sys.exit(0)
import test15a
assert test15a.dummy(42) == 42
| Python |
# same test of test-ctypes-cdll-c.py, but built in one-file mode
import ctypes, ctypes.util
# Make sure we are able to load the MSVCRXX.DLL we are currently bound
# to through ctypes.
lib = ctypes.CDLL(ctypes.util.find_library('c'))
print lib
| Python |
# -*- mode: python -*-
a = Analysis([os.path.join(HOMEPATH,'support/_mountzlib.py'), os.path.join(HOMEPATH,'support/useUnicode.py'), 'test-encoders.py'],
pathex=['/home/rasky/src/pyinstaller/buildtests'])
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
exclude_binaries=1,
name=os.... | Python |
# -*- mode: python -*-
__testname__ = 'test6'
a = Analysis(['../support/_mountzlib.py', 'test6.py'],
pathex=[])
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
exclude_binaries=1,
name=os.path.join('build', 'pyi.' + config['target_platform'], __testname__ + '.exe'),
de... | Python |
# -*- mode: python -*-
a = Analysis([os.path.join(HOMEPATH,'support/_mountzlib.py'), os.path.join(HOMEPATH,'support/useUnicode.py'), 'test-wx.py'],
pathex=[])
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
exclude_binaries=1,
name=os.path.join('build/pyi.win32/test-wx', 't... | Python |
# -*- mode: python -*-
__testname__ = 'test-tkinter_i'
a = Analysis([os.path.join(HOMEPATH,'support', '_mountzlib.py'),
os.path.join(HOMEPATH,'support', 'useUnicode.py'),
__testname__ + '.py'])
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
exclude_binaries=1,
na... | Python |
# -*- mode: python -*-
__testname__ = 'test-ctypes-cdll-c2'
a = Analysis([os.path.join(HOMEPATH,'support', '_mountzlib.py'),
os.path.join(HOMEPATH,'support', 'useUnicode.py'),
__testname__ + '.py'])
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.binaries,
a.zipfiles,
... | Python |
raise RuntimeError
| Python |
x = 2
| Python |
# -*- mode: python -*-
__testname__ = 'test_f_option'
a = Analysis(['../support/_mountzlib.py', 'test_f_option.py'],
pathex=[])
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
[('f','','OPTION')],
exclude_binaries=1,
name=os.path.join('build', 'pyi.' + config['target_p... | Python |
""" pkg2.a defines overridden and a_func """
def a_func():
return "a_func from pkg2.a"
print "pkg2.a imported"
| Python |
""" pkg2 does various namespace tricks, __path__ append """
def notamodule():
return "notamodule from pkg2.__init__"
import os
__path__.append(os.path.join(
os.path.dirname(__file__), 'extra'))
__all__ = ["a", "b", "notamodule"]
| Python |
""" b.py lives in extra, but shows as pkg2.b (and pkg1.b)"""
def b_func():
return "b_func from pkg2.b (pkg2/extra/b.py)"
| Python |
# -*- mode: python -*-
__testname__ = 'test_filename'
a = Analysis(['../support/_mountzlib.py',
'../support/useUnicode.py',
__testname__ + '.py'],
pathex=[])
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
exclude_binaries=1,
name=os.path.... | Python |
# -*- mode: python -*-
a = Analysis([os.path.join(HOMEPATH,'support/_mountzlib.py'),
os.path.join(HOMEPATH,'support/useUnicode.py'),
'test-nestedlaunch1.py'],
pathex=[''])
pyz = PYZ(a.pure)
exe = EXE( pyz,
a.scripts,
a.binaries,
a.zipfiles,
... | Python |
# -*- mode: python -*-
__testname__ = 'test_getfilesystemencoding'
a = Analysis(['../support/_mountzlib.py',
'../support/useUnicode.py',
'test_getfilesystemencoding.py'],
pathex=[])
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
exclude_binaries=1,
n... | Python |
import relimp.B.C
from relimp.F import H
import relimp.relimp1
assert relimp.relimp1.name == 'relimp.relimp1'
assert relimp.B.C.name == 'relimp.B.C'
assert relimp.F.H.name == 'relimp.F.H'
| Python |
# Verify packagin of PIL.Image. Specifically, the hidden import of FixTk
# importing tkinter is causing some problems.
try:
from PIL.Image import fromstring
except ImportError:
fromstring = "PIL missing!! Install PIL before running this test!"
print fromstring
| Python |
from .relimp3b import b1
from .relimp3c import c1
def getString():
return b1.string + c1.string
| Python |
class c1:
string = "... and this"
| Python |
raise ValueError
| Python |
raise ValueError
| Python |
# -*- mode: python -*-
__testname__ = 'test-ctypes-cdll-c'
a = Analysis([os.path.join(HOMEPATH,'support', '_mountzlib.py'),
os.path.join(HOMEPATH,'support', 'useUnicode.py'),
__testname__ + '.py'])
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
exclude_binaries=1... | Python |
# -*- mode: python -*-
__testname__ = 'test_error_during_import'
a = Analysis([os.path.join(HOMEPATH,'support/_mountzlib.py'),
os.path.join(HOMEPATH,'support/useUnicode.py'),
__testname__ + '.py'],
)
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
a.binaries,
... | Python |
# -*- mode: python -*-
__testname__ = 'test-zipimport2'
a = Analysis([os.path.join(HOMEPATH,'support/_mountzlib.py'),
os.path.join(HOMEPATH,'support/useUnicode.py'),
__testname__ + '.py'],
)
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
a.binaries,
... | Python |
# -*- mode: python -*-
__testname__ = 'test-numpy'
a = Analysis([os.path.join(HOMEPATH,'support', '_mountzlib.py'),
os.path.join(HOMEPATH,'support', 'useUnicode.py'),
__testname__ + '.py'])
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
exclude_binaries=1,
... | Python |
# -*- mode: python -*-
a = Analysis([os.path.join(HOMEPATH,'support/_mountzlib.py'), os.path.join(HOMEPATH,'support/useUnicode.py'), 'test-email.py'],
pathex=['/home/rasky/src/pyinstaller/buildtests'])
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
exclude_binaries=1,
name=os.pat... | Python |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import binascii
from Crypto.Cipher import AES
BLOCK_SIZE = 16
def main():
print "AES null encryption, block size", BLOCK_SIZE
# Just for testing functionality after all
print "HEX", binascii.hexlify(AES.new("\0" *
... | Python |
import cmath
if __name__ == "__main__":
print dir()
| Python |
from ..baz import *
| Python |
def say_hello_please():
print "Hello World!" | Python |
from .baz import *
| Python |
# -*- mode: python -*-
import sys
import os
CTYPES_DIR = "ctypes"
TEST_LIB = os.path.join(CTYPES_DIR, "testctypes")
if sys.platform == "linux2":
TEST_LIB += ".so"
elif sys.platform[:6] == "darwin":
TEST_LIB += ".dylib"
elif sys.platform == "win32":
TEST_LIB += ".dll"
else:
raise NotImplementedError
# ... | Python |
# -*- mode: python -*-
__testname__ = 'test4i'
a = Analysis(['../support/_mountzlib.py', 'test4i.py'],
pathex=[])
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
[('u', '', 'OPTION')],
exclude_binaries=1,
name=os.path.join('build', 'pyi.' + config['target_platform'], _... | Python |
# Copyright (C) 2005, Giovanni Bajo
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the... | Python |
# -*- mode: python -*-
__testname__ = 'test12'
a = Analysis(['../support/_mountzlib.py', 'test12.py'],
pathex=[])
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
exclude_binaries=1,
name=os.path.join('build', 'pyi.' + config['target_platform'], __testname__ + '.exe'),
... | Python |
"""
import xml.etree.ElementTree
from copy import copy, deepcopy
import _elementtree
import xml.etree.cElementTree
print dir(xml.etree.cElementTree)
"""
from xml.etree.cElementTree import ElementTree
print "OK"
| Python |
# -*- mode: python -*-
__testname__ = 'test14'
a = Analysis(['../support/_mountzlib.py',
'../support/useUnicode.py',
'test14.py'],
pathex=[])
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
exclude_binaries=1,
name=os.path.join('build', 'pyi.' + confi... | Python |
# -*- mode: python -*-
#!/usr/bin/env python
#
# Copyright (C) 2008 Hartmut Goebel <h.goebel@goebel-consult.de>
# Licence: GNU General Public License version 3 (GPL v3)
#
# This file is part of PyInstaller <http://www.pyinstaller.org>
#
# pyinstaller is free software: you can redistribute it and/or modify
# it under th... | Python |
# -*- mode: python -*-
__testname__ = 'test11'
a = Analysis([os.path.join(HOMEPATH,'support', '_mountzlib.py'),
os.path.join(HOMEPATH,'support', 'useUnicode.py'),
'test11.py'],
pathex=['.'])
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
exclude_binaries=1,
... | Python |
# -*- mode: python -*-
__testname__ = 'test-relative-import3'
a = Analysis([os.path.join(HOMEPATH,'support/_mountzlib.py'),
__testname__ + '.py'],
)
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
name = os.path.join('dist', __test... | Python |
# -*- mode: python -*-
__testname__ = 'test-relative-import'
a = Analysis([os.path.join(HOMEPATH,'support/_mountzlib.py'),
__testname__ + '.py'],
)
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
name = os.path.join('dist', __testn... | Python |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import wx
def main():
app = wx.App(0)
frame = wx.Frame(None, title="Hello World from wxPython")
panel = wx.Panel(frame)
label = wx.StaticText(panel, -1, "Hello World from wxPython")
frame.Fit()
frame.Show()
app.MainLoop()
if __name__ == "__m... | Python |
#!/usr/bin/env python
#
# Copyright (C) 2009, Florian Hoech
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
... | Python |
#
# Copyright (C) 2005, Giovanni Bajo
#
# Based on previous work under copyright (c) 2002 McMillan Enterprises, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the L... | Python |
#! /usr/bin/env python
#
# Wrapper around Configure.py / Makespec.py / Build.py
#
# Copyright (C) 2010, Martin Zibricky
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of th... | Python |
# Copyright (C) 2005, Giovanni Bajo
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the... | Python |
hiddenimports = ['sip', 'PyQt4.QtCore', 'PyQt4._qt']
from hooks.hookutils import qt4_plugins_dir
pdir = qt4_plugins_dir()
datas = [
(pdir + "/script/*.so", "qt4_plugins/script"),
(pdir + "/script/*.dll", "qt4_plugins/script"),
(pdir + "/script/*.dylib", "qt4_plugins/script"),
]
| Python |
# Compiler module (see class DatabaseOperations)
hiddenimports = ["django.db.backends.mysql.compiler"] | Python |
# some modules use the old-style import: explicitly include
# the new module when the old one is referenced
hiddenimports = ["email.mime.text", "email.mime.multipart"]
| Python |
# Copyright (C) 2005, Giovanni Bajo
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the... | Python |
# Copyright (C) 2005, Giovanni Bajo
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the... | Python |
# Copyright (C) 2005, Giovanni Bajo
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the... | Python |
from hooks.hookutils import mpl_data_dir
dir = mpl_data_dir()
datas = [
(dir, ""),
]
| Python |
# Copyright (C) 2005, Giovanni Bajo
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the... | Python |
# empty (just to need Python import machinery happy)
| Python |
# Copyright (C) 2005, Giovanni Bajo
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the... | Python |
# Copyright (C) 2009, Lorenzo Berni
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# ... | Python |
hiddenimports = ['sip', "PyQt4._qt"]
from hooks.hookutils import qt4_plugins_dir
pdir = qt4_plugins_dir()
datas = [
(pdir + "/codecs/*.so", "qt4_plugins/codecs"),
(pdir + "/codecs/*.dll", "qt4_plugins/codecs"),
(pdir + "/codecs/*.dylib", "qt4_plugins/codecs"),
]
| Python |
# Copyright (C) 2005, Giovanni Bajo
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the... | Python |
# Copyright (C) 2010, Giovanni Bajo
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the... | Python |
# Copyright (C) 2009, Lorenzo Berni
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# ... | Python |
# In the new consolidated mode any PyQt depends on _qt
hiddenimports = ['sip', 'PyQt4._qt']
| Python |
# Copyright (C) 2005, Giovanni Bajo
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the... | Python |
# Copyright (C) 2005, Giovanni Bajo
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the... | Python |
hiddenimports = [
"backend_agg",
"backend_cairo",
"backend_cocaagg",
"backend_emf",
"backend_fltkagg",
"backend_gdk",
"backend_gtkagg",
"backend_gtkcairo",
"backend_macosx",
"backend_mixed",
"backend_pdf",
"backend_ps",
"backend_qt4agg",
"backend_qt4",
"backend_qtagg",
"backend_qt",
"backend_svg",
"ba... | Python |
# Copyright (C) 2007, Giovanni Bajo
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the... | Python |
# Copyright (C) 2005, Giovanni Bajo
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the... | Python |
# Copyright (C) 2007, Giovanni Bajo
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the... | Python |
# Copyright (C) 2005, Giovanni Bajo
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the... | Python |
hiddenimports = ['sip', 'PyQt4.QtCore', 'PyQt4._qt']
from hooks.hookutils import qt4_plugins_dir
pdir = qt4_plugins_dir()
datas = [
(pdir + "/imageformats/*.so", "qt4_plugins/imageformats"),
(pdir + "/imageformats/*.dll", "qt4_plugins/imageformats"),
(pdir + "/imageformats/*.dylib", "qt4_plu... | Python |
# codegen generates Python code that is then executed through exec().
# This Python code imports the following modules.
hiddenimports = ['mako.cache', 'make.runtime', 'mako.filters']
| Python |
# Copyright (C) 2005, Giovanni Bajo
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the... | Python |
# Copyright (C) 2005, Giovanni Bajo
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the... | Python |
hiddenimports = ['lxml.etree']
| Python |
hiddenimports = ["django.db.backends.oracle.compiler"]
| Python |
# Copyright (C) 2005, Giovanni Bajo
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the... | Python |
# Copyright (C) 2009, Lorenzo Berni
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the... | Python |
hiddenimports = ['sip', 'PyQt4.QtCore', 'PyQt4.QtGui', 'PyQt4._qt']
| 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.