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
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
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
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
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
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
...@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
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
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
.
"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@
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
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
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
.
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
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
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
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
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
18 matches
Mail list logo