Re: Colour of output text

2009-07-09 Thread Tim Harig
On 2009-07-09, Alex Rosslyn wrote: > I would like to learn a way of changing the colour of a particular > part of the output text. I've tried the following http://catb.org/esr/faqs/smart-questions.html > import os > os.system("color 17") > print "This should be white on blue" I assume that you

Re: Concatenating images (numpy arrays), but they look like HSV images

2009-07-09 Thread Robert Kern
On 2009-07-09 12:34, Sebastian Schabe wrote: Hello everybody, I want to concatenate 2 numpy array which in fact are RGB images: def concat_images(im1,im2): rows1 = im1.shape[0] rows2 = im2.shape[0] if rows1 < rows2: im1 = concatenate((im1,zeros((rows2-rows1,im1.shape[1],3), int)), axis=0) elif

Re: Examples of Python driven Microsoft UI Automation wanted

2009-07-09 Thread DuaneKaufman
On Jul 9, 12:45 pm, Tim Harig wrote: > On 2009-07-09, DuaneKaufman wrote: > > > On Jul 9, 12:18 pm, Tim Harig wrote: > >> On 2009-07-09, TheSeeker wrote: > >> > Specifically, I have a WinForms application I will be wanting to > >> > automate. Does anyone have some Python examples of driving Mic

Re: Emacs Python-mode. Newbie problem.

2009-07-09 Thread Lacrima
On Jul 9, 8:42 pm, Piet van Oostrum wrote: > > Lacrima (L) wrote: > >L> Thank you for really useful and detailed explanation. Now I can test > >L> my code usingEmacs. > >L> But I think it works for me in a little bit different way. > >L> My file contains only the print 'hello world'. > >L> If

Re: Examples of Python driven Microsoft UI Automation wanted

2009-07-09 Thread Paul McGuire
On Jul 9, 1:09 pm, DuaneKaufman wrote: > The application I wish to interact with is not my own, but an ERP > system GUI front-end. > I have used pywinauto to drive a Flash game running inside of an Internet Explorer browser - that's pretty GUI! -- Paul -- http://mail.python.org/mailman/listinfo

Re: tough-to-explain Python

2009-07-09 Thread Steven D'Aprano
On Wed, 08 Jul 2009 22:05:57 -0700, Simon Forman wrote: >> persistent idea "out there" that programming is a very accessible >> skill, like cooking or gardening, anyone can do it, and even profit >> from it, monetarily or otherwise, etc., and to some extent I am > > Programming is not like any ot

Re: Examples of Python driven Microsoft UI Automation wanted

2009-07-09 Thread DuaneKaufman
On Jul 9, 1:29 pm, Paul McGuire wrote: > On Jul 9, 1:09 pm, DuaneKaufman wrote: > > > The application I wish to interact with is not my own, but an ERP > > system GUI front-end. > > I have used pywinauto to drive a Flash game running inside of an > Internet Explorer browser - that's pretty GUI! >

Re: gett error message: "TypeError: 'int' object is not callable"

2009-07-09 Thread Friðrik Már Jónsson
Hi Rhodri, It's only really a pitfall if you try to use the built-in after you've redefined it. That's the thing to keep an eye open for. You're right, but in cases where you're editing a codebase which you didn't author entirely by yourself you may not be aware of that. That said, if the

Re: tkinter problem

2009-07-09 Thread David Smith
Paul Simon wrote: > "Peter Otten" <__pete...@web.de> wrote in message > news:h3481q$d95$0...@news.t-online.com... >> Paul Simon wrote: >> >>> "Chris Rebert" wrote in message >>> news:mailman.2863.1247095339.8015.python-l...@python.org... >>> On Wed, Jul 8, 2009 at 4:18 PM, Paul Simon wrote:

Re: Clarity vs. code reuse/generality

2009-07-09 Thread Ethan Furman
kj wrote: My scientific code is jam-packed with assertions. I can't count the number of times that one such lowly assertion saved me from a silent but potentially disastrous bug. Now imagine that asserts had been disabled for that run... The issue is not "should you validate your inputs", t

