Python libraries and programs

Hello,

I have questions about Python.

Python libraries

  • How do we know when we need to use libraries?
  • How could we find out which library is needed?

Python programs
Python files (.py) contain programs. After writing Python programs, how can end-users run the programs if they do not have Python on their computers? It does not make sense to give .py files to end-users and ask them to install Python and IDE on their computer so that they could run programs from .py files. Can executable program be created from .py files and distributed to end-users to who do not have and do not want to install Python on their computers?