Python Learning

2017-12-15 Thread Varun R
Hi All, I'm new to programming, can anyone guide me, how to start learning python programming language,...plz suggest some books also. Thanks all -- https://mail.python.org/mailman/listinfo/python-list

Re: How to loop through nodes of xml through xslt

2014-07-31 Thread varun bhatnagar
Hi Dan, Thanks a lot for the reply. I am using lxml for the transformation and I am parsing xsl file using lxml module, that is why posted in this list. Is there any way out to achieve this? Thanks, BR, Varun On Thu, Jul 31, 2014 at 5:47 AM, Dan Stromberg wrote: > On Wed, Jul 30, 2014 a

How to loop through nodes of xml through xslt

2014-07-30 Thread varun bhatnagar
sequentially. Can anyone tell me how to achieve this. How can I loop every Procedure tag and and append the attrProc attribute value in a sequential order? Thanks, BR, Varun -- https://mail.python.org/mailman/listinfo/python-list

Re: Removing xml element and strip extra space

2014-07-22 Thread varun bhatnagar
: < *I want to remove this space* :) On Tue, Jul 22, 2014 at 3:00 PM, Tim wrote: > On Tuesday, July 22, 2014 8:53:35 AM UTC-4, varun bhatnagar wrote: > > Hi, > > Thank you so much for the suggestion. > >

Re: Removing xml element and strip extra space

2014-07-22 Thread varun bhatnagar
tself in some way? Thanks, BR, Varun On Tue, Jul 22, 2014 at 2:23 PM, Monte Milanuk wrote: > On 2014-07-22, varun bhatnagar wrote: > > I want to strip the space between ** and ** > > Can anyone suggest a way out to do that? > > Look at str.rstrip() - by default it r

Removing xml element and strip extra space

2014-07-22 Thread varun bhatnagar
";> When I execute it my output looks like this: * * ** I want to strip the space between ** and ** Can anyone suggest a way out to do that? Thanks, BR, Varun -- https://mail.python.org/mailman/listinfo/python-list

Re: xslt with python

2014-07-15 Thread varun bhatnagar
merged. I have to see how can I resolve the URI problem. //Varun On Tue, Jul 15, 2014 at 3:12 PM, Tim wrote: > On Tuesday, July 15, 2014 4:10:57 AM UTC-4, varun bhatnagar wrote: > > I am trying to merge two xmls using xslt in python but the content of > first xml is not getting

xslt with python

2014-07-15 Thread varun bhatnagar
ening other xml file (test_file_1.xml) in xsl file using "document()" function. Once this code is executed I can see only the content of test_file_2.xml. Am I doing something wrong? Is there any other way to do this because my xslt rules are working fine without python. Thanks, BR, Varun -- h

Re: Does python support ATL Modelling Language?

2014-07-09 Thread varun bhatnagar
, still need to investigate). All these things I was doing using ATL. Anyways, I can still go through this and see if this works for me. /Varun On Wed, Jul 9, 2014 at 3:20 PM, William Ray Wing wrote: > On Jul 9, 2014, at 4:38 AM, varun bhatnagar wrote: > > > Hi, > > > >

Does python support ATL Modelling Language?

2014-07-09 Thread varun bhatnagar
appreciated! :) Thanks, BR, Varun -- https://mail.python.org/mailman/listinfo/python-list

Issue in installing xlwt package

2013-09-14 Thread varun nayyar
Hello,I am using windows 7 32 bit and installed python 2.7.5When i am trying to install xlwt 0.7.5 package from cmd prompt it shows Access Denied.When i run the cmd in administrator mode I am getting the following error: Fatal Python error: Py_Initialize: can't initialize sys standard streamsImp

Language detector for Python using en-gram.

2009-07-28 Thread varun
One of my friend suggested me to do a language detector for python.At present the language detector in python is in uni-gram mode and i have planned to do it in en-gram mode.Kindly give me your suggestion as i am doing this as my final year project. With Anticipation, Varun V. Kumar -- http

controlling the windows

2008-07-03 Thread varun chadha
i am developing an application using Tkinter where 'next' button takes to another window and removes the first one from screen and 'back' button bring me back to previous window and so on. though i am able to move from one window to another but is unable to remove the previous one from the screen.

connecting to DBMS

