Re: [BangPypers] regular expression for Indian landline numbers

2010-11-25 Thread Mandar Vaze / मंदार वझे
And any info as to whether my assumptions as to the landline numbers is correct? Check http://en.wikipedia.org/wiki/India_phone_code and http://en.wikipedia.org/wiki/Telephone_numbers_in_India to get additional info. These two URLs also have link to some PDFs from DoT -Mandar

Re: [BangPypers] regular expression for Indian landline numbers

2010-11-25 Thread Mandar Vaze / मंदार वझे
On Thu, Nov 25, 2010 at 4:08 PM, Kenneth Gonsalves law...@au-kbc.orgwrote: On Thu, 2010-11-25 at 15:55 +0530, Mandar Vaze / मंदार वझे wrote: And any info as to whether my assumptions as to the landline numbers is correct? Check http://en.wikipedia.org/wiki/India_phone_code

Re: [BangPypers] regular expression for Indian landline numbers

2010-11-25 Thread Mandar Vaze / मंदार वझे
So all one really needs to do (say if one wants to call back) is to extract one single 10 digit number using the above logic by stripping off the optional prefixes and the extra characters (which I presume would be quite trivial). But then maybe my mind is not working well today early morning

Re: [BangPypers] Help Needed for an NGO based Project

2011-01-18 Thread Mandar Vaze / मंदार वझे
On Tue, Jan 18, 2011 at 4:43 PM, Kenneth Gonsalves law...@au-kbc.orgwrote: On Tue, 2011-01-18 at 15:48 +0530, Young J wrote: I have registered with an email id and an email containing activation link must be sent to the before said email id. Once the link is clicked the user status

Re: [BangPypers] Python for mobile apps Deveopment

2011-01-25 Thread Mandar Vaze / मंदार वझे
On Tue, Jan 25, 2011 at 1:57 PM, Neha Jain neha.hbti...@gmail.com wrote: Hey, I am not very conversant with the other mobile platforms, but maemo supports python very nicely. One can develop apps in python on the N900 directly! There are many apps written for the maemo platform in pyqt,

Re: [BangPypers] how to write Operating System in python

2011-08-12 Thread Mandar Vaze / मंदार वझे
On Thu, Aug 11, 2011 at 3:24 PM, vikas ruhil vikasruhi...@gmail.com wrote: I am looking towards to write an operating system in Python? How i can write kernel and kernel calls on Debian Linux ! any body can help reagrd this !! http://www.jtauber.com/cleese What is your

Re: [BangPypers] Django - share login sessions on sub-domain

2011-08-16 Thread Mandar Vaze / मंदार वझे
Also refer to similar discussion on Python Pune mailing list : http://groups.google.com/group/pythonpune/browse_thread/thread/31993e39bd0dfac6/b9b3709bceb6e913 -Mandar On Mon, Aug 15, 2011 at 7:57 PM, Ketan Padegaonkar ketanpadegaon...@gmail.com wrote: It is possible to set session cookies on

Re: [BangPypers] Python 2.7.1 build successful, however many modules failed on HP-UX 11.31 ia64 with aCC

2011-09-20 Thread Mandar Vaze / मंदार वझे
3.) Is ActiveState also one of the discussion group? http://www.activestate.com/activepython They indeed support HP-UX -Mandar ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] re module help

2012-01-09 Thread Mandar Vaze / मंदार वझे
cmd = sdptool -i hci0 search OPUSH sdptool working file standalone fine. but over stream not getting output. check link http://dpaste.com/684335/ In the the code above, as well as from dpaste link, you are already redirecting to a file. Try cmd = sdptool -i hci0 search OPUSH instead, so

Re: [BangPypers] checking return status of 'ping' in windows

2012-01-22 Thread Mandar Vaze / मंदार वझे
Why don't you parse the output of the ping instead of the checking the output status? When the interpretation of output status can be If OP has requirements to run the code on non-english OS setup (Japanese, say) Then parsing for the output text may be problematic. Python implementation of

Re: [BangPypers] Setting Network settings from Python/Django

2012-01-22 Thread Mandar Vaze / मंदार वझे
I realize that I can could just overwrite the config files in linux but I was wondering if there is a more Python way of doing it. I want any ready to use module is there, please guide me. See if Fabric http://docs.fabfile.org/en/1.3.4/index.html is of any help. -Mandar

Re: [BangPypers] ASynK - Flexible PIM synchronization across Google Contacts, Outlook, Emacs BBDB

2012-06-01 Thread Mandar Vaze / मंदार वझे
The download and other links don't seem to work for me. Btw, if you are sharing code please publish it in github or google code. github link given on the Download page -Mandar ___ BangPypers mailing list BangPypers@python.org

