On Sun, Apr 24, 2016 at 2:05 PM, San <santan...@gmail.com> wrote: > Hi All, > I want details explanation(why this statement used,when it can be used,etc) > of following statement in python code > > "from __future__ import print_function" > > Thanks in advance. > -- > https://mail.python.org/mailman/listinfo/python-list
It lets python 2.7 use python 3.x print function instead of the 2.7 print statement. You might like some of the options, and your code will be easier to upgrade to 3.x if you decide to do that -- Joel Goldstick http://joelgoldstick.com/blog http://cc-baseballstats.info/stats/birthdays -- https://mail.python.org/mailman/listinfo/python-list