Just starting out unable to use print function on a mac. Which module do I import to use print? Kevin Urban
This is not the correct list to ask about problems with your code (It is very likely that your program redefined the name print. Python-list would be the list to ask). There is no module to import to get the print function. There is a special import to turn the print keyword to the print function in python 2.7 (from __future__ import print_function). There is no third party module for this. Even if there where, this list is for the packaging infrastructure of python, not module support. From: Distutils-SIG [mailto:distutils-sig-bounces+tritium-list=sdamon.com@python.org] On Behalf Of Kevin Urban Sent: Monday, January 29, 2018 12:47 PM To: distutils-sig@python.org Subject: [Distutils] print module Just starting out unable to use print function on a mac. Which module do I import to use print? Kevin Urban
https://www.google.com/search?q=Which+module+do+I+import+to+use+print%3F (the StackOverflow result answers your question) https://www.google.com/search?q=python+print+function (first result) https://docs.python.org/3/search.html?q=Print (second result -> print function) https://docs.python.org/2/search.html?q=Print (second result -> print statement) https://docs.python.org/3/library/__future__.html?highlight=print (what is a PEP?) This list is for distutils-related discussions. https://mail.python.org/mailman/listinfo/distutils-sig This list is for Python language and standard library questions: https://mail.python.org/mailman/listinfo/tutor This forum is also for similar questions: https://www.reddit.com/r/learnpython https://www.reddit.com/r/learnpython/search?q=print+function On Monday, January 29, 2018, Kevin Urban <kevinurban@comcast.net> wrote:
Just starting out unable to use print function on a mac. Which module do I import to use print?
Kevin Urban
participants (3)
-
Alex Walters
-
Kevin Urban
-
Wes Turner