Skip to content

Instantly share code, notes, and snippets.

View mikepsn's full-sized avatar

MP mikepsn

View GitHub Profile
@mikepsn
mikepsn / subscription_matrix.py
Last active September 9, 2016 10:02
Early prototype for a subscription/observer pattern based simulation architecture from 1997.
"""
A very early prototype for a client/server push/observer type architecture
for a multi-agent simulation I was developing. Some of the ideas were
prototyped in Python 1.4 back in 1997-1998 (from memory).
The actual system was implemented in C++.
(c) Michael Papasimeon, 1998
"""
__author__ = 'mikepsn'
@mikepsn
mikepsn / excelapp.py
Created January 15, 2015 09:37
Interacting with Microsoft Excel from Python using the Win32 COM API (Example Python Code)
"""
An example of using PyWin32 and the win32com library to interact
Microsoft Excel from Python.
This can be used instead of Visual Basic for Applications (VBA)
(c) Michael Papasimeon
"""
import win32com.client