Skip to content

Instantly share code, notes, and snippets.

View fzumstein's full-sized avatar

Felix Zumstein fzumstein

View GitHub Profile
@fzumstein
fzumstein / Numpy_Test.py
Created February 21, 2013 19:26
Minimalistic PyQt/NumPy sample with cx_Freeze setup file to show that the frozen app doesn't work with NumPy 1.7.0 under Python 2.7.3: It gives the following error: ...numpy\__init__.py", line 147, in <module> from core import * AttributeError: 'module' object has no atttribute 'sys' ----With NumPy 1.6.2 it works fine though.
from PyQt4.QtGui import QDialog, QLabel, QVBoxLayout, QApplication
import sys
import numpy
class Form(QDialog):
def __init__(self, parent=None):
super(Form, self).__init__(parent)
# PyQt4 Layout