Re: [BangPypers] [Novice] Question on File seek and tell methods

2013-06-17 Thread saurabh
keyword, you are "out of the range" and you exit. Hope that helps. -- regards, Saurabh. http://curiosityhealsthecat.blogspot.in/ -- View this message in context: http://python.6.x6.nabble.com/Novice-Question-on-File-seek-and-tell-methods-tp5021174p502155

Re: [BangPypers] [Novice] Question on File seek and tell methods

2013-06-17 Thread saurabh
Well, if you must do it that way then this is what I cooked up in a hurry. See if you like it. It comes with the caveat of recording the first pattern's pos and re-reading the file from that pos again. #!/usr/bin/env python import re import sys # not doing input validation # call program as: pyt

Re: [BangPypers] [Novice] Question on File seek and tell methods

2013-06-17 Thread saurabh
In this answer for the chunk re_start_pattern = re.compile(r'^%s$' % (start_pattern)) re_stop_pattern = re.compile(r'^%s$' % (stop_pattern)) *pattern = re_start_pattern last_line_len = 0* "pattern" and "last_line_len" are unused vars. I forgot to delete them. Updated just so that the reader does

Re: [BangPypers] [Novice] Question on File seek and tell methods

2013-06-17 Thread saurabh
As I said earlier and I repeat myself - Jonanthan's approach is simpler :) Always good to see an elegant solution of a problem. Interesting code Jon. Looking forward to seeing your code snippets in answers. :) -- Cheers, Saurabh. http://curiosityhealsthecat.blogspot.in/ -- View this me

[BangPypers] python material I had used for training at CIT, Gubbi

2013-08-21 Thread saurabh
Hi everyone, I had conducted basic python training at CIT, Gubbi. Was travelling, so could not upload the code to github, Have done so now. The repo is at: https://github.com/saurabh-hirani/python-training As it was an introductory session, I had planned accordingly and was doing 2 things

Re: [BangPypers] December meetup

2013-11-18 Thread saurabh
their areas of expertise e.g. Shantanu had given a lightning talk on Graphite in this meetup. If we get a feel of what people what to learn and what talks people are interested in giving - an intersection of the two could lay a background for funneling. -- regards, Saurabh. -- View this messa

[BangPypers] volunteer for conducting basic python training at CIT, Gubbi, Bangalore.

2014-03-25 Thread saurabh
...@gmail.com? Thanks. -- regards, Saurabh. -- View this message in context: http://python.6.x6.nabble.com/volunteer-for-conducting-basic-python-training-at-CIT-Gubbi-Bangalore-tp5051622.html Sent from the Bangalore (BangPypers) mailing list archive at Nabble.com

Re: [BangPypers] BangPypers Digest, Vol 70, Issue 17

2013-06-17 Thread Saurabh Hirani
your first keyword and till you stay in the range you keep on printing. When you find your next keyword, you are "out of the range" and you exit. Hope that helps. -- regards, Saurabh. http://curiosityhealsthecat.blogspot.in/ On Mon, Jun 17, 2013 at 3:30 PM, wrote: > Send BangPy

Re: [BangPypers] BangPypers Digest, Vol 70, Issue 17

2013-06-17 Thread Saurabh Hirani
Sorry for replying to the wrong thread. This previous mail was an answer to http://python.6.x6.nabble.com/Novice-Question-on-File-seek-and-tell-methods-td5021174.html On Mon, Jun 17, 2013 at 4:27 PM, Saurabh Hirani wrote: > The problem is that when you do "for line in f" you are u

Re: [BangPypers] Beginner to Django Framework

2013-10-09 Thread Saurabh Kumar
. "Django is fun if you know python" Links: [1]: https://django.2scoops.org/ [2]: https://docs.djangoproject.com/en/1.5/ [3]: http://www.amazon.com/gp/product/1430227575 Warm Regards, Saurabh Kumar ___ BangPypers mailing list BangPypers@

[BangPypers] Fwd: [BCB] Registrations Open for Barcamp Bangalore Spring 2014 !

2014-03-17 Thread Saurabh Minni
Hi Friends, Registrations for Barcamp Bangalore Spring 2014 scheduled for 29th March 2014 is now open. Please read the details below. Thanks, Saurabh -- Forwarded message -- From: Aman Manglik Date: Thu, Mar 13, 2014 at 11:52 AM Subject: [BCB] Registrations Open for Barcamp

Re: [BangPypers] Mobile App Development using Python

2014-08-04 Thread Saurabh Minni
You should have a look at Kivy [http://kivy.org/] A lot of things are detailed in there. Thanks, Saurabh On Mon, Aug 4, 2014 at 1:55 PM, Jins Thomas wrote: > Hi > > I quickly checked archive, Couldn't find much... > > Humble request to some experts to throw some

[BangPypers] [JOB] Python/Django opportunity in Delhi NCR

2014-09-20 Thread Saurabh Kumar
co.in Regards, ​--​ *​*Saurabh Kumar *https://keybase.io/theskumar <https://keybase.io/theskumar>* ___ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers

[BangPypers] **************PYTHON NEWBIE**************

2014-12-05 Thread Saurabh Saha
. I apologize for writing such an intense and long mail but I wanted to articulate the problem in detail so that I could have your valuable suggestions on how to go about it. Thanks a lot for your time. Regards Saurabh Saha Mobile-9538844215

Re: [BangPypers] Multiple Django app with nginx

2016-05-19 Thread Saurabh Kumar
st:8000/; } ``` [0] http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_pass ​[1] https://serverfault.com/questions/379675/nginx-reverse-proxy-url-rewrite​ ​Cheers,​ - Saurabh ___ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Delete my account

2016-05-20 Thread Saurabh Kumar
On Thu, May 19, 2016 at 3:45 PM, Santosh Chiniwar wrote: > Dear Python team, >Please remove me from your mailing list so that I don't get emails from > you. > ​Checkout https://mail.python.org/mailman/listinfo/bangpypers and you should be able to remove yourself.​ ​Cheers, ​ > Thank you ve

Re: [BangPypers] [PythonExpress] Volunteer for Python 3 workshop on August 13

2016-08-05 Thread Saurabh Kumar
Hi Vishnu, Can you be little bit more specific and detailed about the issue you are facing? And better, if you can create an issue at https://github.com/pythonindia/wye Cheers, ​--​ *​*Saurabh Kumar https://saurabh-kumar.com On Wed, Aug 3, 2016 at 12:51 PM, Vishnu Talanki wrote: > Hi, &g

[BangPypers] [JOB] Hiring a Python Geek as a co-founder who can develop a social-network website.

2016-03-22 Thread Saurabh Bassi via BangPypers
and equity. Please drop an email (including a link to your portfolio/resume) so that I can discuss more details. Thank You. Regards,Saurabh Bassi9900036467 ___ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers