Re: [Tutor] python Module for Windows Active Directory

2011-08-02 Thread Ajith Gopinath
Sure Tim. Thanks for your help.

Thanks and Regards
Ajith Gopinath



On Thu, Jul 28, 2011 at 8:32 PM, Tim Golden m...@timgolden.me.uk wrote:

 On 28/07/2011 07:28, qbits...@gmail.com wrote:

 Hi,

 Which is the best package/module in Python to work with Windows Active
 Directory?

 I may need to create multiple OUs, set different users and computers and
 fill their individual attributes. Later i may need to modify/delete and
 then may need to check them for its availability.


 You could try my active_directory module:

  
 http://timgolden.me.uk/python/**active_directory.htmlhttp://timgolden.me.uk/python/active_directory.html

 although there's a much-improved version in development
 (and actively used here at work). If you're interested,
 look at:

  
 http://svn.timgolden.me.uk/**active_directory/branches/**rework/http://svn.timgolden.me.uk/active_directory/branches/rework/

 TJG
 __**_
 Tutor maillist  -  Tutor@python.org
 To unsubscribe or change subscription options:
 http://mail.python.org/**mailman/listinfo/tutorhttp://mail.python.org/mailman/listinfo/tutor

___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] pattern searching

2009-11-07 Thread Ajith Gopinath
Thanks folks.

|| a j i t ||


On Sat, Nov 7, 2009 at 7:49 AM, bob gailer bgai...@gmail.com wrote:

 Shashwat Anand wrote:

 @Bob: the solution seems promising, and it's fast. Thanks for the
 improvement. However I would like to do a minor change to the code to
 prevent it going to infinite loop.

 import string

 text = raw_input()
 translationTable = string.maketrans(string.ascii_uppercase +
 string.ascii_lowercase, 'u'*26 + 'l'*26)
 translatedText = text.translate(translationTable)
 start = 0
 while True:
  start = translatedText.find('lul', start)
  if start = 0:
  print text[start:start+3]
  start += 1
  else:
  break

  Good catch. My bad!


 --
 Bob Gailer
 Chapel Hill NC
 919-636-4239
 ___
 Tutor maillist  -  Tutor@python.org
 To unsubscribe or change subscription options:
 http://mail.python.org/mailman/listinfo/tutor

___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Image manipluation (On-the-fly thumbnail creation)

2009-09-15 Thread Ajith Gopinath
import glob
import Image

for infile in glob.glob(*.jpg):
  im = Image.open(infile)
  # converting to thumbnail image
  im.thumbnail((128, 128), Image.ANTIALIAS)
  im.save(thumb + infile, JPEG)

Will this be of ur help Vince?

On 15/09/2009, vince spicer vinces1...@gmail.com wrote:
 On Tue, Sep 15, 2009 at 10:03 AM, dan06 dan.king...@yahoo.com wrote:


 I've recently delved into python, about a week or so ago; I'm trying to
 figure out how to create on-the-fly thumbnails. Are there python standard
 library modules I could/should use or should I use external libraries
 like:
 GD, Gimp, or ImageMagick?
 --
 View this message in context:
 http://www.nabble.com/Image-manipluation-%28On-the-fly-thumbnail-creation%29-tp25456792p25456792.html
 Sent from the Python - tutor mailing list archive at Nabble.com.

 ___
 Tutor maillist  -  Tutor@python.org
 To unsubscribe or change subscription options:
 http://mail.python.org/mailman/listinfo/tutor



 check out:

 http://www.pythonware.com/products/pil/


 creating thumbnail example here

 http://www.pythonware.com/library/pil/handbook/image.htm


 Vince



-- 
|| a j i t ||
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] pygtk

2009-09-08 Thread Ajith Gopinath
Thanks Patrik, this is what i am searching for.
|| a j i t ||


On Wed, Sep 9, 2009 at 1:27 AM, Patrick Sabin patrick.just4...@gmail.comwrote:

 The official docs

 http://www.pygtk.org/pygtk2tutorial/index.html
 http://library.gnome.org/devel/pygtk/stable/

 worked for me.

 - Patrick

 Ajith Gopinath schrieb:

 I will appreciate , if somebody guides me to a proper doc. on pygtk for
 2.5/2.6. I am currently unable to find a good doc for the same :o(

 Thanks and regards
 ~|| a j i t ||
 

 ___
 Tutor maillist  -  Tutor@python.org
 To unsubscribe or change subscription options:
 http://mail.python.org/mailman/listinfo/tutor



 ___
 Tutor maillist  -  Tutor@python.org
 To unsubscribe or change subscription options:
 http://mail.python.org/mailman/listinfo/tutor

___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


[Tutor] how do we represent left arrow key in python programming.

2009-08-21 Thread Ajith Gopinath
Hi Folks,
how do we represent left arrow key in a python program?
Can anybody help?
|| a j i t ||
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] how do we represent left arrow key in python programming.

2009-08-21 Thread Ajith Gopinath
Hi,
I just want to travese a text based menu.My prog.  will login to a text
based app. and traverse its menu  and clicks  where i want to be. rit now i
find it sifficult to traverse the menu.I am but able to click on the very
first item.Will this info help?
|| a j i t ||


On Fri, Aug 21, 2009 at 3:28 PM, Luke Paireepinart
rabidpoob...@gmail.comwrote:

 you're gonna have to be a lot more specific than that if you want a decent
 answer.

 On Fri, Aug 21, 2009 at 4:45 AM, Ajith Gopinath qbits...@gmail.comwrote:

 Hi Folks,
 how do we represent left arrow key in a python program?
 Can anybody help?
 || a j i t ||

 ___
 Tutor maillist  -  Tutor@python.org
 http://mail.python.org/mailman/listinfo/tutor



___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor