SOAP web services using python. Would like to change the Envelope Document using MessagePlugin before sending it using suds

2013-02-17 Thread sarat . devineni
Hi , My current SOAP request sent via suds.client looks like this: Test This request fails on my server. If i take the same XML request and massage it and send it visa SOAPUI, it works fine. What I did was

Re: Comparing types

2013-02-17 Thread Chris Angelico
On Mon, Feb 18, 2013 at 9:13 AM, Rick Johnson wrote: > And if you look in the modules "_sre.py", "sre_parse.py", and > "sre_constants.py you cannot find the symbol "SRE_Pattern" anywhere -- almost > seems like magic huh? Heck the only "_sre.py" file i could find was wy > down here: > > ...

Re: Struggling with program

2013-02-17 Thread Chris Angelico
On Mon, Feb 18, 2013 at 1:29 PM, maiden129 wrote: > Write the definition of a class Player containing: > An instance variable name of type String , initialized to the empty String. > An instance variable score of type int , initialized to zero. > A method called set_name that has one paramet

Re: Can someone tell me what kinds of questions should be asked in this list and what kinds in the tutor section?

2013-02-17 Thread Chris Angelico
On Mon, Feb 18, 2013 at 4:37 PM, Dennis Lee Bieber wrote: > On Mon, 18 Feb 2013 12:31:44 +1100, Steven D'Aprano > declaimed the following in > gmane.comp.python.general: > >> >> I suggest the Pope, since we know he's infallible, but if he's too old and >> set in his ways for email, perhaps Rick w

