This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: mbcs -*- | |
# Created by makepy.py version 0.5.00 | |
# By python version 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] | |
# From type library 'Memtool.dll' | |
# On Fri Apr 09 15:43:58 2010 | |
"""Infineon Memtool 1.0 Type Library""" | |
makepy_version = '0.5.00' | |
python_version = 0x20605f0 | |
import win32com.client.CLSIDToClass, pythoncom, pywintypes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Konstanten "Variablen" | |
Bsp.: const int maxPlayers; | |
Mit const wird eine Variable als "nicht schreibbar" deklariert. | |
Zuweisungen sind nicht möglich. Jede const-Variable muß initialisiert | |
werden, mit "=" oder mit einem Konstruktor. | |
Bsp.: const int maxPlayers = 2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iMac:PC markus$ brew install pyqt | |
==> Downloading http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-mac-gpl-4.7.4.tar.gz | |
File already downloaded and cached to /Users/markus/Library/Caches/Homebrew | |
==> python ./configure.py --confirm-license --bindir=/usr/local/Cellar/pyqt/4.7.4/bin --destdir=/usr/local/Cellar/pyqt/4 | |
==> make | |
g++ -c -pipe -fno-strict-aliasing -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -fPIC -Wall -W -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Cellar/qt/4.6.3/mkspecs/macx-g++ -I. -I/usr/local/Cellar/qt/4.6.3/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.6.3/include/QtCore -I/usr/local/Cellar/qt/4.6.3/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.6.3/include/QtGui -I/usr/local/Cellar/qt/4.6.3/include -I/usr/local/Cellar/sip/4.10.5/include -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -I../../QtCore -I. -I. -F/usr/local/Cellar/qt/4.6.3/lib -o qpycore_chimera.o qpycore_chimera.cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Last login: Mon Aug 16 22:18:24 on ttys000 | |
iMac:~ markus$ pip install Downloads/scipy-0.8.0.tar.gz | |
Unpacking ./Downloads/scipy-0.8.0.tar.gz | |
Running setup.py egg_info for package from file:///Users/markus/Downloads/scipy-0.8.0.tar.gz | |
Warning: No configuration returned, assuming unavailable.blas_opt_info: | |
FOUND: | |
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] | |
define_macros = [('NO_ATLAS_INFO', 3)] | |
extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers'] | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iMac:Downloads markus$ pip install numpy-1.5.0b2.tar.gz | |
Unpacking ./numpy-1.5.0b2.tar.gz | |
Running setup.py egg_info for package from file:///Users/markus/Downloads/numpy-1.5.0b2.tar.gz | |
Running from numpy source directory.non-existing path in '/private/var/folders/EG/EGnJWd+UFl0RvxFixXPF7++++TI/-Tmp-/pip-ptRUoY-build/numpy/distutils': 'site.cfg' | |
F2PY Version 1 | |
blas_opt_info: | |
FOUND: | |
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] | |
define_macros = [('NO_ATLAS_INFO', 3)] | |
extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Last login: Thu Aug 19 19:10:56 on ttys000 | |
iMac:~ markus$ cd Downloads/scipy-0.8.0 | |
iMac:scipy-0.8.0 markus$ python setup.py install | |
Warning: No configuration returned, assuming unavailable.blas_opt_info: | |
FOUND: | |
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] | |
define_macros = [('NO_ATLAS_INFO', 3)] | |
extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers'] | |
lapack_opt_info: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: UTF-8 -*- | |
""" | |
Copyright (C) 2011, Markus Hubig <[email protected]> | |
This file is part of IMPLib2 a small Python library implementing | |
the IMPBUS-2 data transmission protocol. | |
IMPLib2 is free software: you can redistribute it and/or modify | |
it under the terms of the GNU Lesser General Public License as |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Thread(QThread): | |
dataReady = Signal(object) | |
def run(self): | |
while True: | |
self.data = slowly_produce_data() | |
# this will add a ref to self.data and avoid the destruction | |
self.dataReady.emit(self.data) | |
class Widget(QWidget): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Binary(object): | |
def __init__(self, bits): | |
self._bits = bits | |
def write(self, device): | |
device.write(self._bits) | |
def read(self, device, length): | |
self._bits = device.read(length) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Background(object): | |
def __init__(self): | |
self.color = "black" | |
def handle(self, handler): | |
handle.do(self) | |
class Handler(object): | |
def do(self, object): |
OlderNewer