Re: newbie - Does IDLE care about sitecustomize.py?

2014-03-22 Thread vikram . denizen
Could you figure this out? On Wednesday, November 16, 2005 10:37:09 PM UTC+8, bobu...@yahoo.com wrote: > I have the following test script in the file customize.py > > # C:\Python24\Lib\site-packages\sitecustomize.py > print "test text from sitecustomize" > > If start Python from command prompt I

font change

2010-04-23 Thread Vikram Moule
menu. I am using wx module of wxPython. Q2. A white window is seen when i execute the program it says wxPython:stdout/stderr what is that ? and how to get rid of it ? Thanks in advance. -- Regrads , Vikram Moule -- http://mail.python.org/mailman/listinfo/python-list

autocomplete and printing

2009-03-24 Thread vikram moule
Q1. I want to access a database and just by pressing the first alphabet will showup a dropdown list of all the words starting from that alphabet how can I do that ? ( I know how to access the database but the further problem is unsolved hence) Q2. How can I print a document for example bill or

header intact

2006-04-15 Thread Vikram Katju
__ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- http://mail.python.org/mailman/listinfo/python-list

Re: __init__ method and raising exceptions

2005-04-01 Thread Vikram
i don't fully understand your qn but why don't you let __init__ of your class raise an exception and then catch it in the outer for loop and continue. something like: for i in ... try: foo() except: continue Vikram -- http://mail.python.org/mailman/listinfo/python-list

Re: dictionary: sorting the values preserving the order

2005-03-31 Thread Vikram
hi, assuming your key-value relationship is one-to-one then as a simple first pass you can simply initialize d1={} and for i in d.keys(): d1[d[i]] = i and pass d1 to your sortedDictValue3 function, no? thanks, Vikram On 31 Mar 2005, Rakesh wrote: > Hi, >

Re: what's the use of __repr__?when shall I use it?

2005-03-31 Thread Vikram
you might also be interested in this thread covering the same topic: http://groups-beta.google.com/group/comp.lang.python/browse_thread/thread/d10731049459726f/2a8f62f478057abd?q=python+__repr__+__str__+difference&rnum=6#2a8f62f478057abd thanks, Vikram -- http://m