Re: [BangPypers] BangPypers Digest, Vol 58, Issue 9

2012-06-07 Thread Mandar Vaze / मंदार वझे
Please make sure you don't reply to digest emails. It screws up +1 the context for everyone. Even if you do, kindly delete the long tail of previous emails before you post. .. and while you are removing the long tail - why not edit the subject line to more suitable one ? -Mandar

Re: [BangPypers] Need help for python coding

2013-04-19 Thread Mandar Vaze / मंदार वझे
On Thu, Apr 18, 2013 at 6:34 PM, Rahul R rahul8...@gmail.com wrote: os.path.realpath(__filename__) that should do the trick. As much as I understand the requirement, Kamalakar wants to recognize the path, then he needs some equivalent of which command (for binaries) or locate for non-binaries

Re: [BangPypers] Basic of basic question

2013-05-08 Thread Mandar Vaze / मंदार वझे
On Wed, May 8, 2013 at 5:25 PM, Anand Chitipothu anandol...@gmail.com wrote: In my 7+ years of Python programming I've never used the input/raw_input functions. People coming from C background look for a scanf replacement in Python, but that is now the way things are done in Python. Yeah. I

Re: [BangPypers] BangPypers Digest, Vol 69, Issue 13

2013-05-14 Thread Mandar Vaze / मंदार वझे
On Tue, May 14, 2013 at 5:18 PM, आदित्य लघाटे adi...@thinrhino.net.inwrote: On 14 May 2013 15:48, Saket Bhushan gamebi...@gmail.com wrote: On Tue, May 14, 2013 at 3:30 PM, bangpypers-requ...@python.org wrote: Send BangPypers mailing list submissions to Thank you for forwarding the

Re: [BangPypers] [OT] RIP - Atul Chitnis

2013-06-03 Thread Mandar Vaze / मंदार वझे
Really sad and shocking. I had a bad feeling when I read one of his last tweet that he was looking for a wheelchair, but I had always thought that he would recover. I remember reading his column comversations in PCQuest decades ago and meeting him in person when he was in Pune few years ago.

Re: [BangPypers] regarding python

2013-06-21 Thread Mandar Vaze / मंदार वझे
Instead of separate IPython and text editor, you can try Canopyhttps://enthought.com/products/canopy/, After the above email - I have downloaded Canopy. You might want to mention that canopy-1.0.0-rh5-32.sh is an installer only for RedHat, precisely RH5 or above. No, thats not

Re: [BangPypers] flask application issues

2013-08-31 Thread Mandar Vaze / मंदार वझे
I am assuming you have already read the appfog documentation, if not please refer to : https://docs.appfog.com/languages/python/flask On Fri, Aug 30, 2013 at 7:23 PM, Adivandhya adivand...@yahoo.co.in wrote: hi everyone, i am writing a basic flask application who's structure is as

[BangPypers] Why PyLadies

2013-09-08 Thread Mandar Vaze / मंदार वझे
before, and I would be interested in your response: What purpose is served by creating a women's group, instead of joining the existing group thus making it more diverse? In other words, what purpose is served by intentional segregation? Was this ever answered ? -Mandar

Re: [BangPypers] Why PyLadies

2013-09-10 Thread Mandar Vaze / मंदार वझे
. It wouldn't fully counter either of those effects, but it's a start. On 9/8/2013 10:58 AM, Mandar Vaze / मंदार वझे wrote: before, and I would be interested in your response: What purpose is served by creating a women's group, instead of joining the existing group thus making it more

Re: [BangPypers] Favorite tips/techniques

2013-09-10 Thread Mandar Vaze / मंदार वझे
Both Shabda and Nouful used the term prefer Is there a best practice ? http://stackoverflow.com/questions/4984647/accessing-dict-keys-like-an-attribute-in-python This guy asked for pitfalls and caveats - but no one seem to have addressed the question (There are several answers about How to do it

Re: [BangPypers] Why PyLadies

2013-09-10 Thread Mandar Vaze / मंदार वझे
On Tue, Sep 10, 2013 at 2:40 PM, sankarshan foss.mailingli...@gmail.comwrote: On Sun, Sep 8, 2013 at 11:28 PM, Mandar Vaze / मंदार वझे mandarv...@gmail.com wrote: before, and I would be interested in your response: What purpose is served by creating a women's group, instead of joining

Re: [BangPypers] Why PyLadies

2013-09-10 Thread Mandar Vaze / मंदार वझे
Please co-operate. If you really have to talk about it, keep your conversations private. Some people object to private discussions :) -Mandar ___ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Mail formatting for this list

2013-09-14 Thread Mandar Vaze / मंदार वझे
I dont understand. What's your viewport width? Can that only support 80ish chars? Are you on mobile/tablet? It is not uncommon for people to read/respond to emails on mobile/tablet. So for emails, 80-character width isn't bad choice. On the other hand, most people code only on screens that