Best way to add a "position" value to each item in a list

2009-07-09 Thread Sean
I have a huge list, 10,000,000+ items. Each item is a dictionary with fields used to sort the list. When I have completed sorting I want to grab a page of items, say 1,000 of them which I do easily by using list_data[x:x+1000] Now I want to add an additional key/value pair to each dictionary in

Re: Best way to add a "position" value to each item in a list

2009-07-09 Thread Sean
On Jul 9, 1:16 pm, Sean wrote: > I have a huge list, 10,000,000+ items.  Each item is a dictionary with > fields used to sort the list.  When I have completed sorting I want to > grab a page of items, say 1,000 of them which I do easily by using > list_data[x:x+1000] > > Now I want to add an addit

Re: Best way to add a "position" value to each item in a list

2009-07-09 Thread Pablo Torres N.
Howdy, On Thu, Jul 9, 2009 at 15:16, Sean wrote: > I have a huge list, 10,000,000+ items.  Each item is a dictionary with > fields used to sort the list.  When I have completed sorting I want to > grab a page of items, say 1,000 of them which I do easily by using > list_data[x:x+1000] > > Now I wa

Re: Examples of Python driven Microsoft UI Automation wanted

2009-07-09 Thread Paul McGuire
On Jul 9, 1:50 pm, DuaneKaufman wrote: > > I have used pywinauto to drive a Flash game running inside of an > > Internet Explorer browser - that's pretty GUI! > > > -- Paul > > Hi, > > Could you share some code examples? > > Thanks, > Duane (duanek (at) chorus (dot) net) I just went on a brief fi

Re: Best way to add a "position" value to each item in a list

2009-07-09 Thread Jerry Hill
On Thu, Jul 9, 2009 at 4:16 PM, Sean wrote: > I have a huge list, 10,000,000+ items.  Each item is a dictionary with > fields used to sort the list.  When I have completed sorting I want to > grab a page of items, say 1,000 of them which I do easily by using > list_data[x:x+1000] > > Now I want to

Re: tough-to-explain Python

2009-07-09 Thread J. Cliff Dyer
On Thu, 2009-07-09 at 18:10 +, Steven D'Aprano wrote: > If programming is symbol manipulation, then you should remember that > the > user interface is also symbol manipulation, and it is a MUCH harder > problem than databases, sorting, searching, and all the other > problems > you learn abou

Re: Best way to add a "position" value to each item in a list

2009-07-09 Thread Sean
On Jul 9, 1:16 pm, Sean wrote: > I have a huge list, 10,000,000+ items.  Each item is a dictionary with > fields used to sort the list.  When I have completed sorting I want to > grab a page of items, say 1,000 of them which I do easily by using > list_data[x:x+1000] > > Now I want to add an addit

Re: Best way to add a "position" value to each item in a list

2009-07-09 Thread Carl Banks
On Jul 9, 1:16 pm, Sean wrote: > I have a huge list, 10,000,000+ items.  Each item is a dictionary with > fields used to sort the list.  When I have completed sorting I want to > grab a page of items, say 1,000 of them which I do easily by using > list_data[x:x+1000] > > Now I want to add an addit

Re: Examples of Python driven Microsoft UI Automation wanted

2009-07-09 Thread Michael Torrie
DuaneKaufman wrote: > With MS utilities like UISpy and the like, I can 'see' the controls in > the application, but I > do not seem to be able to manipulate them programatically, and I > believe it us simply due > to my not understanding of the UI Automation API. You're probably better off using a

Re: Examples of Python driven Microsoft UI Automation wanted

2009-07-09 Thread Michael Torrie
TheSeeker wrote: > Alternatives to Microsoft's UI Automation are welcome too, but I have > tried using winguiauto and watsup (along with AutoIt), and there seems > to be severe limitations when using these tools with WinForm > applications. http://www.autoitscript.com/forum/index.php?showtopic=967

Re: Cleaning up after failing to contructing objects

