Re: [BangPypers] Basic of basic question

2013-05-08 Thread Mandar Vaze / मंदार वझे
On Wed, May 8, 2013 at 5:25 PM, Anand Chitipothu 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 agree. In fact even

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

2013-05-14 Thread Mandar Vaze / मंदार वझे
On Tue, May 14, 2013 at 5:18 PM, आदित्य लघाटे wrote: > On 14 May 2013 15:48, Saket Bhushan wrote: > > > On Tue, May 14, 2013 at 3:30 PM, wrote: > > > > > Send BangPypers mailing list submissions to > > > > Thank you for forwarding the digest back to the group :) > +1 ___

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 > > > 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. > > > >

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 wrote: > hi everyone, > > i am writing a basic flask application who's structure is as follows: > > /applicat

[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 / मंदार वझे
, since it > would help counter any cultural prejudices against women entering science > or technology fields, and would also help to counter some of the effects > described in 1-3. It wouldn't fully counter either of those effects, but > it's a start. > > > On 9/8/2013 1

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

Re: [BangPypers] Why PyLadies

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

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 tha

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 wrote: > Hello Comrades! > > I am happy to share with the joyful new

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 wrote: > On Thu, Oct 3, 2013 at 8:19 AM, Mandar Vaze / मंदार वझे > wrote: > > Downloaded it, bit not used it, yet. (still using vim) > > But I have heard so much praise about pycharm from everyone in every > > (python rel

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 > wrote: > >> On Thu, Oct 3, 2013 at 8:19 AM, Mandar Vaze / मंदार वझे >> wrote:

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

2013-10-02 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 wrote: > Guess we should collect all the info here and put it as a wiki somewhere > and include in an FAQ. > > This question frequents more than

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) -Manda

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 https://mail.python.org/mailman/listinf

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

2014-05-22 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 a

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 wrote: > "Mandar Vaze / मंदार वझे" writes: > > > Code 1: > > ... > > return dict(fname=fname, lname=lname, saluation=salutation, > > gender=gender, addr1=addr1, addr2=addr2, > > city=ci

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 http

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

2015-03-12 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 wrote: > Hey BangPypers, > > We are going to colleges in Bangalore giving them exposure about free and > high quality online resources to learn programmin

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 wrote: > No problem, however i forgot to

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

2015-06-24 Thread Mandar Vaze / मंदार वझे
On Tue, Jun 23, 2015 at 1:23 PM, Devi wrote: > On Mon, Jun 22, 2015 at 6:57 PM, anu sree 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], which is a simple vali

Re: [BangPypers] Connecting developers and companies

2015-07-19 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-19 Thread Mandar Vaze / मंदार वझे
On Mon, Jul 20, 2015 at 11:54 AM, Sreekanth S Rameshaiah wrote: > > On 20 July 2015 at 11:51, Mandar Vaze / मंदार वझे > wrote: > >> How about "A company that sponsors a meetup, formally gets 10 minutes at >> the end" ? >> This alleviates the above conce

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] [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] 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] [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 i

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 the

Re: [BangPypers] waiting for Third Party Applications in python

2010-11-18 Thread Mandar Vaze / मंदार वझे
> 1. Can i call these DOS commands from python ? example please > You can execute third party commands using os.system() - Details and example here : http://docs.python.org/tutorial/stdlib.html But generally it is used for starting commands that execute and return some value. To read input/output

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 wrote: > 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.wikipe

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 morni

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 wrote: > 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 should be

Re: [BangPypers] Python for mobile apps Deveopment

2011-01-25 Thread Mandar Vaze / मंदार वझे
On Tue, Jan 25, 2011 at 1:57 PM, Neha Jain 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, these are > What ab

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

2011-08-11 Thread Mandar Vaze / मंदार वझे
> > On Thu, Aug 11, 2011 at 3:24 PM, vikas ruhil > > 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 you

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

2011-08-15 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

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] Creating windows installer

2011-09-25 Thread Mandar Vaze / मंदार वझे
Linked in has similar discussion going on at : http://www.linkedin.com/groupItem?view=&gid=25827&type=member&item=70058851&qid=f54096ee-8199-4d71-9b6e-203cb822d2c7&trk=group_most_popular-0-b-ttl&goback=%2Egmp_25827 Quick summary : py2exe or cx_freeze -Mandar On Mon, Sep 26, 2011 at 11:24 AM, Sha

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 OPU

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 o

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 http://mail.pytho

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] Sad demise of our dear KG (Keneth Gonsalvas)

2012-08-03 Thread Mandar Vaze / मंदार वझे
On Fri, Aug 3, 2012 at 3:25 PM, JAGANADH G wrote: > Hi All, > > Just now I got a message that our dear KG (Kenneth Gonsalvas) passed away. > He was admitted in hospital due to Asthma attack and passed away today > morning. > Cremation will be held at ooty on 4th Aug 2012. > > Shocking and Sad !!

Re: [BangPypers] Instead of LAMP can we use django ?

2012-11-27 Thread Mandar Vaze / मंदार वझे
> (Linux,Apache,Mysql,Php).One Company is going to develop a websites like > (Monster,Shaadi.com,ebay) they are looking to develop these type of > websites in a couple of hours and setting deadline shortly.I heard from > I'm not sure these kind of sites can be built in "couple of hours" using AN

Re: [BangPypers] Hosting the Python Code on web

2013-04-03 Thread Mandar Vaze / मंदार वझे
> 1).Do I need to write the code again using any framework or is there any > way? > Yes. Currently your code prints the output on the terminal To display something in the browser, you'll need to use some web framework You should be able to use most of the logic from your existing code > 2) I hav

Re: [BangPypers] What is the output of this python program?

2013-04-05 Thread Mandar Vaze / मंदार वझे
> Seeding a pseudo-random number generator makes it > always generate a sequence specific to the seed. http://xkcd.com/221/ -Mandar ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Need help for python coding

2013-04-18 Thread Mandar Vaze / मंदार वझे
On Thu, Apr 18, 2013 at 6:34 PM, Rahul R 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 realpath did