Open a Url in new tab and tab switching in IE using python and selenium

2015-05-05 Thread shweta kaushik
Hi All, I am trying to open a new tab in IE10 and selenium 2.45. It is able to open a new tab using pyrobot. But when i am trying to open url in new tab, it is getting opened in first tab. Focus is not set to second tab and hence it is not working and also switching of tab is not working. please p

Re: help on self._dir

2008-06-10 Thread Kaushik
On Jun 9, 8:13 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > Kaushik wrote: > > Hi, > > i'm new to python , and i came across a code like > > > if ("on_%s" % handler ) in self._dir: > > > i tried use the a similar method in my

help on self._dir

2008-06-09 Thread Kaushik
Hi, i'm new to python , and i came across a code like if ("on_%s" % handler ) in self._dir: i tried use the a similar method in my class it errors out like AttributeError: bot instance has no attribute '_dir' what am i doing wrong? Thanks, Kaushik -- http://mail.py

Re: mod_python Unable to create file

2008-03-02 Thread Kaushik Barat
Hey thanks a lot Sean.Setting the permissions on the directory path solved the problem. On Sun, Mar 2, 2008 at 11:09 AM, Sean Allen <[EMAIL PROTECTED]> wrote: > > On Mar 2, 2008, at 3:24 AM, kaush wrote: > > > On Mar 1, 11:24 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > >> On Sat, 01

Re: pickling and endianess

2006-08-24 Thread Chandrashekhar Kaushik
>> What about old ASCII?    The data is large .it also contains floats & double , so ascii will cause two problems -> loss of precision and the data will bloat  --shekhar -- http://mail.python.org/mailman/listinfo/python-list

Re: pickling and endianess

2006-08-24 Thread Chandrashekhar Kaushik
remote end :) On 8/25/06, Gabriel Genellina <[EMAIL PROTECTED]> wrote: At Friday 25/8/2006 03:17, Chandrashekhar Kaushik wrote:>I am actually looking to implement serialization routines in C++.>An am facing the problem of how to tackle endianess and sizeof issues.> >Could you giv

Re: pickling and endianess

2006-08-24 Thread Chandrashekhar Kaushik
its getting daunting as i am not that proficient in python :( .On 8/25/06, Tim Peters < [EMAIL PROTECTED]> wrote:[Chandrashekhar kaushik]> Can an object pickled and saved on a little-endian machine be unpickled > on a big-endian machine ?Yes.  The pickle format is platform-indepen

pickling and endianess

2006-08-24 Thread Chandrashekhar kaushik
Can an object pickled and saved on a little-endian machine be unpickledon a big-endian machine ? Does python handle this in some manner  , by say having a flag to indicatethe endianess of the machine on which the object was pickled ?  And then using this flag to decide how that data will be unpick

Re: SWIG Python Extension winth C++ Problematic

2006-08-04 Thread Chandrashekhar kaushik
Hi skipthanks for replying I made a small test case that fails with a similar problem This is how it looks 1. Two simple classes A and B , each holds an integer.2. A has a function getB() that returns pointer to B. /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\#ifndef __AB_H__#define __AB_H__c

SWIG Python Extension winth C++ Problematic

2006-08-03 Thread Chandrashekhar kaushik
someone ??On 8/4/06, Chandrashekhar kaushik <[EMAIL PROTECTED]> wrote: HiI have been working getting my C++ code to be used in Python ( Basically Extending )This is the problem i am facing rite now.I have a function that returns a Pointer to a class in my C++ Code It looks like this SL

Python Extension winth C++ Problematic :(

2006-08-03 Thread Chandrashekhar kaushik
HiI have been working getting my C++ code to be used in Python ( Basically Extending )This is the problem i am facing rite now.I have a function that returns a Pointer to a class in my C++ CodeIt looks like this SLSocket* SLSocket::accept( SLHostInfo& client ){    socklen_t    addrlen = sizeof( st

Re: to py or not to py ?

2006-06-28 Thread Chandrashekhar kaushik
The first thread immediately goes back to listening for new connections.  On 6/28/06, Robert Kern <[EMAIL PROTECTED]> wrote: Chandrashekhar kaushik wrote:> okay> so much for a few spelling errors and abbreviations used by me !!> we are losing the main point !> i had a look at mercur

Re: to py or not to py ?

2006-06-28 Thread Chandrashekhar kaushik
6/28/06, Steve Holden <[EMAIL PROTECTED]> wrote: Serge Orlov wrote:> On 6/27/06, Chandrashekhar kaushik <[EMAIL PROTECTED]> wrote:[...]>>also is it actually a good idea to write high perf applications in python ? >>> Take a look at Mercurial <http://www.selenic.com/

to py or not to py ?

2006-06-27 Thread Chandrashekhar kaushik
HI all I have the following prob.I am to write a parallel vis application .I wud have by default used C++ for the same but somehow thought if py cud help me ..It does as in many things that i would otherwise have written down already exists ... ( like built in classes for sockets , threading etc )I