2009-07-09 Thread Mattias Brändström
On Jul 9, 7:30 pm, Lie Ryan wrote: > brasse wrote: > > Hello! > > I have been thinking about how write exception safe constructors in > > Python. By exception safe I mean a constructor that does not leak > > resources when an exception is raised within it. The following is an > > example of one po

Re: PyQt GUI

2009-07-09 Thread Helvin
On Jul 10, 3:54 am, Robert Kern wrote: > On 2009-07-09 01:27, Helvin wrote: > > > > > > > On Jul 9, 11:29 am, Robert Kern  wrote: > >> On 2009-07-08 18:10, Helvin wrote: > > >>> Thanks for the fast replies! I will look into how to use VTK now. > >>> Where would I find VTK's explicit support for Py

Re: Examples of Python driven Microsoft UI Automation wanted

2009-07-09 Thread DuaneKaufman
On Jul 9, 4:12 pm, Michael Torrie wrote: > TheSeeker wrote: > > Alternatives to Microsoft's UI Automation are welcome too, but I have > > tried using winguiauto and watsup (along with AutoIt), and there seems > > to be severe limitations when using these tools with WinForm > > applications. > > ht

Re: tough-to-explain Python

2009-07-09 Thread Ethan Furman
Steven D'Aprano wrote: There is some evidence that 30-60% of people simply cannot learn to program, no matter how you teach them: http://www.codinghorror.com/blog/archives/000635.html http://www.cs.mdx.ac.uk/research/PhDArea/saeed/ I'm sympathetic to the idea, but not entirely convinced. Per

Re: Package for fast plotting of many data points in Python?

2009-07-09 Thread Stef Mientki
tt-industries wrote: Hi, I am programming a oscilloscope module in Python. For this reason, I want to plot very many data points as fast as possible. This can be more than 100 000 at once. At once is impossible ;-) So far I have been using the ploting module of wxPython. which plotting modul

Package for fast plotting of many data points in Python?

2009-07-09 Thread tt-industries
Hi, I am programming a oscilloscope module in Python. For this reason, I want to plot very many data points as fast as possible. This can be more than 100 000 at once. So far I have been using the ploting module of wxPython. However, it becomes unstable for more than 25000 points. Can someone reco

Re: can i write a assemly language programs in python

2009-07-09 Thread Pablo Torres N.
Or maybe he meant if you can have both Python and assembler code in the same source file, but I haven't heard of it. If what you are trying to do is write a faster version of some part of your code, try SWIG: http://www.swig.org/ Playing the guessing game is a time sink, and since nobody has done

Re: Catching control-C

2009-07-09 Thread Miles Kaufmann
On Jul 9, 2009, at 9:20 AM, Lie Ryan wrote: Michael Mossey wrote: I want to understand better what the "secret" is to responding to a ctrl-C in any shape or form. Are you asking: "when would the python interpreter process KeyboardInterrupt?" ... In single threaded python program, the currentl

Re: can i write a assemly language programs in python

2009-07-09 Thread Simon Forman
On Thu, Jul 9, 2009 at 3:17 AM, m.reddy prasad reddy wrote: > > can any one tell me how to write assembly language programs in python...if > no is there any other way to write the programs in python > > Reddi prasad reddy > ph.no:09958083797 > > -- > http://mail.python.org/mailman/listinfo/python-l

sys.exit() and PyRun_SimpleFileExFlags()

2009-07-09 Thread Xavier Bénech
Hi, There is a behaviour I do not understand of PyRun_SimpleFileExFlags(), normally when it executes a python script containing a sys.exit(), it results by ending the calling application. I have got this behaviour with PyRun_SimpleFileExFlags() when I call it from the main thread of a GUI ap

Re: can i write a assemly language programs in python

2009-07-09 Thread Bearophile
Simon Forman: > Examine CorePyhttp://www.corepy.org > > "CorePy is a complete system for developing machine-level programs in > Python. CorePy lets developers build and execute assembly-level > programs interactively from the Python command prompt, embed them > directly in Python applications, or e

Re: Package for fast plotting of many data points in Python?

