Sorry about the cross-post but I assume that might be people outside Pune who
may be interested.
I'm forwarding this mail on behalf of someone I know. People interested in this
may please contact Mr. Harsh Vardhan (consultdadoo at gmail.com) directly.
The job is based in Pune AFAIK.
cheers,
In my application, I need to move mouse-pointer and generate click event. I
am not making any GUI application. mouse and click event will be trigger on
dekstop.
Quick and dirty way to do this
import os
def move_mouse(x,y):
os.system('xdotool mousemove ' + str(x) + ' ' + str(y))
def
On Fri, Jan 7, 2011 at 4:48 PM, Anand Balachandran Pillai
abpil...@gmail.com wrote:
You should be using ncurses for applications like this which need mouse
positions (x,y) on the console.
http://pyncurses.sourceforge.net/
What will be the difference ? can I use pyncurses to generate global
On Fri, Jan 7, 2011 at 4:54 PM, Narendra Sisodiya
naren...@narendrasisodiya.com wrote:
On Fri, Jan 7, 2011 at 4:48 PM, Anand Balachandran Pillai
abpil...@gmail.com wrote:
You should be using ncurses for applications like this which need mouse
positions (x,y) on the console.
On Fri, Jan 07 2011, Narendra Sisodiya wrote:
In my application, I need to move mouse-pointer and generate click
event. I am not making any GUI application. mouse and click event will
be trigger on dekstop.
Is this for some kind of testing? If so, the Linux Desktop Testing
Project might offer
On Fri, Jan 07 2011, Anand Balachandran Pillai wrote:
You should be using ncurses for applications like this which need mouse
positions (x,y) on the console.
http://pyncurses.sourceforge.net/
Isn't ncurses used for CUI applications? I wasn't aware that you can
control your graphical cursor
On Fri, Jan 7, 2011 at 5:08 PM, Noufal Ibrahim nou...@gmail.com wrote:
On Fri, Jan 07 2011, Anand Balachandran Pillai wrote:
You should be using ncurses for applications like this which need mouse
positions (x,y) on the console.
http://pyncurses.sourceforge.net/
Isn't ncurses used for
Can somebody give an easy way to convert a image into black and white using
a given threshold..
Currently I am doing like this
image=ImageOps.grayscale(image)
for i in range(0,width):
for j in range(0,height):
if image.getpixel((i,j)) = 200:
On 01/07/2011 10:04 PM, Narendra Sisodiya wrote:
Can somebody give an easy way to convert a image into black and white using
a given threshold..
Currently I am doing like this
image=ImageOps.grayscale(image)
for i in range(0,width):
for j in range(0,height):
if
On Fri, Jan 7, 2011 at 10:27 PM, kunal kunal...@gmail.com wrote:
On 01/07/2011 10:04 PM, Narendra Sisodiya wrote:
Can somebody give an easy way to convert a image into black and white
using
a given threshold..
Currently I am doing like this
image=ImageOps.grayscale(image)
for i
On Fri, Jan 7, 2011 at 10:04 PM, Narendra Sisodiya
naren...@narendrasisodiya.com wrote:
Currently I am doing like this
image=ImageOps.grayscale(image)
for i in range(0,width):
for j in range(0,height):
if image.getpixel((i,j)) = 200:
On Fri, Jan 7, 2011 at 22:04, Narendra Sisodiya
naren...@narendrasisodiya.com wrote:
Can somebody give an easy way to convert a image into black and white using
a given threshold..
Currently I am doing like this
image=ImageOps.grayscale(image)
for i in range(0,width):
for j in
On Fri, Jan 7, 2011 at 11:00 PM, Roshan Mathews rmath...@gmail.com wrote:
What is the general mailing list to ask question on python ?
This is one.
There is also: http://mail.python.org/mailman/listinfo/baypiggies
And http://mail.python.org/mailman/listinfo/python-list
I dont think
On Fri, 2011-01-07 at 22:04 +0530, Narendra Sisodiya wrote:
What is the general mailing list to ask question on python ?
you are not satisfied with this list?
--
regards
Kenneth Gonsalves
___
BangPypers mailing list
BangPypers@python.org
On Fri, 2011-01-07 at 23:07 +0530, Venkatraman S wrote:
What is the general mailing list to ask question on python ?
This is one.
There is also: http://mail.python.org/mailman/listinfo/baypiggies
And http://mail.python.org/mailman/listinfo/python-list
I dont think baypiggies is
On Sat, Jan 8, 2011 at 6:55 AM, Kenneth Gonsalves law...@au-kbc.org wrote:
On Fri, 2011-01-07 at 22:04 +0530, Narendra Sisodiya wrote:
What is the general mailing list to ask question on python ?
you are not satisfied with this list?
--
regards
Kenneth Gonsalves
This is not a question
On Sat, Jan 8, 2011 at 9:23 AM, Narendra Sisodiya
naren...@narendrasisodiya.com wrote:
http://mail.python.org/pipermail/image-sig/2011-January/006639.html
So i tried my code snippet and it worked. The above thread asks you to
convert to greyscale and then do a pixel check.
For a sufficiently
On Sat, Jan 8, 2011 at 10:14 AM, Venkatraman S venka...@gmail.com wrote:
On Sat, Jan 8, 2011 at 9:23 AM, Narendra Sisodiya
naren...@narendrasisodiya.com wrote:
http://mail.python.org/pipermail/image-sig/2011-January/006639.html
So i tried my code snippet and it worked.
I am sorry but
On Sat, Jan 8, 2011 at 10:19 AM, Narendra Sisodiya
naren...@narendrasisodiya.com wrote:
I am sorry but your code snippet was less efficient then what i posted
initially. moreover, I was having black and white image.
I thought you needed BW image. (I should read properly!!)
Also, can you
On Sat, Jan 8, 2011 at 10:22 AM, Venkatraman S venka...@gmail.com wrote:
On Sat, Jan 8, 2011 at 10:19 AM, Narendra Sisodiya
naren...@narendrasisodiya.com wrote:
I am sorry but your code snippet was less efficient then what i posted
initially. moreover, I was having black and white
20 matches
Mail list logo