Professional Documents
Culture Documents
PWP Exp1
PWP Exp1
PWP Exp1
X. Program Code.
1. Install PyCharm Community Edition 2017.3.7(32 Bit)
XI. Practical Related Questions
1. Write step to installing Python on Window.
Ans:-
Step1:- Download Latest Version from http://www.Python.Org/downloads
(Latest Version Python.3.7.1)
Step2:- Open the Python 3.7.1.Version pack Double Click it to start installation and
installation windows will be open.
Step3:- Click on next install now for installation and then setup progress windows will be
opened.
Step4:- After Complete the Installation, Click on Close Button.
2. State IDEL in Python.
Ans:-
Augment the default search path for module files. The format is the same as the shell’s
PATH: one or more directory pathnames separated by os.pathsep (e.g. colons on Unix or
semicolons on Windows). Non-existent directories are silently ignored.
In addition to normal directories, individual PYTHONPATH entries may refer to zipfiles
containing pure Python modules (in either source or compiled form). Extension
modules cannot be imported from zipfiles.
The default search path is installation dependent, but generally begins with
prefix/lib/pythonversion (see PYTHONHOME above). It is always appended to
PYTHONPATH.
An additional directory will be inserted in the search path in front of PYTHONPATH as
described above under Interface options. The search path can be manipulated from
within a Python program as the variable sys.path.
Ans:- PEP stands for Python Enhancement Proposal. A PEP is a design document
providing information to the Python community, or describing a new feature for Python
or its processes or environment. The PEP should provide a concise technical
specification of the feature and a rationale for the feature.
We intend PEPs to be the primary mechanisms for proposing major new features, for
collecting community input on an issue, and for documenting the design decisions that
have gone into Python. The PEP author is responsible for building consensus within the
community and documenting dissenting opinions.
Because the PEPs are maintained as text files in a versioned repository, their revision
history is the historical record of the feature proposal
Pip:- pip is a package manager for Python. That means it’s a tool that allows you to
install and manage additional libraries and dependencies that are not distributed as part
of the standard library.
Package management is so important that pip has been included with the Python
installer since versions 3.4 for Python 3 and 2.7.9 for Python 2, and it’s used by many
Python projects, which makes it an essential tool for every Pythonista.
The concept of a package manager might be familiar to you if you are coming from
other languages. JavaScript uses npm for package management, Ruby uses gem, and
.NET use NuGet. In Python, pip has become the standard package manager.