2009-07-09 Thread Chris Rebert
On Thu, Jul 9, 2009 at 3:03 PM, tt-industries wrote: > Hi, > > I am programming a oscilloscope module in Python. For this reason, I > want to plot very many data points as fast as possible. This can be > more than 100 000 at once. So far I have been using the ploting module > of wxPython. However,

Re: gett error message: "TypeError: 'int' object is not callable"

2009-07-09 Thread Simon Forman
On Thu, Jul 9, 2009 at 9:42 AM, Nick wrote: >    fields = line.split() >    for i in range(len(fields)): >        fields[i] = float(fields[i]) instead of the above code you could say: fields = [float(n) for n in in line.split()] Have fun getting back into python! :] (A lot has changed in the

Re: gett error message: "TypeError: 'int' object is not callable"

2009-07-09 Thread Paul Rubin
Nick writes: > text = file.readlines() > len = len(text) > fields = text[1].split() Is that intended to split the first line of the file? Remember that arrays in python begin at index 0. -- http://mail.python.org/mailman/listinfo/python-list

AP -- MeAmI.org Paces Google

2009-07-09 Thread Musatov
Los Angeles (AP) --MeAmI.org now has users in 50 countries following its adopted use in Pakistan. The search engine has grown in popularity 10,000 fold following its Beta test launch three months ago in April, 2009. Supporters of the site claim it is better than rival Google upon which platform it

Re: The meaning of "=" (Was: tough-to-explain Python)

2009-07-09 Thread Lawrence D'Oliveiro
In message , kj wrote: > .., Lundh writes: > > Assignment statements modify namespaces, not objects. >>> a = [3] >>> b = a These may indeed modify a namespace, not any object. However: >>> a[:] = [4] >>> a [4] >>> b [4] What change has happened to the namespace

Re: Running a script to build docs from setup.py

2009-07-09 Thread Ben Finney
Tony Houghton writes: > I've looked through the manual but I can't find any hooks in distutils > for generating files at install time other than extension modules and > .pyc files. Should I just run the script from somewhere in my setup.py > before calling distutils' setup function? Indirectly r

Re: AP -- MeAmI.org Paces Google

2009-07-09 Thread The Masked Logician
On Jul 9, 6:03 pm, Musatov wrote: > Los Angeles (AP) -- MeAmI.org now has users in 50 countries following > its adopted use in Pakistan. The search engine has grown in > popularity 10,000 fold following its Beta test launch three months ago > in April, 2009. Supporters of the site claim it is bett

Re: Package for fast plotting of many data points in Python?

2009-07-09 Thread Ben Finney
tt-industries writes: > I am programming a oscilloscope module in Python. For this reason, I > want to plot very many data points as fast as possible. This can be > more than 100 000 at once. I think you will find good results using Numpy for your arrays of data http://numpy.scipy.org/> and Matp

Re: Package for fast plotting of many data points in Python?

2009-07-09 Thread Roy Smith
In article <0734dc45-d8a0-4f28-b945-f9e179f30...@h11g2000yqb.googlegroups.com>, tt-industries wrote: > I am programming a oscilloscope module in Python. Sigh. I guess I'm showing my age, but I still can't get used to the idea that the right tool to build an oscilloscope is no longer a solder

How to check if any item from a list of strings is in a big string?

2009-07-09 Thread inkhorn
Hi all, For one of my projects, I came across the need to check if one of many items from a list of strings could be found in a long string. I came up with a pretty quick helper function to check this, but I just want to find out if there's something a little more elegant than what I've cooked up

Re: How to check if any item from a list of strings is in a big string?

2009-07-09 Thread Chris Rebert
On Thu, Jul 9, 2009 at 6:36 PM, inkhorn wrote: > Hi all, > > For one of my projects, I came across the need to check if one of many > items from a list of strings could be found in a long string.  I came > up with a pretty quick helper function to check this, but I just want > to find out if there'

Re: AP -- MeAmI.org Paces Google

2009-07-09 Thread David Bernier
Musatov wrote: Los Angeles (AP) --MeAmI.org now has users in 50 countries following its adopted use in Pakistan. The search engine has grown in popularity 10,000 fold following its Beta test launch three months ago in April, 2009. Supporters of the site claim it is better than rival Google upon

Re: AP -- MeAmI.org Paces Google

2009-07-09 Thread Friðrik Már Jónsson
I'll be the first to admit it. The point of writing a fake story by Associated Press and publishing it on a programming mailing list is totally beyond me. Confoundedly yours, Friðrik Már -- http://mail.python.org/mailman/listinfo/python-list

Re: AP -- MeAmI.org Paces Google

2009-07-09 Thread The Masked Logician
On Jul 9, 6:41 pm, David Bernier wrote: > Musatov wrote: > > Los Angeles (AP) --MeAmI.org now has users in 50 countries following > > its adopted use in Pakistan.  The search engine has grown in > > popularity 10,000 fold following its Beta test launch three months ago > > in April, 2009. Supporte

Re: Opening a SQLite database in readonly mode

2009-07-09 Thread Aahz
In article , Joshua Kugler wrote: >Joshua Kugler wrote: >> >> Sorry about that...since pysqlite and APSW are both discusses on the >> pysqlite list, I had made an incorrect assumption. Oops. > >"are both discusses?" Yeef, I must have been out of it. Discussed, thank >you. :) Who's Yeef? ;-) -

