SOAPpy and ArrayOfString

2007-01-21 Thread icius
Hello all, I am trying to use a web services API with Python and SOAPpy as a client. Some of the method paramters in this web service's WSDL are asking for an "ArrayOfString" type. Here is my code so far: #!/usr/bin/python from SOAPpy import WSDL wsdlFile = 'http://localhost:8080/axis/services

mmap caching

2007-01-21 Thread George Sakkis
I've been trying to track down a memory leak (which I initially attributed erroneously to numpy) and it turns out to be caused by a memory mapped file. It seems that mmap caches without limit the chunks it reads, as the memory usage grows to several hundreds MBs according to the Windows task manage

Re: A solution to the MSVCRT vs MSVCR71 problem?

2007-01-21 Thread Gabriel Genellina
At Sunday 21/1/2007 00:07, sturlamolden wrote: Solution to problem 1: Compile with your compiler or choice, never mind which CRT are used. Use a 'dumpbin' program, find all references to msvcrt in the binary DLL file. Create a dll with name "py_crt" that exports these functions but redirects th

Re: A solution to the MSVCRT vs MSVCR71 problem?

2007-01-21 Thread Martin v. Löwis
Gabriel Genellina schrieb: > This would only work, if runtime dll's were compatibles between them, > and they are not. You can't blindly redirect a call to msvcr71.__xyz to > msvcr80.__xyz and expect that to work magically - it may have a > different number of arguments, or different types, or even

***** See my Cam *****

2007-01-21 Thread Eds Daughter
http://clippay.blogspot.com    True Pooper... -- http://mail.python.org/mailman/listinfo/python-list

Re: A solution to the MSVCRT vs MSVCR71 problem?

2007-01-21 Thread Gabriel Genellina
At Sunday 21/1/2007 05:38, Martin v. Löwis wrote: >Gabriel Genellina schrieb: > > This would only work, if runtime dll's were compatibles between them, > > and they are not. You can't blindly redirect a call to msvcr71.__xyz to > > msvcr80.__xyz and expect that to work magically - it may have a >

Re: Number methods

2007-01-21 Thread Ziga Seilnacht
Nick Maclaren wrote: > I can't find any description of these. Most are obvious, but some > are not. Note that this is from the point of view of IMPLEMENTING > them, not USING them. Specifically: The Python equivalents of these methods are described in the reference manual: http://docs.python.or

Re: selective logger disable/enable

