Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #8557

Re: Change the name with the random names in a text file

References <190e6c5d-00d2-4043-82f2-a33bf9be5fac@h25g2000prf.googlegroups.com>
Date 2011-06-28 23:16 -0700
Subject Re: Change the name with the random names in a text file
From Chris Rebert <clp2@rebertia.com>
Newsgroups comp.lang.python
Message-ID <mailman.493.1309328210.1164.python-list@python.org> (permalink)

Show all headers | View raw


On Tue, Jun 28, 2011 at 12:17 PM, Amaninder Singh <asingh0412@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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Change the name with the random names in a text file Amaninder Singh <asingh0412@gmail.com> - 2011-06-28 12:17 -0700
  Re: Change the name with the random names in a text file Chris Rebert <clp2@rebertia.com> - 2011-06-28 23:16 -0700
  Re: Change the name with the random names in a text file Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2011-06-29 09:31 +0200

csiph-web