language analysis to enforce code standards

2009-07-09 Thread Jason S. Friedman
Hello, I administer the Informatica ETL tool at my company. Part of that role involves creating and enforcing standards. I want the Informatica developers to add comments to certain key objects and I want to be able to verify (in an automated fashion) that they have done so. I cannot merely

Re: AP -- MeAmI.org Paces Google

2009-07-09 Thread Martin Musatov
Thank you. Martin Musatov 2009/7/9 Friðrik Már Jónsson > I'll be the first to admit it. The point of writing a fake story by > Associated Press and publishing it on a programming mailing list is totally > beyond me. > > Confoundedly yours, > Friðrik Már -- http://mail.python.org/mailman/listin

Re: hoe to build a patched socketmodule.c

2009-07-09 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 jacopo mondi wrote: > Hi all, I need to patch socketmodule.c (the _socket module) in order to > add support to an experimental socket family. You may find it considerably easier to use ctypes since that will avoid the need for any patching. You'll al

Re: Clarity vs. code reuse/generality

2009-07-09 Thread Nobody
On Thu, 09 Jul 2009 04:57:15 -0300, Gabriel Genellina wrote: > Nobody says you shouldn't check your data. Only that "assert" is not the > right way to do that. "assert" is not the right way to check your *inputs*. It's a perfectly reasonable way to check data which "should" be valid, as well as

Re: language analysis to enforce code standards

