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
-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-
> From: ch...@re
-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 any Pyt
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
-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
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:
Thank you for the suggestions.
Some little reading gave the idea and it works well too. :)
Here is the code:
fileIN = open("test.txt")
count = 0
for line in fileIN:
data= line
if '' in data:
count = 4
elif '###' in data:
count = 3
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