QT4

2009-01-14 Thread Stephen Chapman
Hey, looks like Nokia bought Qt and solved the Open Source/Commercial 
license issue: 
http://rss.slashdot.org/~r/Slashdot/slashdot/~3/A4br-rQA460/article.pl 



I wonder if pyqt will follow suit...
--
http://mail.python.org/mailman/listinfo/python-list


Re: PyQt4 on Windows ?

2009-01-19 Thread Stephen Chapman
I have one running.  actually use freezer to create an exe for it in 
windows. 
http://www.riverbankcomputing.co.uk/software/pyqt/download
That will tell you how to get started. 
The app I wrote uses Pryro(with middleware server on a linux machine).  
And I use the standard widgets

that qt has grid, table , combobox etc


Linuxguy123 wrote:

What does it take to get a PyQt4 application running on a Windows
machine ?

I'm sorry if this is a redundant question, but I've searched this and I
am not finding a comprehensive answer.

If anyone is running a PyQt4 application on a Windows (XP or Vista)
machine, I'd love to know how it works for you and how extensive the
application is and how much of the Qt library it uses.

Thanks

--
http://mail.python.org/mailman/listinfo/python-list


  


--
http://mail.python.org/mailman/listinfo/python-list


Quickbooks

2009-01-28 Thread Stephen Chapman
Has anyone Implemented the Quickbooks  COM object in Python.  If so can 
you give me

an Idea of where to begin.
Thanks
--
http://mail.python.org/mailman/listinfo/python-list


ZSI - ServiceContainer

2008-12-28 Thread Stephen Chapman
Does Anyone know how to Make the ServiceContainer work under SSL

Thanks
--
http://mail.python.org/mailman/listinfo/python-list


Re: mod_python: delay in files changing after alteration

2009-01-05 Thread Stephen Chapman
I have never noticed any such delay. After making a change I just hit
F5 on my browser and its fine.  Maybe its a browser issue



On 1/5/09, psaff...@googlemail.com  wrote:
> Maybe this is an apache question, in which case apologies.
>
> I am running mod_python 3.3.1-3 on apache 2.2.9-7. It works fine, but
> I find that when I alter a source file during development, it
> sometimes takes 5 seconds or so for the changes to be seen. This might
> sound trivial, but when debugging tens of silly errors, it's annoying
> that I have to keep hitting refresh on my browser waiting for the
> change to "take". I'm guessing this is just a caching issue of some
> kind, but can't figure out how to switch it off. Any suggestions?
>
> The entry in my apache2.conf looks like this:
>
> 
>SetHandler mod_python
>PythonHandler mod_python.publisher
>PythonDebug On
> 
>
>
> Thanks,
>
> Peter
> --
> http://mail.python.org/mailman/listinfo/python-list
>

-- 
Sent from Gmail for mobile | mobile.google.com
--
http://mail.python.org/mailman/listinfo/python-list


Re: formatted 'time' data in calculations

2009-01-07 Thread Stephen Chapman
Here is how I have done adjustments to time in the past.  This is mostly 
Date related but it may help


today = datetime.date.today()
wkdiff = datetime.timedelta(weeks=1)
daydiff = datetime.timedelta(days=1)
startdate=(today-wkdiff)-daydiff

this will subtract 1 week and 1 day from today.
Stephen


Ross wrote:
There seems to be no shortage of information around on how to use the 
time module, for example to use time.ctime() and push it into strftime 
and get something nice out the other side, but I haven't found 
anything helpful in going the other way.


That is, given some formatted text describing times - is there 
something that makes it easy to calculate time differences, or do I 
have to index my way through the string pulling out characters, 
converting to integers etc...


Data is formatted:

   t1 = 09:12:10
   t2 = 11:22:14

I want to calculate tdiff = t2-t1

Any suggestions? (Thanks for anything you can offer)

-Ross
--
http://mail.python.org/mailman/listinfo/python-list




--
http://mail.python.org/mailman/listinfo/python-list


Re: Authorize.net integration problem

2009-03-31 Thread Stephen Chapman
Are they expecting the results in a specific order... because as you 
probably know a dictionary is never in the order that you add the items.


Lakshman Prasad wrote:

Yup. Unusual, it is.

But thats how their string specification syntax is. It includes a ^ at 
the end.



On Tue, Mar 31, 2009 at 6:13 PM, andrew cooke > wrote:



have you printed msg and checked it is formatted correctly?  i
have node
idea what the protocol is, but your use of join and string
concatenation
in the generation of msg looks unusual to me.

andrew

Lakshman wrote:
> I am trying to integrate Authorize.net SIM API into django views.
>
> I am facing a problem in the fingerprint generation. I am repeatedly
> getting that the fingerprint generated doesn't match the one the
> server generates.
>
> I have generated the md5 hash with the key provided as specified in
> the SIM documentation.
>
> Here is the code:
>
> params = {
> 'x_login' : '4ffrBT36La',
> 'x_amount' : '100.00',
> 'x_show_form' : 'PAYMENT_FORM',
> 'x_type' : 'AUTH_CAPTURE',
> 'x_method' : 'CC',
> 'x_fp_sequence' : '123',
> 'x_version' : '3.1',
> 'x_relay_response' : 'FALSE',
> }
> params['x_fp_timestamp'] = int(time.time())
>
> msg = '^'.join([params['x_login'],
>str(params['x_fp_sequence']),
>str(params['x_fp_timestamp']),
>str(params['x_amount'])
>])+'^'
>
> fingerprint = hmac.new('9LyEU8t87h9Hj49Y',msg).hexdigest()
>
>
> I would be glad if some one that has dealt with this earlier, points
> out what the glitch is. Thanks in advance.
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>





--
Regards,
Lakshman
becomingguru.com 
lakshmanprasad.com 


--
http://mail.python.org/mailman/listinfo/python-list
  


--
http://mail.python.org/mailman/listinfo/python-list