2009-07-09 Thread Steven D'Aprano
On Fri, 10 Jul 2009 02:06:35 +, Jason S. Friedman wrote: > Hello, I administer the Informatica ETL tool at my company. Part of > that role involves creating and enforcing standards. I want the > Informatica developers to add comments to certain key objects and I want > to be able to verify (

Re: psyco V2 beta2 benchmark

2009-07-09 Thread Zac Burns
Where do you get this beta? I heard that Psyco V2 is coming out but can't find anything on their site to support this. -- Zachary Burns (407)590-4814 Aim - Zac256FL Production Engineer (Digital Overlord) Zindagi Games On Sat, Jul 4, 2009 at 5:26 AM, larudwer wrote: > just out of curiosity i've

Re: IP Address Function

2009-07-09 Thread Tim Roberts
Fred Atkinson wrote: > >I wonder why they don't just have a function to return it instead of >putting you through all of that? In CGI, EVERYTHING gets communicated through environment variables. That (and the stdin stream) is really the only option, since you get a new process for every reques

Re: AP -- MeAmI.org Paces Google

2009-07-09 Thread David Bernier
Musatov wrote: Los Angeles (AP) --MeAmI.org now has users in 50 countries following its adopted use in Pakistan. The search engine has grown in popularity 10,000 fold following its Beta test launch three months ago in April, 2009. Supporters of the site claim it is better than rival Google upon

Re: How to check if any item from a list of strings is in a big string?

2009-07-09 Thread Nobody
On Thu, 09 Jul 2009 18:36:05 -0700, inkhorn wrote: > For one of my projects, I came across the need to check if one of many > items from a list of strings could be found in a long string. If you need to match many strings or very long strings against the same list of items, the following should (

Re: Clarity vs. code reuse/generality

2009-07-09 Thread Steven D'Aprano
On Fri, 10 Jul 2009 03:28:04 +0100, Nobody wrote: > On Thu, 09 Jul 2009 04:57:15 -0300, Gabriel Genellina wrote: > >> Nobody says you shouldn't check your data. Only that "assert" is not >> the right way to do that. > > "assert" is not the right way to check your *inputs*. It's a perfectly > rea

Re: tough-to-explain Python

2009-07-09 Thread Terry Reedy
Steven D'Aprano wrote: And speaking of binary search: [quote] I was shocked to learn that the binary search program that Bentley PROVED CORRECT and SUBSEQUENTLY TESTED [emphasis added] in Chapter 5 of "Programming Pearls" contains a bug. Once I tell you what the it is, you will understand wh

Re: AP -- MeAmI.org Paces Google

2009-07-09 Thread scriber77
On Jul 9, 7:54 pm, David Bernier wrote: > Musatov wrote: > > Los Angeles (AP) --MeAmI.org now has users in 50 countries following > > its adopted use in Pakistan.  The search engine has grown in > > popularity 10,000 fold following its Beta test launch three months ago > > in April, 2009. Supporte

Re: language analysis to enforce code standards

2009-07-09 Thread Bruce C. Baker
"Jason S. Friedman" wrote in message news:mailman.2927.1247192026.8015.python-l...@python.org... > Hello, I administer the Informatica ETL tool at my company. Part of that > role involves creating and enforcing standards. I want the Informatica > developers to add comments to certain key obj

Re: AP -- MeAmI.org Paces Google

2009-07-09 Thread MichaelW
On Jul 10, 1:25 pm, scribe...@yahoo.com wrote: > On Jul 9, 7:54 pm, David Bernier wrote: > > > > > > > Musatov wrote: > > > Los Angeles (AP) --MeAmI.org now has users in 50 countries following > > > its adopted use in Pakistan.  The search engine has grown in > > > popularity 10,000 fold follow

Re: AP -- MeAmI.org Paces Google

2009-07-09 Thread Bruce C. Baker
wrote in message news:defacf35-6149-485a-8f03-15472d63d...@a39g2000pre.googlegroups.com... Oh, puh-LEEZ, Martin! A two-year-old wouldn't be fooled by this! -- http://mail.python.org/mailman/listinfo/python-list

Re: Package for fast plotting of many data points in Python?

2009-07-09 Thread lazy1
Hello Daniel, > Can someone recommend me a faster plotting library? I found out gnuplot to be blazing fast for many many points. I usually just call it using subprocess but there are Python bindings to it somewhere as well. HTH, -- Miki http://pythonwise.blogspot.com -- http://mail.python.org

Re: How to check if any item from a list of strings is in a big string?

2009-07-09 Thread Paul Rubin
inkhorn writes: > def list_items_in_string(list_items, string): > for item in list_items: > if item in string: > return True > return False You could write that as (untested): def list_items_in_string(list_items, string): return any(item in string for item in l

Re: How to check if any item from a list of strings is in a big string?

2009-07-09 Thread Steven D'Aprano
On Thu, 09 Jul 2009 18:36:05 -0700, inkhorn wrote: > def list_items_in_string(list_items, string): > for item in list_items: > if item in string: > return True > return False ... > Any ideas how to make that function look nicer? :) Change the names. Reverse the order o

Re: How to check if any item from a list of strings is in a big string?

2009-07-09 Thread John Machin
On Jul 10, 12:53 pm, Nobody wrote: > On Thu, 09 Jul 2009 18:36:05 -0700, inkhorn wrote: > > For one of my projects, I came across the need to check if one of many > > items from a list of strings could be found in a long string. > > If you need to match many strings or very long strings against th

Re: tough-to-explain Python

2009-07-09 Thread Steven D'Aprano
On Thu, 09 Jul 2009 23:07:34 -0400, Terry Reedy wrote: > Steven D'Aprano wrote: > >> And speaking of binary search: >> >> [quote] >> I was shocked to learn that the binary search program that Bentley >> PROVED CORRECT and SUBSEQUENTLY TESTED [emphasis added] in Chapter 5 of >> "Programming Pearl

Re: AP -- MeAmI.org Paces Google

2009-07-09 Thread Musatov
On Jul 9, 7:54 pm, David Bernier wrote: > Musatov wrote: > > Los Angeles (AP) --MeAmI.org now has users in 50 countries following > > its adopted use in Pakistan.  The search engine has grown in > > popularity 10,000 fold following its Beta test launch three months ago > > in April, 2009. Suppor

Re: How to use Python to interface with Web pages?

2009-07-09 Thread Tim Roberts
Peter wrote: > >Any help would be appreciated :-) > >I want to write an auction sniping tool in Python. Please don't. -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Examples of Python driven Microsoft UI Automation wanted

2009-07-09 Thread Tim Roberts
TheSeeker wrote: > >I am embarking on teaching myself Microsoft UI Automation using Python >as the scripting language. The University of North Carolina at Chapel Hill has a great Python package called pyAA that does exactly this: http://www.cs.unc.edu/Research/assist/developer.shtml http://mindt

Looking for the right library for a simple HTTP client

2009-07-09 Thread scriptlear...@gmail.com
I am trying to implement a simple client that can do the following: 1)to send the following kinds of HTTP requests and validate responses 1.1 GET 1.2 POST with application/x-www-form-urlencoded encoding 1.3 POST with multipart/form-data encoding 2)to set any number of (even duplicate) headers. Fo