2007-01-21 Thread Vinay Sajip
Gary Jefferson wrote: > Thanks for the reply Vinay. I had been reading those docs prior to > posting, but addFilter/removeFilter only work on individual logger > instances and handlers. I want to globally enable/disable multiple > logger instances, based on their namespaces (see the example I >

Is any python like linux shell?

2007-01-21 Thread Frank Potter
I learned some python in windows. And now I've turned to linux. I read a book and it teaches how to write shell script with bash, but I don't feel like the grammar of bash. Since I know about python, I want to get a linux shell which use python grammar. I searched by google and I found pysh, which

Re: Is any python like linux shell?

2007-01-21 Thread George Sakkis
Frank Potter wrote: > I learned some python in windows. > And now I've turned to linux. > I read a book and it teaches how to write shell script with bash, > but I don't feel like the grammar of bash. > Since I know about python, > I want to get a linux shell which use python grammar. > I searched

Re: A solution to the MSVCRT vs MSVCR71 problem?

2007-01-21 Thread sturlamolden
Gabriel Genellina wrote: > This would only work, if runtime dll's were compatibles between them, > and they are not. It is standard C, defined by ANSI and ISO. -- http://mail.python.org/mailman/listinfo/python-list

Re: A solution to the MSVCRT vs MSVCR71 problem?

2007-01-21 Thread Martin v. Löwis
Gabriel Genellina schrieb: > That's a good thing - but is this just by accident, or is documented > somewhere? It's documented somewhere (although I can't find the documentation right now - it explains how you can link object files from a static library compiled with an older compiler version agai

Re: A solution to the MSVCRT vs MSVCR71 problem?

2007-01-21 Thread Martin v. Löwis
sturlamolden schrieb: >> This would only work, if runtime dll's were compatibles between them, >> and they are not. > > It is standard C, defined by ANSI and ISO. ANSI and ISO don't define the ABI, though. For example, the definition of the FILE type might (and does) vary across compilers, even

Re: mmap caching

2007-01-21 Thread Nick Craig-Wood
George Sakkis <[EMAIL PROTECTED]> wrote: > I've been trying to track down a memory leak (which I initially > attributed erroneously to numpy) and it turns out to be caused by a > memory mapped file. It seems that mmap caches without limit the chunks > it reads, as the memory usage grows to seve

Python Windows Editors

2007-01-21 Thread W. Watson
I downloaded python-2.5.msi and installed it. I believe its editor is IDE. I understand there's a Win editor called pythonwin. I believe it's in the download pywin32-210.win32-py2.5.exe, but I'm not sure if this exe file has just the editor or all of Python. Comments? If not how do I get the Py

Beginners Tutorial in PDF Format?

2007-01-21 Thread W. Watson
I'd like to print a tutorial in one fell swoop, but it seems most on the various sites are page by page embedded descriptions in the page. Any available as a pdf? Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. tim

Accessing class variables in staticmethods.

2007-01-21 Thread Ramashish Baranwal
Hi, I want to access a static variable in a staticmethod. The variable can be redefined by derived classes and that should be reflected in base's staticmethod. Consider this trivial example- class Base: staticvar = 'Base' @staticmethod def printname(): # this doesn't work

Re: Accessing class variables in staticmethods.

2007-01-21 Thread Sam
On 21 Jan 2007 12:49:17 -0800, Ramashish Baranwal <[EMAIL PROTECTED]> wrote: > class Base: > staticvar = 'Base' > > @staticmethod > def printname(): > # this doesn't work > # print staticvar > # this does work but derived classes wouldn't behave as I want >

Re: mmap caching

2007-01-21 Thread George Sakkis
Nick Craig-Wood wrote: > George Sakkis <[EMAIL PROTECTED]> wrote: > > I've been trying to track down a memory leak (which I initially > > attributed erroneously to numpy) and it turns out to be caused by a > > memory mapped file. It seems that mmap caches without limit the chunks > > it reads,

Re: Beginners Tutorial in PDF Format?

2007-01-21 Thread Robert Hicks
W. Watson wrote: > I'd like to print a tutorial in one fell swoop, but it seems most on the > various sites are page by page embedded descriptions in the page. Any > available as a pdf? > > Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA) > (121.015 Deg. W, 39.26

Re: mmap caching

2007-01-21 Thread Martin v. Löwis
George Sakkis schrieb: > I've been trying to track down a memory leak (which I initially > attributed erroneously to numpy) and it turns out to be caused by a > memory mapped file. It seems that mmap caches without limit the chunks > it reads, as the memory usage grows to several hundreds MBs accor

Re: Python Windows Editors

2007-01-21 Thread [EMAIL PROTECTED]
W. Watson wrote: > I downloaded python-2.5.msi and installed it. I believe its editor is IDE. I > understand there's a Win editor called pythonwin. I believe it's in the > download pywin32-210.win32-py2.5.exe, but I'm not sure if this exe file has > just the editor or all of Python. Comments? If n

Re: SOAPpy and ArrayOfString

2007-01-21 Thread icius
Figured it out. This works: #!/usr/bin/python import SOAPpy wsdlFile = 'http://localhost:8080/axis/services/USD_R11_WebService?WSDL' server = SOAPpy.WSDL.Proxy(wsdlFile) server.soapproxy.config.dumpSOAPOut = 1 server.soapproxy.config.dumpSOAPIn = 1 SID = server.login('srvcdesk', 'x'

Reading Fortran Data

2007-01-21 Thread Tyler
Hello All: After trying to find an open source alternative to Matlab (or IDL), I am currently getting acquainted with Python and, in particular SciPy, NumPy, and Matplotlib. While I await the delivery of Travis Oliphant's NumPy manual, I have a quick question (hopefully) regarding how to read in F

instancemethod

2007-01-21 Thread Gert Cuykens
import MySQLdb class Db: _db=-1 _cursor=-1 @classmethod def __init__(self,server,user,password,database): self._db=MySQLdb.connect(server , user , password , database) self._cursor=self._db.cursor() @classmethod def excecute(self,cmd): self._curso

Re: pyparsing Combine without merging sub-expressions

2007-01-21 Thread Paul McGuire
Steven Bethard wrote: > Within a larger pyparsing grammar, I have something that looks like:: > > wsj/00/wsj_0003.mrg > > When parsing this, I'd like to keep around both the full string, and the > AAA_ substring of it, so I'd like something like:: > > >>> foo.parseString('wsj/00/wsj_

Re: Python Windows Editors

2007-01-21 Thread Ant
The pywin32 extension does not contain the python runtime itself, but comes with many (very useful) classes you can use when interacting with the windows universe. The editor is based on a component called scintilla (http://www.scintilla.org/). The referenced site also offers an editor SciTE based

Re: instancemethod

2007-01-21 Thread Nanjundi
> > if __name__ == '__main__': > gert=Db('localhost','root','**','gert') > gert.excecute('select * from person') > for x in range(0,gert.rowcount): > print gert.fetchone() > gert.close() > > [EMAIL PROTECTED]:~$ python ./Desktop/svn/db/Py/db.py > Traceback (most recent c

Re: instancemethod

2007-01-21 Thread Gert Cuykens
On 21 Jan 2007 14:35:19 -0800, Nanjundi <[EMAIL PROTECTED]> wrote: > > > > if __name__ == '__main__': > > gert=Db('localhost','root','**','gert') > > gert.excecute('select * from person') > > for x in range(0,gert.rowcount): > > print gert.fetchone() > > gert.close() > >

Re: Reading Fortran Data

2007-01-21 Thread [EMAIL PROTECTED]
I don't know if this is helpfull or not but (or for that matter current). http://cens.ioc.ee/projects/f2py2e/ offers some suggestions and it looks like you can use it with c code also. Tyler wrote: > Hello All: > > After trying to find an open source alternative to Matlab (or IDL), I > am curren

Re: Py 2.5 on Language Shootout

2007-01-21 Thread Ramon Diaz-Uriarte
On 20 Jan 2007 14:19:12 -0800, Isaac Gouy <[EMAIL PROTECTED]> wrote: > > Ramon Diaz-Uriarte wrote: > > On 20 Jan 2007 11:34:46 -0800, Isaac Gouy <[EMAIL PROTECTED]> wrote: (...) > > > > > > And that's why the existence of CINT is such a stark reminder of the > > > separation between the language

Re: Python Windows Editors

2007-01-21 Thread laurent rahuel
Hi, I guess you could take a look at pydev extension for eclipse and if you wan't an almost straight forward installation, you should consider this link : http://www.easyeclipse.org/site/distributions/python.html Regards, Laurent W. Watson a écrit : > I downloaded python-2.5.msi and installed

Re: Reading Fortran Data

2007-01-21 Thread Robert Kern
[EMAIL PROTECTED] wrote: > I don't know if this is helpfull or not but (or for that matter > current). http://cens.ioc.ee/projects/f2py2e/ offers some suggestions > and it looks like you can use it with c code also. f2py has been folded into numpy. -- Robert Kern "I have come to believe that t

Re: mmap caching

2007-01-21 Thread George Sakkis
Martin v. Löwis wrote: > George Sakkis schrieb: > > I've been trying to track down a memory leak (which I initially > > attributed erroneously to numpy) and it turns out to be caused by a > > memory mapped file. It seems that mmap caches without limit the chunks > > it reads, as the memory usage g

Re: Reading Fortran Data

2007-01-21 Thread Robert Kern
Tyler wrote: > Hello All: > > After trying to find an open source alternative to Matlab (or IDL), I > am currently getting acquainted with Python and, in particular SciPy, > NumPy, and Matplotlib. While I await the delivery of Travis Oliphant's > NumPy manual, I have a quick question (hopefully) r

[ANN] wxPython 2.8.1.1

2007-01-21 Thread Robin Dunn
Announcing -- The 2.8.1.1 release of wxPython is now available for download at http://wxpython.org/download.php. This release adds a few minor enhancements and a number of bug fixes designed to further stabalize the 2.8.x release series. Source code is available, as well as binaries fo

Re: Python Windows Editors

2007-01-21 Thread Stef Mientki
W. Watson wrote: > I downloaded python-2.5.msi and installed it. I believe its editor is > IDE. I understand there's a Win editor called pythonwin. I believe it's > in the download pywin32-210.win32-py2.5.exe, but I'm not sure if this > exe file has just the editor or all of Python. Comments? If

Re: mmap caching

2007-01-21 Thread Martin v. Löwis
George Sakkis schrieb: >> You must be misinterpreting what you are seeing. It's the operating >> system that decides what part of a memory-mapped file are held in >> memory, and that is certainly not without limits. > > Sure; what I meant was that that whatever the limit is, it's high > enough tha

Re: PyMeld for html templates?

2007-01-21 Thread Sean Schertell
Thanks Richie! That's exactly the reply I was hoping for. Hooray! Sean On Jan 20, 2007, at 9:50 PM, Richie Hindle wrote: > Hi Sean, > >> Thanks Richie -- but actually, what I had in mind was slightly >> different. I want for my CONTENT pages to only contain the content. >> So to modify your e

Re: Reading Fortran Data

2007-01-21 Thread Beliavsky
Tyler wrote: > Hello All: > > After trying to find an open source alternative to Matlab (or IDL), I > am currently getting acquainted with Python and, in particular SciPy, > NumPy, and Matplotlib. While I await the delivery of Travis Oliphant's > NumPy manual, I have a quick question (hopefully) re

Re: Reading Fortran Data

2007-01-21 Thread Carl Banks
Tyler wrote: > Hello All: > > After trying to find an open source alternative to Matlab (or IDL), I > am currently getting acquainted with Python and, in particular SciPy, > NumPy, and Matplotlib. While I await the delivery of Travis Oliphant's > NumPy manual, I have a quick question (hopefully) re

Re: Code reformater?

2007-01-21 Thread Vincent Delporte
On Sun, 21 Jan 2007 14:15:46 +1100, Steven D'Aprano <[EMAIL PROTECTED]> wrote: >Still, it is better not to lose the indentation in the first place. Thanks for the tips. But it does happen when copy/pasting code from either a web page or an e-mail that TABs are messed up, which is not a problem wit

OpenOffice 2.0 UNO update Links; need help

2007-01-21 Thread Sells, Fred
I've got a ~100 page document I assemble from ~30 OOo .odt files with some search and replace functions. I then produce a PDF. So far so good. Now I need to get a barcode from our internal website and insert that. The barcode will vary based on some parameters. Our internal site provides a .jp

Re: Python Windows Editors

2007-01-21 Thread W. Watson
[EMAIL PROTECTED] wrote: > W. Watson wrote: >> I downloaded python-2.5.msi and installed it. I believe its editor is IDE. I >> understand there's a Win editor called pythonwin. I believe it's in the >> download pywin32-210.win32-py2.5.exe, but I'm not sure if this exe file has >> just the editor or

Re: instancemethod

2007-01-21 Thread Gabriel Genellina
"Gert Cuykens" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > class Db: > >_db=-1 >_cursor=-1 > >@classmethod >def __init__(self,server,user,password,database): >self._db=MySQLdb.connect(server , user , password , database) >self._cursor=self._

Re: Beginners Tutorial in PDF Format?

2007-01-21 Thread W. Watson
Robert Hicks wrote: > W. Watson wrote: >> I'd like to print a tutorial in one fell swoop, but it seems most on the >> various sites are page by page embedded descriptions in the page. Any >> available as a pdf? >> >> Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA) >>

Re: Python Windows Editors

2007-01-21 Thread gonzlobo
I prefer PyScripter too, but would like to know if I can have 'indentation guides' enabled like PythonWin allows. On 1/21/07, Stef Mientki <[EMAIL PROTECTED]> wrote: > I tried 2 of them, and only was stable enough: PyScripter > http://mmm-experts.com/Products.aspx?ProductID=4 -- http://mail.py

Re: Beginners Tutorial in PDF Format?

2007-01-21 Thread Gabriel Genellina
"W. Watson" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] Robert Hicks wrote: > W. Watson wrote: >> I'd like to print a tutorial in one fell swoop, but it seems most on the >> various sites are page by page embedded descriptions in the page. Any >> available as a pdf? > > http:

Re: instancemethod

2007-01-21 Thread Gert Cuykens
On 1/22/07, Gabriel Genellina <[EMAIL PROTECTED]> wrote: > "Gert Cuykens" <[EMAIL PROTECTED]> escribió en el mensaje > news:[EMAIL PROTECTED] > > > class Db: > > > >_db=-1 > >_cursor=-1 > > > >@classmethod > >def __init__(self,server,user,password,database): > >self._db=MySQ

Re: Reading Fortran Data

2007-01-21 Thread Beliavsky
Carl Banks wrote: > > WRITE(90,*) nfault,npoint > > Fortran writes this as two arbitrary integers separated by a space. I wrote a paragraph in my reply explaining why this is wrong. A Fortran list-directed write can print results in an almost arbitrary format, depending on the compiler. Many

Re: instancemethod

2007-01-21 Thread Gert Cuykens
On 1/22/07, Gert Cuykens <[EMAIL PROTECTED]> wrote: > On 1/22/07, Gabriel Genellina <[EMAIL PROTECTED]> wrote: > > "Gert Cuykens" <[EMAIL PROTECTED]> escribió en el mensaje > > news:[EMAIL PROTECTED] > > > > > class Db: > > > > > >_db=-1 > > >_cursor=-1 > > > > > >@classmethod > > >

pylab, matplotlib ... roots function question

2007-01-21 Thread Schüle Daniel
Hello NG, given this call to roots funtion from pylab In [342]: roots([0,2,2]) Out[342]: array([-1.]) as far as I understand it [a0,a1,a2] stands for a0+a1*x+a2*x^2 in the above case it yields 2x^2+2x = 2x(1+x) and the roots are 0 and -1 I am wondering why roots function gives me only the -1 se

Re: instancemethod

2007-01-21 Thread Gert Cuykens
import MySQLdb class Db: _db=-1 _cursor=-1 rowcount=-1 def __init__(self,server,user,password,database): self._db=MySQLdb.connect(server , user , password , database) self._cursor=self._db.cursor() def excecute(self,cmd): self._cursor.execute(cmd)

Re: instancemethod

2007-01-21 Thread Gert Cuykens
never mind i think i need some sleep lol i did the exact opposite this time .rowcount() -> .rowcount -- http://mail.python.org/mailman/listinfo/python-list

Re: Reading Fortran Data

2007-01-21 Thread Carl Banks
Beliavsky wrote: > Carl Banks wrote: > > > > > > WRITE(90,*) nfault,npoint > > > > Fortran writes this as two arbitrary integers separated by a space. > > I wrote a paragraph in my reply explaining why this is wrong. It's a safe assumption for a line of two integers. It might not exactly prod

Re: PyMeld for html templates?

2007-01-21 Thread Sean Schertell
I'm trying to get PyMeld happening but I'm a bit stumped as to how to make it work with mod_python. The pymeld docs show examples only for the Python command line interpreter and show using the print statement to output stuff. But using mod_python.apache, I think you need to use req.write(so

Re: Reading Fortran Data

2007-01-21 Thread Beliavsky
Carl Banks wrote: > > A Fortran > > list-directed write can print results in an almost arbitrary format, > > depending on the compiler. Many compilers will separate integers by > > several spaces, not just one, and they could use commas instead of > > spaces if they wanted. > > 1. Hardly any co

Help with 'popen'

2007-01-21 Thread stephen_b
Can someone let me know why this won't work? Thanks. >>> from os import popen >>> popen('export asdfasdf=hello').read() '' >>> popen('echo $asdfasdf').read() '\n' Thanks. Stephen -- http://mail.python.org/mailman/listinfo/python-list

Re: selective logger disable/enable

2007-01-21 Thread Gary Jefferson
Vinay Sajip wrote: > > I don't know enough about your target environment and application to > necessarily give you the best advice, but I'll make some general > comments which I hope are useful. You seem to be thinking that loggers > are binary - i.e. you turn them on or off. But they can be contr

Re: Is any python like linux shell?

2007-01-21 Thread Paddy
George Sakkis wrote: > Frank Potter wrote: > > > I learned some python in windows. > > And now I've turned to linux. > > I read a book and it teaches how to write shell script with bash, > > but I don't feel like the grammar of bash. > > Since I know about python, > > I want to get a linux shell

Re: Reading Fortran Data

2007-01-21 Thread Carl Banks
Beliavsky wrote: > Carl Banks wrote: > > > > > > A Fortran > > > list-directed write can print results in an almost arbitrary format, > > > depending on the compiler. Many compilers will separate integers by > > > several spaces, not just one, and they could use commas instead of > > > spaces if

Re: html + javascript automations = [mechanize + ?? ] or something else?

2007-01-21 Thread John
I tried to install pamie (but I have mostly used python on cygwin on windows). In the section " What will you need to run PAMIE", it says I will need "Mark Hammonds Win32 All" which I can not find. Can anyone tell me how do I install PAMIE? Do I need python for windows that is different from cygwi

Re: pyparsing Combine without merging sub-expressions

2007-01-21 Thread Steven Bethard
Dennis Lee Bieber wrote: > On Sat, 20 Jan 2007 13:49:52 -0700, Steven Bethard > <[EMAIL PROTECTED]> declaimed the following in comp.lang.python: > >> Within a larger pyparsing grammar, I have something that looks like:: >> >> wsj/00/wsj_0003.mrg >> >> When parsing this, I'd like to keep aroun

Re: pyparsing Combine without merging sub-expressions

2007-01-21 Thread Steven Bethard
Paul McGuire wrote: > Steven Bethard wrote: >> Within a larger pyparsing grammar, I have something that looks like:: >> >> wsj/00/wsj_0003.mrg >> >> When parsing this, I'd like to keep around both the full string, and the >> AAA_ substring of it, so I'd like something like:: >> >> >>>

Re: Reading Fortran Data

2007-01-21 Thread Tyler
Wow! Thanks for the help everyone. I will look into each of your comments in more detail in the morning, but I'll mention a few things I guess. The first is, the list-directed output was not necesarily my choice as some of the code is also used by my supervisor (and her colleagues) and I had to ke

Re: html + javascript automations = [mechanize + ?? ] or something else?

2007-01-21 Thread John
My python2.5 installation on windows did not come with "win32com". How do I install/get this module for windows? Thanks, --j Duncan Booth wrote: > "John" <[EMAIL PROTECTED]> wrote: > > > Is there a way > > to control a browser like firefox from python itself? How about IE? > > IE is easy enough

Re: selective logger disable/enable

2007-01-21 Thread Vinay Sajip
Gary Jefferson wrote: > I am still a bit confused about Filters, though. It seems they are a > bit of an anomoly in the hierarchical view of loggers that the API > supports elsewhere, i.e., filters don't seem to inherit... Or am I > missing something again? Here's a quick example: > > import lo

Re: Xah's Edu Corner: Introduction to 3D Graphics Programing

2007-01-21 Thread Xah Lee
Xah Lee wrote in 2006-12-22: > Of Interest: > > Introduction to 3D Graphics Programing > http://xahlee.org/3d/index.html Folks, i have expanded my tutorial to several pages in the past nearly two months, and thank you very much for those who have given encouragement. I had plans to write pages th

Re: html + javascript automations = [mechanize + ?? ] or somethingelse?

2007-01-21 Thread Gabriel Genellina
"John" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > My python2.5 installation on windows did not come with "win32com". > How do I install/get this module for windows? Look for the pywin32 package at sourceforge.net -- Gabriel Genellina -- http://mail.python.org/mailm

Re: Help with 'popen'

2007-01-21 Thread James Stroud
stephen_b wrote: > Can someone let me know why this won't work? Thanks. > > from os import popen popen('export asdfasdf=hello').read() > > '' > popen('echo $asdfasdf').read() > > '\n' > > Thanks. > > Stephen > Python starts a new shell for each command, so your environment vari

Re: Is any python like linux shell?

2007-01-21 Thread James Stroud
Paddy wrote: > George Sakkis wrote: > > >>Frank Potter wrote: >> >> >>>I learned some python in windows. >>>And now I've turned to linux. >>>I read a book and it teaches how to write shell script with bash, >>>but I don't feel like the grammar of bash. >>>Since I know about python, >>>I want to g

Re: html + javascript automations = [mechanize + ?? ] or somethingelse?

2007-01-21 Thread John
I tried it, didnt work with the python25 distribution msi file that is on python.org But activestate python worked. Now I can open IE using COM. What I am trying to figure out is how to click an x,y coordinate on a page in IE automatically using COM. How about typing something automatically...Any

Re: Is any python like linux shell?

2007-01-21 Thread James Stroud
Frank Potter wrote: > I learned some python in windows. > And now I've turned to linux. > I read a book and it teaches how to write shell script with bash, > but I don't feel like the grammar of bash. > Since I know about python, > I want to get a linux shell which use python grammar. > I searched

Re: Accessing class variables in staticmethods.

2007-01-21 Thread Ramashish Baranwal
Sam wrote: > On 21 Jan 2007 12:49:17 -0800, Ramashish Baranwal > <[EMAIL PROTECTED]> wrote: > > class Base: > > staticvar = 'Base' > > > > @staticmethod > > def printname(): > > # this doesn't work > > # print staticvar > > # this does work but derived classes wo

Re: pylab, matplotlib ... roots function question

2007-01-21 Thread Robert Kern
Schüle Daniel wrote: > Hello NG, > > given this call to roots funtion from pylab It's actually from numpy and numpy questions are best asked (and best answered!) on numpy-discussion. http://www.scipy.org/Mailing_Lists > In [342]: roots([0,2,2]) > Out[342]: array([-1.]) > > as far as I unders

class explorer for automating IE

2007-01-21 Thread John
I found this class which was written in 2003. http://xper.org/wiki/seminar/InternetExplorerAutomation Is there a better/more complete version around that someone knows of. Thanks, --j -- http://mail.python.org/mailman/listinfo/python-list

Re: class explorer for automating IE

2007-01-21 Thread John
Is there an analogue of IE Mechanize in python? http://search.cpan.org/src/ABELTJE/Win32-IE-Mechanize-0.009/README Thanks, --j On Jan 22, 1:48 am, "John" <[EMAIL PROTECTED]> wrote: > I found this class which was written in 2003. > > http://xper.org/wiki/seminar/InternetExplorerAutomation > > Is

Re: Is any python like linux shell?

2007-01-21 Thread Russ
Frank Potter wrote: > I learned some python in windows. > And now I've turned to linux. > I read a book and it teaches how to write shell script with bash, > but I don't feel like the grammar of bash. > Since I know about python, > I want to get a linux shell which use python grammar. > I searched

Re: class explorer for automating IE

2007-01-21 Thread Peter Otten
John wrote: > Is there an analogue of IE Mechanize in python? http://www.google.com/search?q=python%20mechanize&btnI=I%27m+Feeling+Lucky -- http://mail.python.org/mailman/listinfo/python-list