How to define metaclass for a class that extends from sqlalchemy declarative base ?

2013-07-02 Thread Ven
I use: Python 2.6 and sqlalchemy 0.6.1 This is what I am trying to do: from sqlalchemy.types import ( Integer, String, Boolean ) from sqlalchemy.ext.declarative import declarative_base Base = declarative_base() class Sample

Calling a matlab gui from python using pymatlab without allowing python to close it

2011-06-08 Thread Ven
Before proceeding further, my system configuration is as follows: Mac OS X 10.6.6 MATLAB 2010b ActiveState Python 2.7 I have a gui built using matlab. I wrote the following python script to open that matlab gui using pymatlab python module: from pymatlab.matlab import MatlabSession session = M

Button Label change on EVT_BUTTON in wxpython!!!

2011-08-28 Thread Ven
Some system info before proceeding further: Platform: Mac OS X 10.7.1 Python Version: ActiveState Python 2.7.1 wxPython Version: [url=http://downloads.sourceforge.net/wxpython/ wxPython2.9-osx-2.9.2.1-cocoa-py2.7.dmg]wxPython2.9-osx-cocoa-py2.7[/ url] I want the button label to be changed while p

Item Checking not possible with UltimateListCtrl in ULC_VIRTUAL mode

2011-12-22 Thread Ven
Following is the system and software info Platforms: Windows XP and OSX Lion Activestate Python 2.7.2 wxPython2.9-osx-cocoa-py2.7 (for OSX) wxPython2.9-win32-py27 (for Windows XP) I am trying to create a UltimateListCtrl using ULC_VIRTUAL and ULC_REPORT mode. I would like to know how can I put a

Re: Freesoftware for auto/intelligent code completing in Python

2008-07-02 Thread Ivan Ven Osdel
directly http://pythonide.stani.be/ or creating a plugin for Geany http://geany.uvena.de/ Ivan Ven Osdel Software Engineer http://www.datasyncsuite.com/ - Original Message - From: "Ali Servet Dönmez" <[EMAIL PROTECTED]> To: python-list@python.org Sent: Wednesday, July

Re: Freesoftware for auto/intelligent code completing in Python

2008-07-02 Thread Ivan Ven Osdel
ng in Python On Jul 2, 7:55 pm, Ivan Ven Osdel <[EMAIL PROTECTED]> wrote: > The free Python editors/IDEs really do need work as far as code completion > goes but I am hopeful. > > IMO Stani's Python Editor comes closest by providing some code sense through > a combina

Re: Freesoftware for auto/intelligent code completing in Python

2008-07-03 Thread Ivan Ven Osdel
com/ >http://www.trypython.org/ According to the site, Wings 101 doesn't support "Auto-completion for Python and extension modules" but I agree that Wings is worth it if he (or his company) can afford the license(s). If not then he should at least contribute time or money to one of the free (as in free speech, not free beer) alternatives. Ivan Ven Osdel http://www.datasyncsuite.com/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Freesoftware for auto/intelligent code completing in Python

2008-07-07 Thread Ivan Ven Osdel
>- Original Message - >From: "Python Nutter" <[EMAIL PROTECTED]> >To: "Ivan Ven Osdel" <[EMAIL PROTECTED]> >Cc: python-list@python.org >Sent: Thursday, July 3, 2008 5:56:32 PM GMT -06:00 US/Canada Central >Subject: Re: Freesoftware for

Re: Using Python To Launch Python

2008-07-14 Thread Ivan Ven Osdel
has had the need to >perform a task similar to this one. >AHA Simplest case: >>> import os >>> os.system("/path/to/your/python app.py") Obviously things can be shortened by adding to the PATH. Ivan Ven Osdel Software Engineer http://datasyncsuite.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Framework recommendations for web service?

2008-07-16 Thread Ivan Ven Osdel
few months to get there but eventually it will be a built-in :) - Sylvain" -- Ivan Ven Osdel Senior Software Engineer http://datasyncsuite.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Framework recommendations for web service?

2008-07-16 Thread Ivan Ven Osdel
;take a few months to get there but eventually it will be >a built-in :) > >- Sylvain" My apologies, it appears that post was from 2006! -- Ivan Ven Osdel Senior Software Engineer http://datasyncsuite.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Agnostic fetching

2008-08-04 Thread Ivan Ven Osdel
#file exists urlParts = urlparse(fileUrlPath) host = urlParts[1] http = httplib.HTTP(host) http.putrequest("HEAD", fileUrlPath) http.putheader("Host", host) http.endheaders() errorcode, errormessage, headers = http.getre