Numpy and matplotlib

Numpy

“Numpy” is a important module in Python for doing numerical computations in a optimized way. Numpy stands for “numerical python”. Numpy is used for working with arrays as a Python library, which has functions for working in domain of linear algebra, fourier transform, and matrices. It also contains all the usual math functions, its own version of random module, and its own special data types, like “arrays”.

Continue reading “Numpy and matplotlib”

Modules

Python has build-in many functions, but we can still access even more functions when we “import” a “module”. A module works like a library. Since python is open source, more and more developers are working on improving the existing modules and developing new modules. What’s more, we can even make our own modules too. It’s very useful for reusing our codes and simplifying the development procedure.

Continue reading “Modules”

Control Structure and Text files

Conditionals

Similar to other programming languages, python also uses “if” statements for conditions. But python uses “elif” instead of “else if” for following conditions. Besides, python neither use parenthesis (“()”) to cover the conditions nor use curly brackets (“{}”) to cover the blocks. Instead, it’s necessary to indent our codes to make sure they are covered by either conditions or loops.

Continue reading “Control Structure and Text files”

Python Basis

Python was designed by Guido van Rossum in 1990 as a replacement of ABC language. It provides efficient and advanced data structures which make it become a simple and efficient object-oriented programming language. With the continuous updates of versions and the addition of new language features, it is gradually being used for the development of independent and large-scale projects.

Continue reading “Python Basis”