Change the name with the random names in a text file
Chris Rebert
clp2 at rebertia.com
Wed Jun 29 02:16:48 EDT 2011
On Tue, Jun 28, 2011 at 12:17 PM, Amaninder Singh <asingh0412 at gmail.com> wrote:
> Hi Guys,
> I am fairly new to the language and programing. I am trying to solve a
> problem in a text file. Where names are something like in this manner
> [**Name2 (NI) 98**]
>
> [**Last Name (STitle) 97**]
> [**First Name4 (NamePattern1) 93**]
> [**Last Name (NamePattern1) 94**]
> ([**Name (NI) 95**])
> [**Last Name (un) 96**]
> I am trying to change these with random names.
The problem (particularly the exact meaning of your input file format)
isn't quite clear. Sample output would be useful to those trying to
help you.
Cheers,
Chris
More information about the Python-list
mailing list