Regex Group case change

2020-10-01 Thread Raju
Hello Everyone, I want to change the case on input string i was able to match using python regex but couldn't find the way to change the case. For example string: Input: 7Section Hello Jim output: 7Section hello Jim I was doing if statment with regex if re.match("(\d+\w* )(Hello)( \w+)",stri

Re: Regex Group case change

2020-10-01 Thread Raju
title()group(3) else: output.title() On Thursday, October 1, 2020 at 10:53:16 PM UTC+1, cameron...@gmail.com wrote: > On 01Oct2020 12:41, Raju wrote: > >I want to change the case on input string i was able to match using > >python regex but couldn't find the

about computer tips inonline click here

2008-09-01 Thread raju
http://www.moneymaking4.blogspot.com/ -- http://mail.python.org/mailman/listinfo/python-list

click here more tips in online about software

2008-09-01 Thread raju
http://www.moneymaking4.blogspot.com/ -- http://mail.python.org/mailman/listinfo/python-list

get paid on free offers

2008-09-01 Thread raju
http://www.moneymaking4.blogspot.com/ -- http://mail.python.org/mailman/listinfo/python-list

click heremore dollar

2008-09-01 Thread raju
http://www.moneymaking4.blogspot.com/ -- http://mail.python.org/mailman/listinfo/python-list

How to manipulate a contents of file as record structures

2009-01-31 Thread CK Raju
What would be a simple way to achieve this ? CK Raju -- http://mail.python.org/mailman/listinfo/python-list

Re: How to manipulate a contents of file as record structures

2009-01-31 Thread CK Raju
On Sat, Jan 31, 2009 at 4:19 PM, Gabriel Genellina wrote: > for line in f: > do_something_with(line) Thanks a lot. CK Raju -- http://mail.python.org/mailman/listinfo/python-list

Help required to read and print lines based on the type of first character

2009-03-04 Thread Abhinayaraj . Raju
Hi, I am a beginner in Python. In fact, beginner to coding/ scripting. Here is a scenario, I need to code. Need your help on this: A script that 1. Reads from a file (may be a local file say test.txt) 2. And, if the line begins with a "#", should print the line one time 3. if the

RE: Help required to read and print lines based on the type of first character

2009-03-04 Thread Abhinayaraj . Raju
de line...\n' elif(count== 4): print data + '\ninvalid line!\n' elif count>=1: for i in range(0, count): print data Thanks, R Abhinayaraj -Original Message- From: gagsl-...@yahoo.com.ar [mailto:gag

RE: Help required to read and print lines based on the type of first character

2009-03-05 Thread Abhinayaraj . Raju
Thank you so much for your guidance, Bruno. This should help me in a long way. Here is the code I have written. path = raw_input("\nEnter location eg. c:/buffer/test.txt : \n") fileIN = open(path) count = 0 for line in fileIN: data= line if '' in data:

RE: Help required to read and print lines based on the type of first character

2009-03-05 Thread Abhinayaraj . Raju
-Original Message- From: Bruno Desthuilliers [mailto:bruno.42.desthuilli...@websiteburo.invalid] Sent: Thursday, March 05, 2009 10:45 PM To: python-list@python.org Subject: Re: Help required to read and print lines based on the type of first character abhinayaraj.r...@emulex.com a écrit

Python to Perl transalators

2009-03-17 Thread Abhinayaraj . Raju
Could anyone suggest whether there is any Python to Perl code convertors? I found one on the net viz. Perthon. But it wasn't really helping out. Thanks Agni -- http://mail.python.org/mailman/listinfo/python-list

RE: Python to Perl transalators

2009-03-17 Thread Abhinayaraj . Raju
-Original Message- From: ch...@rebertia.com [mailto:ch...@rebertia.com] On Behalf Of Chris Rebert Sent: Wednesday, March 18, 2009 10:53 AM To: Raju, Abhinayaraj Cc: python-list@python.org Subject: Re: Python to Perl transalators 2009/3/17 : > Could anyone suggest whether there is

RE: Python to Perl transalators

2009-03-18 Thread Abhinayaraj . Raju
-Original Message- From: Andre Engels [mailto:andreeng...@gmail.com] Sent: Wednesday, March 18, 2009 3:53 PM To: Raju, Abhinayaraj Cc: python-list@python.org Subject: Re: Python to Perl transalators On Wed, Mar 18, 2009 at 6:27 AM, wrote: > > -Original Message- >

RE: Python to Perl transalators

2009-03-18 Thread Abhinayaraj . Raju
Thanks Nick. The website content is impressive. Thanks Agni -Original Message- From: Nick Craig-Wood [mailto:n...@craig-wood.com] Sent: Wednesday, March 18, 2009 9:00 PM To: python-list@python.org Subject: Re: Python to Perl transalators Armin wrote: > On Wednesday 18 March 2009 1

Help needed to resolve ImportError

2009-05-13 Thread Venkat Raju
Hi, We currently use VC6.0 and Python 2.2 for our project. As part of porting our project to VC2005 when i try to compile our application, it gives the following error Traceback (most recent call last): File "v:\Component\DS\scripts\messagebuilder\IL_Messagebuilder\test\test_IL_setg

Re: Hello

2010-07-09 Thread Raju Angani
gt; > Gedit has a plugin that brings up a python intepreter. > Edit->Preferences->Plugins->python console I think. > > Geremy Condra Hi Dani, I started liking wingware ide, I used free version before my company finally bought a licensed version. Give it a try www.wingware.com R