[BangPypers] RHOK, maptree and like ..

2013-09-23 Thread Mandar Vaze / मंदार वझे
(Changing the subject so as not to get caught in cross fire ..) Does anyone know Chinmayi SK from RHOK. In addition I would like more information about the app itself ? The article says Android app .. encourages users to take picture of tree etc. Couple years ago - I was part of team that

Re: [BangPypers] the pyCharm from Jetbrains has been opensourced i.e. its free now!

2013-10-02 Thread Mandar Vaze / मंदार वझे
Downloaded it, bit not used it, yet. (still using vim) But I have heard so much praise about pycharm from everyone in every (python related) forum that I can't wait to use it -Mandar On Tue, Oct 1, 2013 at 3:21 PM, Venu Murthy venu.mur...@thoughtworks.comwrote: Hello Comrades! I am happy to

Re: [BangPypers] the pyCharm from Jetbrains has been opensourced i.e. its free now!

2013-10-02 Thread Mandar Vaze / मंदार वझे
On Thu, Oct 3, 2013 at 9:40 AM, Dhananjay Nene dhananjay.n...@gmail.comwrote: On Thu, Oct 3, 2013 at 8:19 AM, Mandar Vaze / मंदार वझे mandarv...@gmail.com wrote: Downloaded it, bit not used it, yet. (still using vim) But I have heard so much praise about pycharm from everyone in every

Re: [BangPypers] the pyCharm from Jetbrains has been opensourced i.e. its free now!

2013-10-02 Thread Mandar Vaze / मंदार वझे
http://bit.ly/1dXgwqD -Mandar On Thu, Oct 3, 2013 at 10:59 AM, Mandar Vaze / मंदार वझे mandarv...@gmail.com wrote: On Thu, Oct 3, 2013 at 9:40 AM, Dhananjay Nene dhananjay.n...@gmail.comwrote: On Thu, Oct 3, 2013 at 8:19 AM, Mandar Vaze / मंदार वझे mandarv...@gmail.com wrote

Re: [BangPypers] the pyCharm from Jetbrains has been opensourced i.e. its free now!

2013-10-03 Thread Mandar Vaze / मंदार वझे
OT. I remember when they first demoed pycharm at PyCon and they said something like, it has compatibility features if you're coming from normal editors like vim or emacs. He said that and then started pycharm, it crashed and took down the OS with it. :) Which year's pycon ? Which OS ?

Re: [BangPypers] python training help

2013-12-24 Thread Mandar Vaze / मंदार वझे
It shouldn't matter that this is on Python Pune site : http://pune.python.org.in/pages/python-resources.html On Tue, Dec 24, 2013 at 2:09 PM, Srinath g.s.srinat...@gmail.com wrote: Guess we should collect all the info here and put it as a wiki somewhere and include in an FAQ. This question

Re: [BangPypers] Best python source browsing tool for Mac + Emacs / Sublime

2013-12-30 Thread Mandar Vaze / मंदार वझे
Some of my friends swear by PyCharm http://www.jetbrains.com/pycharm/download/index.html One more person (me) who liked pycharm - but AFAIK it only supports Python (well) Since sriram talked about C/C++ code - probably Sublime is better suited (Although I haven't used it seriously) -Mandar

Re: [BangPypers] { Parsing excel file }

2014-03-10 Thread Mandar Vaze / मंदार वझे
OPENPYXL :- Read and Write only XLSX file. (No support for XLS) We are using openpyxl in our product - mainly because we needed to *create* xlsx files. -Mandar ___ BangPypers mailing list BangPypers@python.org

[BangPypers] Multiple return values from a function : Where to draw the line ?