Re: AP -- MeAmI.org Paces Google

2009-07-09 Thread David Bernier
Musatov wrote: On Jul 9, 7:54 pm, David Bernier wrote: Musatov wrote: Los Angeles (AP) --MeAmI.org now has users in 50 countries following its adopted use in Pakistan. The search engine has grown in popularity 10,000 fold following its Beta test launch three months ago in April, 2009. Support

Re: AP -- MeAmI.org Paces Google

2009-07-09 Thread Floetry
On Jul 9, 8:33 pm, "Bruce C. Baker" wrote: > wrote in message > > news:defacf35-6149-485a-8f03-15472d63d...@a39g2000pre.googlegroups.com... > > > > Oh, puh-LEEZ, Martin! A two-year-old wouldn't be fooled by this! Any reason "ka"-snip? Binomial Theorem: page 3. http://MeAmI.org/pversusnp.pdf

way for a function to understand whether it's being run through a OnCreate callback or not

2009-07-09 Thread slamdunk
is there a way for a function to understand whether it's being run through a OnCreate callback or not? I have working functions that I want to recycle through the OnCreate but need to catch the "nuke.thisNode()" bit inside them so they can still function when called manually through other scripts f

Re: AP -- MeAmI.org Paces Google

2009-07-09 Thread Bruce C. Baker
"Floetry" wrote in message news:803a7f06-8e43-4ff5-86a6-9fd9d2eee...@2g2000prl.googlegroups.com... On Jul 9, 8:33 pm, "Bruce C. Baker" wrote: > wrote in message > > news:defacf35-6149-485a-8f03-15472d63d...@a39g2000pre.googlegroups.com... > > > > Oh, puh-LEEZ, Martin! A two-year-old wouldn't

Re: way for a function to understand whether it's being run through a OnCreate callback or not

2009-07-09 Thread Chris Rebert
On Thu, Jul 9, 2009 at 11:18 PM, slamdunk wrote: > is there a way for a function to understand whether it's being run > through a OnCreate callback or not? > I have working functions that I want to recycle through the OnCreate > but need to catch the "nuke.thisNode()" bit inside them so they can >

<    1   2