Re: Scripting Help please

2016-10-13 Thread Steven D'Aprano
On Thursday 13 October 2016 07:37, LongHairLuke wrote: > Hi l am on my way to make a bot for the game Piano Tiles 2. > But the code l have written so far saids invalid syntax at 2nd line. Here is > my code: Folks, look at the email address of the poster: trolleri.trollface at gmail.com He's pos

Re: Scripting Help please

2016-10-12 Thread Terry Reedy
On 10/12/2016 4:37 PM, LongHairLuke wrote: Hi l am on my way to make a bot for the game Piano Tiles 2. But the code l have written so far saids invalid syntax at 2nd line. Here is my code: If you want to write Python code, start by working through the tutorial included with the docs. -- Terr

Re: Scripting Help please

2016-10-12 Thread Wildman via Python-list
On Wed, 12 Oct 2016 20:48:31 +, alister wrote: > On Wed, 12 Oct 2016 13:37:23 -0700, LongHairLuke wrote: > >> Hi l am on my way to make a bot for the game Piano Tiles 2. >> But the code l have written so far saids invalid syntax at 2nd line. >> Here is my code: >> >> >> >> while True: >>

Re: Scripting Help please

2016-10-12 Thread alister
On Wed, 12 Oct 2016 13:37:23 -0700, LongHairLuke wrote: > Hi l am on my way to make a bot for the game Piano Tiles 2. > But the code l have written so far saids invalid syntax at 2nd line. > Here is my code: > > > > while True: >If active then > FFSnapShot(areaX, areaY + height - offs

Re: Scripting Calligra Sheets with Python

2013-06-15 Thread Mark Lawrence
On 15/06/2013 16:55, Jim Byrnes wrote: I've read all the docs I can find and worked through a lot of examples but I can't figure out how to shift the focus from one cell to another. Could someone point me to the command or an example of how to do this? Thanks, Jim Have you tried asking here

Re: Scripting (was Re: Python books, literature etc)

2010-01-09 Thread bartc
"Peter" wrote in message news:mailman.661.1262978839.28905.python-l...@python.org... Sounds good. Regarding the book's title: is it just me, or are Python programmers in general put off when people call it "scripting"? I won't attempt a strict definition of the term "scripting language", b

Re: Scripting (was Re: Python books, literature etc)

2010-01-09 Thread McColgst
Just to kind of get back on topic: Before buying a book or making a terribly large investment, OP should consider the fact that Python 3 is out and gaining some popularity. -- http://mail.python.org/mailman/listinfo/python-list

Re: Scripting (was Re: Python books, literature etc)

2010-01-08 Thread Florian Diesch
Jorgen Grahn writes: > Regarding the book's title: is it just me, or are Python programmers > in general put off when people call it "scripting"? > > I won't attempt a strict definition of the term "scripting language", > but it seems like non-programmers use it to mean "less scary than what > yo

Re: Scripting

2010-01-08 Thread Ben Finney
Jorgen Grahn writes: > Regarding the book's title: is it just me, or are Python programmers > in general put off when people call it "scripting"? The term “script” for a Python program is part of the official terminology, so those who would be put off by that term have to at least contend with t

Re: Scripting (was Re: Python books, literature etc)

2010-01-08 Thread Peter
Sounds good. Regarding the book's title: is it just me, or are Python programmers in general put off when people call it "scripting"? I won't attempt a strict definition of the term "scripting language", but it seems like non-programmers use it to mean "less scary than what you might think of

Re: Scripting (was Re: Python books, literature etc)

2010-01-08 Thread MRAB
Jorgen Grahn wrote: On Thu, 2010-01-07, Peter wrote: [...] depending on your application domain, I liked: 1) Hans Petter Langtangen: Python Scripting for Computational Science A truly excellent book, not only with respect to Python Scripting , but also on how to avoid paying license fees by

Re: Scripting (was Re: Python books, literature etc)