2008-07-01 Thread varun chadha
i am a newbie to python and is working on an application which needs to connect to the database. can anyone guide me through the DBMS that i can use and the module to connect to it. currently i have MySQL installed using the link on the python.org site but is unable to connect to it through python.

passing control to other window

2008-06-21 Thread varun chadha
i am trying to develop a application using Tkinter in which a new window pops out on a particular button press.though i can pass control automatically to that window using .force_focus() method and disabling all my widgets in previous window but the technique is not so clean. for eg. when u click '

Problem rendering indic fonts in Tkinter

2008-06-09 Thread varun embar
Hi, I was trying to build a kannada word processor using tkinter.But i have some problem rendering conjunct consonants. For eg:- a = Text(root) a.insert(INSERT,unichr(0x0c95)+unichr(0x0ccd)+unichr(0x0c95)) this gives two separate consonants rather than one conjunct consonant -- http://mail.python.

Interfacing my chess client with GNU chess using python

2006-09-18 Thread Varun Hiremath
8<--8<--8<------8< Varun Hiremath Undergraduate Student, Aerospace Engg. Department, Indian Institute of Technology Madras, Chennai, India --- Webpage : http://www.ae.iit

Re: KPanelApplet using Python

2006-02-24 Thread Varun Hiremath
On Fri, 24 Feb, 2006 at 09:55:59AM -0800, David Boddie wrote: > Varun Hiremath wrote: > > > I was wondering if there is any way to make KDE PanelApplets > > using Python. I have made a small window using Qt, kdeui nad > > kdecore libs. Now I want to add it to the KDE k

Re: KPanelApplet using Python

2006-02-24 Thread Varun Hiremath
but I don't know exactly how to use it. I need some help regarding this. Thank You -- --- Varun Hiremath 461, Jamuna Hostel IIT Madras, Chennai - 600 036 mob : +919840299732 --- My Webpage : http://www.ae.

KPanelApplet using Python

2006-02-24 Thread Varun Hiremath
Hi, I was wondering if there is any way to make KDE PanelApplets using Python. I have made a small window using Qt, kdeui nad kdecore libs. Now I want to add it to the KDE kicker. Can I get any help regarding this matter. Thank you. -- --- Varun

Re: plotting with gnuplot.py

2005-09-02 Thread Varun Hiremath
.. Hi, Try doing this: import Gnuplot,Numeric filename = ('Default.PL1') data = scipy.io.array_import.read_array(filename) y = data[:,1] x = data[:,0] z = data[:,2] //I think u need to take the transpose of this column before plotting.. x=Numeric.transpose(x) y=Numeric.transpose(y)

Problem with Pythoncard

2005-08-26 Thread Varun Hiremath
: Broken packages * -- --- Varun Hiremath 461, Jamuna Hostel IIT Madras, Chennai - 600 036 mob : +919840299732 --- My Webpage : http://www.ae.iitm.ac.in/~ae03b032

Re: Python Online Programming Contest

2005-03-02 Thread Varun
Hi, The results of OPC (online programming contest) is out. The statistics of python usage is available at http://www.samhita.info/opc/status.php. Regards, -OPC Team -- http://mail.python.org/mailman/listinfo/python-list

Python Online Programming Contest

2005-02-25 Thread Varun
Hi Friends, Department of Information Technology, Madras Institute of Technology, Anna University, India is conducting a technical symposium, Samhita. As a part of samhita, an Online Programming Contest is scheduled on Sunday, 27 Feb 2005. This is the first Online Programming Contest in India to

Python Online Programming Contest

2005-02-25 Thread Varun
Hi Friends, Department of Information Technology, Madras Institute of Technology, Anna University, India is conducting a technical symposium, Samhita. As a part of samhita, an Online Programming Contest is scheduled on Sunday, 27 Feb 2005. This is the first Online Programming Contest in India to

Re: Python Online Programming Contest

2005-02-24 Thread Varun
Hi, It is open for anyone across the world. All times are local ( GMT +5:30). The contest will be on Feb 27 (this sunday) and i will ensure that the times are clearly specified. -Varun -- http://mail.python.org/mailman/listinfo/python-list

Python Online Programming Contest

2005-02-24 Thread Varun
Hi Friends, Department of Information Technology, Madras Institute of Technology, Anna University, India is conducting a technical symposium, Samhita. As a part of samhita, an Online Programming Contest is scheduled on Sunday, 27 Feb 2005. This is the first Online Programming Contest in India to s