Professional Documents
Culture Documents
ITCE300
Introduction to Python
ID: 20176204
Introduction:
In this lab we are going to study about Python. It’s a high level programming language and one of the
best programming language for computer and network engineers. It has a large committee and a large
set of libraries and packages.
Discussion:
1. What is the name of python packet manager? How to list outdated packages installed in the
system?
Name of python packet manager is PIP. It’s a standard package management system which is
used to install and manage software packages written in python.
To list outdated packages installed in system we use:
$ pip list --outdated
2. What are the prefixes for binary, octal and hexadecimals numbers?
Prefixes for
Binary number: 0b
Octal number: 0o
Hexadecimal number: 0x
4. What are the files method used to check whether the file stream supports random access
and can be written to?
Methods which can used to check whether the file stream supports random access and can
be written to are:
seekable()
writable()
Conclusion:
In this lab we learnt briefly about python, what it is ,how we can use to create
programs and we also got to know about its different methods.