2010-01-08 Thread J
On Fri, Jan 8, 2010 at 09:37, Jorgen Grahn wrote: > Regarding the book's title: is it just me, or are Python programmers > in general put off when people call it "scripting"? > > I won't attempt a strict definition of the term "scripting language", > but it seems like non-programmers use it to mea

Re: scripting and uploading in Python

2009-05-30 Thread Aahz
In article <3c1f0711-8da8-4610-bf8e-679eff0fa...@21g2000vbk.googlegroups.com>, Mark Tarver wrote: > >Generally I'd like to bring myself up to speed on scripting in >Python. Any good reads - dead tree or otherwise? Assuming you have any programming experience, start with the Python tutorial: h

Re: Scripting SAP GUI (Windows)

2008-07-02 Thread M�ta-MCI (MVP)
Hi! You can use Autoit. Bad "conception" language ; but many good tools, for identify windows, process, send keystrokes, emulate mouse, etc. (Autohotkey is make on Autoit 2 ; Autoit is actually in version 3). Good trick : Autoit-X is a COM server, with the most importants functions of Autoit (

Re: Scripting SAP GUI (Windows)

2008-07-02 Thread M�ta-MCI (MVP)
Hi! Linux is much better place You confuse proselitism and objectivity... @-salutations -- Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

Re: Scripting SAP GUI (Windows)

2008-07-02 Thread Sebastian "lunar" Wiesner
Thomas Guettler <[EMAIL PROTECTED]>: > Hi, > > I need to script SAP GUI running on MS-Windows: Doesn't that thing have a COM interface? -- Freedom is always the freedom of dissenters. (Rosa Luxemburg) -- http://mail.python.org/mailman/listinfo/python-list

Re: Scripting SAP GUI (Windows)

2008-07-02 Thread Thomas Guettler
I just got this link in a german newsgroup: http://pywinauto.openqa.org/ Seems to be what I was looking for. Nevertheless feedback still welcome. Thomas Guettler schrieb: Hi, I need to script SAP GUI running on MS-Windows: Open SAP GUI window, if it is not already open, and then batch input

Re: Scripting SAP GUI (Windows)

2008-07-02 Thread Prosenjit Kundu
First of all Linux is much better place. why you want to automate GUI with python. You can easily use QTP such GUI testing tools to automate your staff. But that does not mean I am saying the Python is bad in any way. Py and Perl are the two most good things in this world. py-py, Prosenjit

Re: Scripting Visio using Python

2007-02-14 Thread Harry George
Paul Watson <[EMAIL PROTECTED]> writes: > I would like to create some additional shapes in Microsoft Visio using > the Python language. It would appear that Visio can use any CLR > language. Has anyone done this? Can I use the Python package from > python.org, or must I use IronPython? An alte

Re: Scripting Visio using Python

2007-02-13 Thread Marcel
On Feb 13, 6:52 pm, Paul Watson <[EMAIL PROTECTED]> wrote: > I would like to create some additional shapes in Microsoft Visio using > the Python language. It would appear that Visio can use any CLR > language. Has anyone done this? Can I use the Python package from > python.org, or must I use Ir

Re: scripting browsers from Python

2005-06-03 Thread John J. Lee
[Michele Simionato] > > I would like to know what is available for scripting browsers from > > Python. [...] > > to do POST requests too. I don't want to use urllib to emulate a > > browser, I am > > interested in checking that browser X really works as intended with my > > application. Any suggest

Re: scripting browsers from Python

2005-06-03 Thread John J. Lee
Olivier Favre-Simon <[EMAIL PROTECTED]> writes: [...] > > I'd like to have a reimplementation of ClientForm on top of something > > like BeautifulSoup... > > > > > > John > > When taken separately, either ClientForm, HTMLParser or SGMLParser work > well. > > But it would be cool that competent

Re: scripting browsers from Python

2005-06-01 Thread Stephen Thorne
On 31 May 2005 00:52:33 -0700, Michele Simionato <[EMAIL PROTECTED]> wrote: > I would like to know what is available for scripting browsers from > Python. > For instance, webbrowser.open let me to perform GET requests, but I > would like > to do POST requests too. I don't want to use urllib to emul

Re: scripting browsers from Python

2005-06-01 Thread Olivier Favre-Simon
On Wed, 01 Jun 2005 22:27:44 +, John J. Lee wrote: > Olivier Favre-Simon <[EMAIL PROTECTED]> writes: > >> On Tue, 31 May 2005 00:52:33 -0700, Michele Simionato wrote: >> >> > I would like to know what is available for scripting browsers from >> > Python. > [...] >> ClientForm http://wwwsea

Re: scripting browsers from Python

2005-06-01 Thread David Boddie
Michele Simionato wrote: > This looks interesting, but I need an example here. What would be the > command to open Konqueror to a given page and to post a form with given > parameters? Launch Konqueror, note the process ID (pid), and use the dcop command line tool to open the page at a specified U

Re: scripting browsers from Python

2005-06-01 Thread John J. Lee
Olivier Favre-Simon <[EMAIL PROTECTED]> writes: > On Tue, 31 May 2005 00:52:33 -0700, Michele Simionato wrote: > > > I would like to know what is available for scripting browsers from > > Python. [...] > ClientFormhttp://wwwsearch.sourceforge.net/ClientForm/ > > I use it for automation of PO

Re: scripting browsers from Python

2005-06-01 Thread Jeff Epler
I wanted to have a Python program make my browser do a POST. I am using Firefox on Linux. Here's what I did: * Prepare a HTML page on the local disk that looks like this: http://www.example.com/cgi-bin/example.cgi";> Submitting form.

Re: scripting browsers from Python

2005-06-01 Thread has
Simon Brunning wrote: > On 31 May 2005 00:52:33 -0700, Michele Simionato > <[EMAIL PROTECTED]> wrote: > > I would like to know what is available for scripting browsers from > > Python. > > I don't know of anything cross platform, or even cross browser, but on > Windows, IE can be automated via COM

Re: scripting browsers from Python

2005-06-01 Thread Michele Simionato
This looks interesting, but I need an example here. What would be the command to open Konqueror to a given page and to post a form with given parameters? kde.org has tons a material, but I am getting lost and I don't find anything relevant to my simple problem. Michele Sim

Re: scripting browsers from Python

2005-05-31 Thread Olivier Favre-Simon
On Tue, 31 May 2005 00:52:33 -0700, Michele Simionato wrote: > I would like to know what is available for scripting browsers from > Python. > For instance, webbrowser.open let me to perform GET requests, but I > would like > to do POST requests too. I don't want to use urllib to emulate a > browse

Re: scripting browsers from Python

2005-05-31 Thread John J. Lee
"Michele Simionato" <[EMAIL PROTECTED]> writes: > I would like to know what is available for scripting browsers from > Python. > For instance, webbrowser.open let me to perform GET requests, but I > would like > to do POST requests too. I don't want to use urllib to emulate a > browser, I am > int

Re: scripting browsers from Python

2005-05-31 Thread Kent Johnson
Simon Brunning wrote: > On 31 May 2005 00:52:33 -0700, Michele Simionato > <[EMAIL PROTECTED]> wrote: > >>I would like to know what is available for scripting browsers from >>Python. > > I don't know of anything cross platform, or even cross browser, but on > Windows, IE can be automated via COM

Re: scripting browsers from Python

2005-05-31 Thread davidb
Michele Simionato wrote: > I would like to know what is available for scripting browsers from > Python. > For instance, webbrowser.open let me to perform GET requests, but I > would like to do POST requests too. I don't want to use urllib to > emulate a browser, I am interested in checking that br

Re: scripting browsers from Python

2005-05-31 Thread Simon Brunning
On 31 May 2005 00:52:33 -0700, Michele Simionato <[EMAIL PROTECTED]> wrote: > I would like to know what is available for scripting browsers from > Python. > For instance, webbrowser.open let me to perform GET requests, but I > would like > to do POST requests too. I don't want to use urllib to emul