Re: news.gmane.org (was Re: Awsome Python - chained exceptions

2013-02-17 Thread Rick Johnson
Terry Reedy udel.edu> writes: > For at least the 10th time, there is little to no excuse for reading and > writing python-list thru google-groups. The news.gmane.org mirror has > multiple interfaces: [Sent from gmane.comp.python.general] Yes you have mentioned this before and for some reason i

news.gmane.org (was Re: Awsome Python - chained exceptions

2013-02-17 Thread Terry Reedy
On 2/18/2013 12:51 AM, Rick Johnson wrote: > if you (or anyone else) would be kind enough to recommend an > alternative to this gawd awful software [google groups], ? i'm all ears. My expectations at minimum are: For at least the 10th time, there is little to no excuse for reading and writing p

Re: Awsome Python - chained exceptions

2013-02-17 Thread Rick Johnson
On Sunday, February 17, 2013 7:35:24 PM UTC-6, alex23 wrote: > Any chance you can stop sending to both comp.lang.python _and_ the > python-list, given the former is a mirror of the later? I apologize for this doubling of my messages and i can assure you i don't do this intentionally. Proper net

Simulation of human body in movement

2013-02-17 Thread Nick Mellor
Hi all, I'm looking for a fairly undetailed simulation of the human body walking and standing. Has anyone had a go at this in cgkit or similar? Thanks, Nick -- http://mail.python.org/mailman/listinfo/python-list

Re: Eric - "No module named MainWindow" - solved

2013-02-17 Thread Phil
On 17/02/13 21:35, Vincent Vande Vyvre wrote: Le 17/02/13 10:08, Phil a écrit : Thank you for reading this. I've been playing with Eric all day and I almost have a working GUI application, but not quite. I have followed the two tutorials on the Eric site and I'm sure that I haven't miss entered

Re: Struggling with program

2013-02-17 Thread Michael Torrie
On 02/17/2013 07:29 PM, maiden129 wrote: > I'm trying to do this assignment and it not working, I don't > understand why... > > This is what I have to do: > > Write the definition of a class Player containing: An instance > variable name of type String , initialized to the empty String. An > i

Re: How to go about with PDF regression

2013-02-17 Thread Jon Reyes
Update: Found out with the Picture Manager by Windows I could view an image 100%, use a tool that measures the windows and get a probably not accurate but still serviceable coordinate to use. I compared with the coordinates I currently have and tried to get it by the above method and the coordin

How to go about with PDF regression

2013-02-17 Thread Jon Reyes
Hey there, so I'm trying to create automated regression for PDFs that will use Selenium RC for the generation and Python for the comparison of PDFs. I will be using pyPdf to rename the files according to their content, ImageMagick to convert the PDFs to images and PIL to actually compare the PDF

Re: Struggling with program

2013-02-17 Thread Dave Angel
On 02/17/2013 09:29 PM, maiden129 wrote: First question: What version of Python are you writing this for? Version 2.x has slightly different rules than version 3.x I'm trying to do this assignment and it not working, I don't understand why... Define "working." Do you mean you get a synt

Struggling with program

2013-02-17 Thread maiden129
I'm trying to do this assignment and it not working, I don't understand why... This is what I have to do: Write the definition of a class Player containing: An instance variable name of type String , initialized to the empty String. An instance variable score of type int , initialized to ze

Re: Tkinter, IDLE keeps crashing

2013-02-17 Thread Ned Deily
In article , Ash Courchene wrote: > I believe I have a MacBook Pro.2.4 GHz Intel Core i5. > I dont think I have any weird color settings or 3rd party extensions... How > can I tell exactly?? By finding the one that crashes Tk - yeah, I know that's not very helpful. But, more seriously, have y

Re: Awsome Python - chained exceptions

2013-02-17 Thread Dave Angel
On 02/17/2013 08:35 PM, alex23 wrote: On Feb 15, 5:51 pm, Rick Johnson wrote: [Ranting nonsense that's appearing in duplicate on usenet] Any chance you can stop sending to both comp.lang.python _and_ the python-list, given the former is a mirror of the later? It might be easier to just tell

Re: Awsome Python - chained exceptions

2013-02-17 Thread alex23
On Feb 15, 5:51 pm, Rick Johnson wrote: [Ranting nonsense that's appearing in duplicate on usenet] Any chance you can stop sending to both comp.lang.python _and_ the python-list, given the former is a mirror of the later? -- http://mail.python.org/mailman/listinfo/python-list

Re: Can someone tell me what kinds of questions should be asked in this list and what kinds in the tutor section?

2013-02-17 Thread Steven D'Aprano
Chris Angelico wrote: > On Mon, Feb 18, 2013 at 11:04 AM, Rick Johnson > wrote: >> However, i believe the whole idea of having more than one mailing list is >> folly anyway. Why? Case in point: this thread! We have a person who is >> not sure which list to post a question, meanwhile the question

Re: Can someone tell me what kinds of questions should be asked in this list and what kinds in the tutor section?

2013-02-17 Thread Chris Angelico
On Mon, Feb 18, 2013 at 11:04 AM, Rick Johnson wrote: > However, i believe the whole idea of having more than one mailing list is > folly anyway. Why? Case in point: this thread! We have a person who is not > sure which list to post a question, meanwhile the question "in question" > remains una

pypi changelog api

2013-02-17 Thread Gregg Caines
Hey all, I'm trying to write a script that tracks changes on pypi, and I've come across the xmlrpc interface, specifically the 'changelog' api. It's definitely what I'm looking for, but I get an absolutely massive xml response from it at once and I was hoping there might be either some way to

Re: Quick IDE Question

2013-02-17 Thread Michael Herman
Yup - check out this post - http://www.chris-granger.com/2012/05/21/the-future-is-specific/ There's a Flask example On Sun, Feb 17, 2013 at 4:56 PM, Andrew Berg wrote: > On 2013.02.17 18:38, Claira wrote: > > Ok, thanks brilliant people! I can't really keep up with the > > conversation about whe

Re: Quick IDE Question

2013-02-17 Thread Andrew Berg
On 2013.02.17 18:38, Claira wrote: > Ok, thanks brilliant people! I can't really keep up with the > conversation about where I should ask since I check my email once a > week, though the quick question I had was that I heard lighttable.com > was an innovative IDE, and since

Re: Quick IDE Question

2013-02-17 Thread Claira
Ok, thanks brilliant people! I can't really keep up with the conversation about where I should ask since I check my email once a week, though the quick question I had was that I heard lighttable.com was an innovative IDE, and since I'm preparing for the future, I just wanted to know if light table

Re: Eric - "No module named MainWindow"

2013-02-17 Thread Phil
On 17/02/13 21:35, Vincent Vande Vyvre wrote: Le 17/02/13 10:08, Phil a écrit : Thank you for reading this. I've been playing with Eric all day and I almost have a working GUI application, but not quite. I have followed the two tutorials on the Eric site and I'm sure that I haven't miss entered

Re: Can someone tell me what kinds of questions should be asked in this list and what kinds in the tutor section?

2013-02-17 Thread Rick Johnson
On Sunday, February 17, 2013 5:10:18 PM UTC-6, Oscar Benjamin wrote: > More > often questions are asked on python-list that would be more > appropriate on python-tutor. I've never seen anyone suggest that a > question be asked on python-tutor when this happens, which is a shame > since the same qu

Re: Tkinter, IDLE keeps crashing

2013-02-17 Thread Ash Courchene
I believe I have a MacBook Pro.2.4 GHz Intel Core i5. I dont think I have any weird color settings or 3rd party extensions... How can I tell exactly?? -- http://mail.python.org/mailman/listinfo/python-list

Re: Can someone tell me what kinds of questions should be asked in this list and what kinds in the tutor section?

2013-02-17 Thread Oscar Benjamin
On 17 February 2013 00:19, Claira wrote: > > Can someone tell me what kinds of questions should be asked in this list and > what kinds in the tutor section? If you're unsure just ask on python-tutor. If the question is not appropriate there, you'll be offered suggestions for where it would be ap

Re: Tkinter, IDLE keeps crashing

2013-02-17 Thread Ned Deily
In article , Ned Deily wrote: > In article <9d367487-4846-4caa-85e7-08ac570b4...@googlegroups.com>, > Ash Courchene wrote: > > So I've actually had this problem for awhile, and I cant seem to get > > anything > > to work. I've followed all the steps & procedures that my google searches > > h

Re: Comparing types

2013-02-17 Thread Rick Johnson
On Sunday, February 17, 2013 12:34:57 AM UTC-6, Jason Friedman wrote: > [...] > py> my_pattern = re.compile(s) > py> type(my_pattern) > > py> isinstance(my_pattern, _sre.SRE_Pattern) > Traceback (most recent call last): > File "", line 1, in > NameError: name '_sre' is not defined Both Steven

Re: Tkinter, IDLE keeps crashing

2013-02-17 Thread Ned Deily
In article <9d367487-4846-4caa-85e7-08ac570b4...@googlegroups.com>, Ash Courchene wrote: > So I've actually had this problem for awhile, and I cant seem to get anything > to work. I've followed all the steps & procedures that my google searches > have provide me, but I can't seem to get the Tki

Tkinter, IDLE keeps crashing

2013-02-17 Thread Ash Courchene
Hey, So I've actually had this problem for awhile, and I cant seem to get anything to work. I've followed all the steps & procedures that my google searches have provide me, but I can't seem to get the Tkinter module or the Python IDLE IDE to work. For instance, if I click IDLE on my mac, it'l

Re: Can someone tell me what kinds of questions should be asked in this list and what kinds in the tutor section?

2013-02-17 Thread Rick Johnson
On Sunday, February 17, 2013 3:44:29 AM UTC-6, Tim Golden wrote: > On 17/02/2013 00:19, Claira wrote: > > Can someone tell me what kinds of questions should be asked in this > > list and what kinds in the tutor section? > > There's no clear-cut distinction. The rule of thumb I usually > apply is t

Re: request of information

2013-02-17 Thread Michael Herman
There's a syntax error at line 1 of circle.py. Try running circle.py, you'll get more information about the error - http://docs.python.org/2/tutorial/errors.html If you can't figure it out, post your code for circle.py. On Sun, Feb 17, 2013 at 10:47 AM, leonardo selmi wrote: > > > > > > > > > >

Re: request of information

2013-02-17 Thread Jason Swails
On Sun, Feb 17, 2013 at 1:47 PM, leonardo selmi wrote: > > > > > > > > > > >> gentlemen: > >> > >> i am reading a book about python and now i am blocked, i can't store > functions in modules: i have a mac and am using version 2.7.3, i have > created a function and want to save it as a file using

Re: Recording live video stream from IP camera issue

2013-02-17 Thread Xavier Ho
Hi Sam, Did you compile your OpenCV with gstreamer? That's where I'd look first. Cheers, Xav On 18 February 2013 01:15, Sam Berry wrote: > Hi Xav, > > Iv been looking into OpenCV, i can easily stream my laptops webcam using > this code. > > import cv2 > > cv2.namedWindow("preview") > > vc =

request of information

2013-02-17 Thread leonardo selmi
> > > > >> gentlemen: >> >> i am reading a book about python and now i am blocked, i can't store >> functions in modules: i have a mac and am using version 2.7.3, i have >> created a function and want to save it as a file using "idle", i have saved >> it with .py , when i try to import th

Re: A new webpage promoting Compiler technology for CPython

2013-02-17 Thread Thomas Heller
Am 15.02.2013 08:11, schrieb Travis Oliphant: Hey all, With Numba and Blaze we have been doing a lot of work on what essentially is compiler technology and realizing more and more that we are treading on ground that has been plowed before with many other projects. So, we wanted to create a web

Re: Eric - "No module named MainWindow"

2013-02-17 Thread Vincent Vande Vyvre
Le 17/02/13 16:13, Joel Goldstick a écrit : > > > > On Sun, Feb 17, 2013 at 6:35 AM, Vincent Vande Vyvre > mailto:vincent.vandevy...@swing.be>> wrote: > > Le 17/02/13 10:08, Phil a écrit : > > Thank you for reading this. > > > > I've been playing with Eric all day and I almost have

Re: Eric - "No module named MainWindow"

2013-02-17 Thread Joel Goldstick
On Sun, Feb 17, 2013 at 6:35 AM, Vincent Vande Vyvre < vincent.vandevy...@swing.be> wrote: > Le 17/02/13 10:08, Phil a écrit : > > Thank you for reading this. > > > > I've been playing with Eric all day and I almost have a working GUI > > application, but not quite. I have followed the two tutoria

ezmlm warning

2013-02-17 Thread g09-help
Bonjour ! Je suis le programme ezmlm. Je m'occupe de la liste de diffusion g...@09balance.com. Un certain nombre de messages provenant de la liste de diffusion <#l> n'ont pas pu vous etre remis correctement. En attachement, vous trouverez une copie du premier message de retour a l'envoyeur que j'

Re: Recording live video stream from IP camera issue

2013-02-17 Thread Sam Berry
Hi Xav, Iv been looking into OpenCV, i can easily stream my laptops webcam using this code. import cv2 cv2.namedWindow("preview") vc = cv2.VideoCapture(0) if vc.isOpened(): # try to get the first frame rval, frame = vc.read() else: rval = False while rval: cv2.imshow("preview", f

Re: Eric - "No module named MainWindow"

2013-02-17 Thread Vincent Vande Vyvre
Le 17/02/13 10:08, Phil a écrit : > Thank you for reading this. > > I've been playing with Eric all day and I almost have a working GUI > application, but not quite. I have followed the two tutorials on the > Eric site and I'm sure that I haven't miss entered anything and so I > think the error is

Eric - "No module named MainWindow"

2013-02-17 Thread Phil
Thank you for reading this. I've been playing with Eric all day and I almost have a working GUI application, but not quite. I have followed the two tutorials on the Eric site and I'm sure that I haven't miss entered anything and so I think the error is the result of something missing from my s

Re: Can someone tell me what kinds of questions should be asked in this list and what kinds in the tutor section?

2013-02-17 Thread Tim Golden
On 17/02/2013 00:19, Claira wrote: Can someone tell me what kinds of questions should be asked in this list and what kinds in the tutor section? There's no clear-cut distinction. The rule of thumb I usually apply is that questions about the *language* (its syntax, its usage, its idioms etc.) an

Re: Comparing types

2013-02-17 Thread Terry Reedy
On 2/17/2013 1:34 AM, Jason Friedman wrote: I want to tell whether an object is a regular expression pattern. Python 3.2.3 (default, Oct 19 2012, 20:10:41) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. import re s = "hello" type(s) isinstance(s,

Can someone tell me what kinds of questions should be asked in this list and what kinds in the tutor section?

2013-02-17 Thread Claira
Can someone tell me what kinds of questions should be asked in this list and what kinds in the tutor section? -- http://mail.python.org/mailman/listinfo/python-list

Re: Calendar module question

2013-02-17 Thread Phil
On 17/02/13 18:40, James Griffin wrote: - Phil [2013-02-17 17:47:15 +1000] - : Thank you for reading this. My adventures with Python have just begun and during the few weeks I have tried many IDEs. The following piece of code fails under all IDEs, and the interpreter, except under the

Re: Calendar module question

2013-02-17 Thread James Griffin
- Phil [2013-02-17 17:47:15 +1000] - : > Thank you for reading this. > > My adventures with Python have just begun and during the few weeks I > have tried many IDEs. The following piece of code fails under all > IDEs, and the interpreter, except under the Wing IDE. > > Why would this co

Re: Calendar module question

2013-02-17 Thread Phil
On 17/02/13 18:01, Andrew Berg wrote: On 2013.02.17 01:47, Phil wrote: Why would this code work under the Wing IDE and nowhere else? Could there be a different calendar module included with Wing? import calendar cal = calendar.prcal(2013) print cal Traceback (most recent call last): File

Re: Comparing types

2013-02-17 Thread Steven D'Aprano
Jason Friedman wrote: > I want to tell whether an object is a regular expression pattern. > > Python 3.2.3 (default, Oct 19 2012, 20:10:41) > [GCC 4.6.3] on linux2 > Type "help", "copyright", "credits" or "license" for more information. import re s = "hello" type(s) > isinsta

Re: Calendar module question

2013-02-17 Thread Chris Rebert
On Saturday, February 16, 2013, Phil wrote: > Thank you for reading this. > > My adventures with Python have just begun and during the few weeks I have > tried many IDEs. The following piece of code fails under all IDEs, and the > interpreter, except under the Wing IDE. > > Why would this code wor

Re: Calendar module question

2013-02-17 Thread Andrew Berg
On 2013.02.17 01:47, Phil wrote: > Why would this code work under the Wing IDE and nowhere else? Could > there be a different calendar module included with Wing? > > import calendar > > cal = calendar.prcal(2013) > print cal > > Traceback (most recent call last): >File "calendar.py", line 1