Re: GUI components in python

2012-03-08 Thread hackingKK
Hi Janaki, Python will mostly use either the pygtk library or pyqt library for any rich and production quality GUI. So you must try figuring out if either of these 2 libraries are used. Other than this, there is tkinter which i guess comes with Python as default. Happy hacking. Krishnakant.

Re: Hot Girls are Looking for Sex

2011-08-20 Thread hackingKK
Well, they might be indented in the right places but i don't know if loops, conditions, functions, if they all happen or not. :) Happy hacking. Krishnakant, On 20/08/11 01:47, Matty Sarro wrote: That's great - but do they program in python? On Fri, Aug 19, 2011 at 2:38 PM, Sajjad

can I use element tree for handling special characters in xml text?

2011-07-27 Thread hackingKK
Hello all. I have been waiting a lot to ask this question and I did ask some days back but probably could not put it the proper way. I want to know how I can safely include special characters like or in xml text? For example I store a small xml file containing list of organisations. Many

Re: Aw: Re: Aw: python.org back up ?(was Re: python.org is down?)

2011-07-25 Thread hackingKK
Infact the first thing I ever did with documentation on Python was to download it. yes you are not uptodate but you can always do a download once in a while rather than putting load on the server every time you want to lookup a function reference. Happy hacking. Krishnakant. On 25/07/11

how to get Python to insert special characters in an xml file?

2011-07-15 Thread hackingKK
Hello all. I am currently developing a python application which reads and writes some data to an xml file. I use the elementTree library for doing this. My simple question is that if I have some thing like as in kk company as organisation name, how can I have Python take this as a litteral

can I package a distutil based python app in deb?

2011-06-26 Thread hackingKK
Hello all, I guess the subject line says it all. I want to package a python app to deb. I have 3 interesting issues with it. 1, I would want it to run on Ubuntu 10.04, Ubuntu 10.10, Ubuntu 11.04 and Debian 5. 2, the package depends on another python package which is also distutil based. 3, The

Re: python in school notebooks/laptops

2011-05-30 Thread hackingKK
On 30/05/11 15:45, John Thornton wrote: Hello Is it a waste of time to try to get school admins to put python in their school laptops? OK. Here's the crib for the rest[!] of the world. Here in Australia most secondary schools [that is kids from age approx 12-18] have some

Re: Need the list of XML parsers

2011-01-17 Thread hackingKK
Hi Venu, Use element tree module. This comes with Python itself and does all that you need with presision. I have already used it and it does a very very good job. Happy hacking. Krishnakant. On 17/01/11 23:05, Venu wrote: Hi, I am getting into serious Python programming for Electronic CAD

no line breaks in xml file with elementTree

2010-10-31 Thread hackingKK
Hello all. I want to know if there is a way to have the ElementTree module write to an xml file with line breaks? I find that when I use the write function from the module on a tree object, the resulting file has no line breaks. I don't want to use prittyprint because it is adding extra tabs

Re: no line breaks in xml file with elementTree

2010-10-31 Thread hackingKK
On Sunday 31 October 2010 01:58 PM, Lawrence D'Oliveiro wrote: In messagemailman.412.1288509358.2218.python-l...@python.org, hackingKK wrote: I want to know if there is a way to have the ElementTree module write to an xml file with line breaks? Why does it matter? The XML files you

is elementTree really a part of python 2.6?

2010-10-28 Thread hackingKK
Hello all, Some days back I had asked a few questions about parsing xml files using python. I have tryed dom.minidom module but I did not like the prittyPrint way of writing nodes. There were many other things I did not quite like about dom.minidom, so now trying to use elementTree. But to my

how to write an xml file without dom.ext?

2010-10-07 Thread hackingKK
Hello all. I need to create an xml file. I am using dom.minidom module. It works fine as long as the xml tree is created. But I get the import error for dom.ext. I searched through the python docs but can't find a solution. I am pritty sure that there is way to write the file to disk without

Re: how to write an xml file without dom.ext?

2010-10-07 Thread hackingKK
On Thursday 07 October 2010 03:49 PM, Nitin Pawar wrote: why not just convert it to string with print pretty and then normal write to a file Can you give an example. happy hacking. Krishnakant. On Thu, Oct 7, 2010 at 3:36 PM, hackingKK hackin...@gmail.com mailto:hackin...@gmail.com wrote

Re: Should I Learn Python or Ruby next?

2010-06-23 Thread hackingKK
Ruby is a nice language to learn, but I seem to find it less matured. That might be my own personal perception. But looking at its success which you can read on Pythonology, I think it is going to be my choice and of many others for a long time to come. Besides ruby is more popular due to the

any python libraries for rendering open office spreadsheet to html

2010-03-16 Thread hackingKK
Hello, Is there a python library which can render ods to html. (I would even prefer javascript library to do this). The reason I am more interested in a python library is because, I am developing a web application in pylons. It is a financial software and initially on the desktop based client, I

Re: xml-rpc

2010-03-14 Thread hackingKK
Instead of using the library directly, isn't python-twisted a better choice? happy hacking. Krishnakant. On Sunday 14 March 2010 03:47 PM, Martin P. Hellwig wrote: On 03/14/10 08:14, ahmet erdinc yilmaz wrote: Hello, Recenetly we are developing a senior project and decide to use xmlrpclib.

Re: When will Python go mainstream like Java?

2010-02-23 Thread hackingKK
On Tuesday 23 February 2010 03:10 PM, Richard Lamboj wrote: Am Tuesday 23 February 2010 09:07:43 schrieb Krister Svanlund: On Tue, Feb 23, 2010 at 1:01 AM, Edward A. Falkf...@mauve.rahul.net wrote: You mean it's not? -- -Ed Falk, f...@despams.r.us.com

Re: Python and Ruby

2010-01-27 Thread hackingKK
On Thursday 28 January 2010 08:11 AM, rantingrick wrote: On Jan 27, 5:31 pm, Jonathan Gardnerjgard...@jonathangardner.net wrote: To add to that, Python is the type of language where experienced programmers can pick it up by reading code, and newbies won't get hopelessly lost. I've taught

Re: Is python not good enough?

2010-01-15 Thread hackingKK
On Saturday 16 January 2010 08:01 AM, Nobody wrote: On Fri, 15 Jan 2010 12:34:17 -0800, John Nagle wrote: Actually, no. It's quite possible to make a Python implementation that runs fast. It's just that CPython, a naive interpreter, is too primitive to do it. I was really hoping