[BangPypers] Need help with adding a character at the end of the line in a file in linux.

2015-04-16 Thread arvind ks
Hi Everyone, Could you please help me with the below python script that tries to add characters A H to line starting with "service description" depending on contact groups. *Input file::* define service{ use generic-service service_description CPU Load - check_command check_nrpe_cpu contact_group

Re: [BangPypers] Need help with adding a character at the end of the line in a file in linux.

2015-04-16 Thread arvind ks
erate lines. It should ideally be in a single line i.e. H A as there are 2 entries in contact_groups lines i.e. Infrastructure and Platforms. Thanks Arvind On Fri, Apr 17, 2015 at 11:41 AM, Kishor Bhat wrote: > On Fri, Apr 17, 2015 at 11:35 AM, arvind ks > wrote: > > Hi Everyone, &

Re: [BangPypers] Need help with adding a character at the end of the line in a file in linux.

2015-04-17 Thread arvind ks
rince Sharma wrote: > For that you should compile the regex with infrastructure and platform > together. And have that check before checks for infrastructure and platform > separately. > On Apr 17, 2015 12:10 PM, "arvind ks" wrote: > > > Hi Kishore, > > Th

[BangPypers] Simple App with Django & Mongo DB

2016-11-24 Thread arvind ks
Hi All, Can someone give a link or a document for creating a basic simple app using, django & mongo DB on Linux. Thanks in advance. Arvind ___ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Simple App with Django & Mongo DB

2016-11-24 Thread arvind ks
Blog | Linux Journal > > > | > | > | > | || > >| > > | > | > | | > Using Django and MongoDB to Build a Blog | Linux Journal > This article shows how to create a simple blog site using the MongoDB > Document Database and the Django Web frame.