2014-05-23 Thread Mandar Vaze / मंदार वझे
Currently I came across the code that returned 9 values (return statement spanned 5 lines due to pep8 limitation of 79 characters per line) The function returns various values that are used by the template to render HTML To give you an idea - consider following two code snippets : (This is just

Re: [BangPypers] Multiple return values from a function : Where to draw the line ?

2014-05-23 Thread Mandar Vaze / मंदार वझे
On Fri, May 23, 2014 at 5:26 PM, Navin Kabra na...@smriti.com wrote: Mandar Vaze / मंदार वझे mandarv...@gmail.com writes: Code 1: ... return dict(fname=fname, lname=lname, saluation=salutation, gender=gender, addr1=addr1, addr2=addr2, city=city, state=state, country

Re: [BangPypers] Help With Python

2014-06-01 Thread Mandar Vaze / मंदार वझे
Please suggest me a suitable framework. Web2py Also suggest me resources to learn some projects to get involved. http://web2py.com/init/default/documentation http://web2py.com/book -Mandar ___ BangPypers mailing list BangPypers@python.org

Re: [BangPypers] Good and practical resources to build Web Apps using Django

2015-03-13 Thread Mandar Vaze / मंदार वझे
http://twoscoopspress.com/products/two-scoops-of-django-1-6 ? seems to have good reviews -Mandar On Thu, Mar 12, 2015 at 6:44 PM, Aby James gits1...@gmail.com wrote: Hey BangPypers, We are going to colleges in Bangalore giving them exposure about free and high quality online resources to

Re: [BangPypers] Newspaper in Python

2015-04-24 Thread Mandar Vaze / मंदार वझे
If you use with context manager then you don't have to explicitly close the file handle. e.g. with open(filetosave,w) as fh: for article in Sc_paper.articles: fh.write(article) -Mandar On Fri, Apr 24, 2015 at 2:18 PM, Prince Sharma prince0...@gmail.com wrote: No problem,

Re: [BangPypers] UI less Rest API server with flask

2015-06-25 Thread Mandar Vaze / मंदार वझे
On Tue, Jun 23, 2015 at 1:23 PM, Devi asld...@gmail.com wrote: On Mon, Jun 22, 2015 at 6:57 PM, anu sree anusree@gmail.com wrote: Thanks anuvrat and krace, How do we do validation of data in the POST and PUT API request, if we use only native fask ?. You could use Cerberus[1],

Re: [BangPypers] Connecting developers and companies

2015-07-20 Thread Mandar Vaze / मंदार वझे
This is not correct. Many companies have sponsored space and snacks without expecting any thing in return. If a company offers space to you to conduct meeting and competing companies go there to make 10 minute presentation of job offers, then companies will have a second thought to offer

Re: [BangPypers] Connecting developers and companies

2015-07-20 Thread Mandar Vaze / मंदार वझे
On Mon, Jul 20, 2015 at 11:54 AM, Sreekanth S Rameshaiah s...@mahiti.org wrote: On 20 July 2015 at 11:51, Mandar Vaze / मंदार वझे mandarv...@gmail.com wrote: How about A company that sponsors a meetup, formally gets 10 minutes at the end ? This alleviates the above concern, also more

Re: [BangPypers] Connecting developers and companies

2015-07-20 Thread Mandar Vaze / मंदार वझे
But in case Company B wishes to present too, they will have to get prior permission from Company A along with the organizers of the meet-up. Or Company B can just sponsor next meetup ;) -Mandar ___ BangPypers mailing list BangPypers@python.org

Re: [BangPypers] Delete my account

2016-05-30 Thread Mandar Vaze / मंदार वझे
I am getting "*BangPypers roster authentication failed.*" error. BTW, is there an option (like google groups) to "view emails on the web only" so that membership remains intact and size of inbox also remains "under control" (No, I don't wanna unsubscribe) -Mandar On Thu, May 19, 2016 at 4:19

Re: [BangPypers] Delete my account

2016-05-30 Thread Mandar Vaze / मंदार वझे
I am getting "*BangPypers roster authentication failed.*" error. BTW, is there an option (like google groups) to "view emails on the web only" so that membership remains intact and size of inbox also remains "under control" (No, I don't wanna unsubscribe) -Mandar On Thu, May 19, 2016 at 4:19

Re: [BangPypers] [pythonpune] PyDelhi pamphlet

2016-01-20 Thread Mandar Vaze / मंदार वझे
"Beautiful Code" in the pamphlet is not python3 compatible *ducks* -Mandar On Tue, Jan 19, 2016 at 8:52 PM, Rishabh Singh <0601rish...@gmail.com> wrote: > Folks spread the word around your college campus, company and around your > tech circle, use the pamphlet below. Print it, photostat it and

Re: [BangPypers] [X-Post] PythonExpress challenges

2017-08-09 Thread Mandar Vaze / मंदार वझे
> It will at max prove that student was in a place for few hours We can always call it "Certificate of Participation" (Which is what you are suggesting, I think) Is there a "mini test" at the end of the workshop ? If yes, they certificate can be given only to those who "pass" (assuming the test

Re: [BangPypers] [Bangpypers] Bangpypers Meetup - 27 Feb 2021 - Reminder mail + Zoom link availing for today's meetup (27/2)

2021-02-27 Thread Mandar Vaze / मंदार वझे
Was this session recorded ? If yes, can you share the link? Thanks, -Mandar On Sat, Feb 27, 2021 at 7:24 AM Abhiram R wrote: > Hi! > This is a reminder mail for the monthly- Bangpypers meetup - for the month > of Feb 2021 i.e. today the 27th Feb 2021. The Zoom link should be available > on