Re: distribute and reference static content in a python package

2012-02-02 Thread Vince Forgetta
I assume this is an appropriate solution to my problem: http://docs.python.org/distutils/setupscript.html#installing-additional-files On Thu, 2012-02-02 at 13:42 -0500, Vince Forgetta wrote: > Hi, > > I have developed a python program that contains multiple python modules > and st

distribute and reference static content in a python package

2012-02-02 Thread Vince Forgetta
mage.png" I am sure there is a more pythonic way of doing this ... Thanks in advance for the help. Vince -- http://mail.python.org/mailman/listinfo/python-list

Re: calculate difference between two timestamps [newbie]

2011-12-17 Thread Vince
On Sat, Dec 17, 2011 at 02:19:44AM -0800, nukeymusic wrote: > I'm trying to calculate the difference in seconds between two > timestamps, but I'm totally stuck: > date1="Dec-13-09:47:12" > date2="Dec-13-09:47:39" > >>> diff=datetime.date(date2)-datetime.date(date1) > Traceback (most recent call las

Re: [Tutor] Help required

2009-09-25 Thread vince spicer
On Fri, Sep 25, 2009 at 1:56 PM, waqas ahmad wrote: > > > Hi, > > I dont know it is the right place to post this question. I need help to > change one search code line . can you help me please. > > here is my search method code: > > search=re.compile("^#acl InternationalGroup.*\n", re.M).search(

Re: Help xxx.py Program Recognition problem

2008-03-09 Thread Vince
On Mar 8, 9:48 am, [EMAIL PROTECTED] wrote: > Hi... > > I was using Python 2.4 and installed 2.5...I copied all my .py files > from the Python24\ root directory to the Python25\ root > directory...when I try to run them by double clicking I get: > "X.py is not a valid Win32 application"... > >

Re: gc question

2008-03-09 Thread Vince
On Mar 9, 1:51 am, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > On Sun, 09 Mar 2008 01:42:01 -0800, vpalexander wrote: > > I keep seeing destructor calls in wx for ad hoc dialogs and wonder if > > this is required, and if so, why would normal gc flow not be good? > > Because there is no gu

Custom PYTHONPATH not being seen by -m

2007-09-18 Thread Vince Castellano
Hello, I am running RHEL5, with Python 2.4.3. I do not experience this problem on my other machines, which are 2.5. The following should demonstrate my issue: [16:38][vince:~]$ python -m srctools.symbol_replace -h python: module srctools.symbol_replace not found [16:40][vince:~]$ python Python