How to distribute python console program

2014-06-21 Thread Nicholas Cannon
I have a simple program that is ran in the console with 2 modules and i was wondering how i could like export it so i could give it to someone to use as like a utlitie in the console? -- https://mail.python.org/mailman/listinfo/python-list

Re: py2app dependency determination?

2014-06-21 Thread Steven D'Aprano
On Sat, 21 Jun 2014 16:50:22 -0800, john wrote: > Hi, trying to get py2app to work. It keeps saying that we need > Pillow-PIL, which is wrong. And, anyways, Pillow-PIL fails to install. > > The program works fine as a normal python script, and it doesn't use > Pillow- PIL. Any ideas? Yes. (1) S

py2app dependency determination?

2014-06-21 Thread john
Hi, trying to get py2app to work. It keeps saying that we need Pillow-PIL, which is wrong. And, anyways, Pillow-PIL fails to install. The program works fine as a normal python script, and it doesn't use Pillow- PIL. Any ideas? thanks -- https://mail.python.org/mailman/listinfo/python-list

[RELEASE] Nevow 0.11.1

2014-06-21 Thread exarkun
Hello, I'm pleased to announce the release of Nevow 0.11.1. Nevow is a web application construction kit written in Python and based on Twisted. It is designed to allow the programmer to express as much of the view logic as desired in Python, and includes a pure Python XML expression syntax na

Understanding Python Code[Forward_Backward_Wikipedia]

2014-06-21 Thread subhabangalore
On Friday, June 20, 2014 12:37:01 AM UTC+5:30, Ian wrote: > On Thu, Jun 19, 2014 at 12:44 PM, wrote: > > > Dear Group, > > > Generally most of the issues are tackled here, but as I am trying to cross > > check my understanding I found another question, > > > > > > f_curr[st] = e[st][x_i] * p

Re: beginners python mail list

2014-06-21 Thread Dog Walker
On Sat, Jun 21, 2014 at 8:43 AM, Noah wrote: > Is there a beginners python mail list? > ​Tutor maillist - tu...@python.org​ -- I have seen the future and I'm not in it! -- https://mail.python.org/mailman/listinfo/python-list

beginners python mail list

2014-06-21 Thread Noah
HI there, I have some amateur python questions. Is there a beginners python mail list? Cheers, Noah -- https://mail.python.org/mailman/listinfo/python-list

Re: python 3.44 float addition bug?

2014-06-21 Thread Ned Deily
In article , Chris Angelico wrote: > Also, when you're looking at how things print out, consider looking at > two things: the str() and the repr(). Sometimes just "print(p)" > doesn't give you all the info, so you might instead want to write your > loop thus: > > z = 0.01 > p = 0.0 > for i in r

Re: comtypes

2014-06-21 Thread peter . balazovic
I uses pywin32 >>> import win32com.client >>> fm = win32com.client.Dispatch("MCB.PCM") >>> fm.ReadVariable('dwt') (True, 0.0250037252903, u'0.025', u'') and I am getting it OK. Now I am trying to add and register event handler and no luck yet :( >>> ev = win32com.client.WithEvents(fm, evnt

Re: comtypes

2014-06-21 Thread Thomas Heller
Am 21.06.2014 09:08, schrieb peter.balazo...@emspin.com: Dears, I am not sure I am at right place here. Now I've started working with comtypes 1.1.0 package within python 2.7.6.1. I have ActiveX COM object I want access and work with it. I do following from comtypes.client import CreateObjec

Re: comtypes

2014-06-21 Thread peter . balazovic
Hmm, I did that - oleviewer says [id(0x60020002)] HRESULT ReadVariable( [in] VARIANT bsVar, [out, optional] VARIANT* vValue, [out, optional] VARIANT* tValue, [out, optional] VARIANT* bsRetMsg, [out, retval] VARIANT

Re: comtypes

2014-06-21 Thread John Gordon
In <7b0712bf-68b0-4183-860d-2a39d22b6...@googlegroups.com> peter.balazo...@emspin.com writes: > >> print dwt > (, > , > , True) > > by using print gives me return values. I want to access return data > (array)and variable. How can I correctly handle it? You can use help() and dir() to displa

Re: python 3.44 float addition bug?

2014-06-21 Thread Grant Edwards
On 2014-06-21, FraserL wrote: > I'm not hugely accustomed to Python, but this seems crazy to me. Both are producing the same floating point numbers, Python just changed the way they're printed. One version doesn't show you all the digits, the other does. -- Grant -- https://mail.python.org/

comtypes

2014-06-21 Thread peter . balazovic
Dears, I am not sure I am at right place here. Now I've started working with comtypes 1.1.0 package within python 2.7.6.1. I have ActiveX COM object I want access and work with it. I do following >> from comtypes.client import CreateObject >> fm = CreateObject("MCB.PCM") >> dwt = fm.ReadVariab