Re: [Tutor] Simulate Input from mouse and keyboard?

2006-03-16 Thread Alan Gauld
> Is there a way to control the mouse cursor's position so > I can tell it to move to X,Y position on the screen and > click or double click automatically? >Also, how can you simulate input from the keyboard? You can use the Windows API calls to do this, but its not easy and is extremely unreli

Re: [Tutor] Simulate Input from mouse and keyboard?

2006-03-16 Thread Kent Johnson
Ars wrote: > Is there a way to control the mouse cursor's position so I can tell it > to move to X,Y position on the screen and click or double click > automatically? > > Also, how can you simulate input from the keyboard? > > I'd like to be able have a program that can call up a webpage, cli

[Tutor] Louis J Martin is out of the office.

2006-03-16 Thread Louis J Martin
I will be out of the office starting 03/16/2006 and will not return until 03/20/2006. I will respond to your message when I return. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Web tutor broken again

2006-03-16 Thread Alan Gauld
My website is dead once more. I've reported it to my ISP and hopefully service will be restored ASAP. Apologies to regular readers for the loss of service Apologies to non users for consuming bandwidth, but many of my "students" are also list members. Alan G Author of the learn to program web

[Tutor] Help with re.sub()

2006-03-16 Thread John Clark
Hi, I have a file that is a long list of records (roughly) in the format [EMAIL PROTECTED] So, for example: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] What I would like to do is run a regular expression against this and wind up with: [EMAIL

Re: [Tutor] Help with re.sub()

2006-03-16 Thread Kent Johnson
John Clark wrote: > Hi, > > I have a file that is a long list of records (roughly) in the format > > [EMAIL PROTECTED] > > So, for example: > > [EMAIL PROTECTED] > [EMAIL PROTECTED] > [EMAIL PROTECTED] > [EMAIL PROTECTED] > [EMAIL PROTECTED] > > > What I would like to do is run a regular

Re: [Tutor] Help with re.sub()

2006-03-16 Thread Danny Yoo
> I have a file that is a long list of records (roughly) in the format > > [EMAIL PROTECTED] > > So, for example: > > [EMAIL PROTECTED] > [EMAIL PROTECTED] > [EMAIL PROTECTED] > [EMAIL PROTECTED] > [EMAIL PROTECTED] > > > What I would like to do is run a regular expression against this and > w

Re: [Tutor] Help with re.sub()

2006-03-16 Thread Hugo González Monteverde
Hi John, I would just like to suggest a different approach. Like the old saying goes: Some people, when confronted with a problem, think “I know, I’ll use regular expressions.” Now they have two problems. — Jamie Zawinski, in comp.lang.emacs If the delimiter is a

Re: [Tutor] xemacs and python mode difficulty

2006-03-16 Thread Danny Yoo
> I would like to know the difference between ~/.emacs and > .xemacs\custom.el and also how to install the python module, so that I > can get syntax highlighting, the tab trick, C-c C-c, and the rest of the > old python mode functionality. HI Francesco, You may want to ask the xemacs folks about

[Tutor] Python and R

2006-03-16 Thread linda.s
Is there any good tutorial about using python to call R modules? Linda ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Japanese and COM

2006-03-16 Thread Ryan Ginstrom
I'm (still) having trouble using Japanese in python. I want to use Japanese with the win32com module. But while I can retrieve Japanese text from a COM server without problems, if I try to send Japanese text to a COM server it comes out garbled. Here is an example: #-*- coding: utf-8 -*- import