How to import Scipy and it's Module ?

Import Scipy and it's Module

Import library only -
Syntax - import <libraryName>  
Exampleimport pandas  

Import Library with sub_name -
Syntax - import <LibraryName> as <Sub_Name>
Example - import numpy as np

Import Library with it's Module-
Syntax - from <libraryName> import <ModuleName>
Example - from scipy import constants

A simple and One Line Code 

    from scipy import module 

We have to import Scipy library and it's Module( constants). 

     ..We are ready to begin..


Example- 


This will return how many cubic centimetre in 1 Liter

1cm³= 1ml = 0.001L

Output will be -

    " Now we are ready to use Scipy ".   

Comments

Popular posts from this blog

How to install Scipy in Python