Demonex
0
Q:

python module

import  pandas as pd:
1
import numpy as np:
1
import pyttsx3 # using ptython  to convert  text to speech 
0
import psutil
0
Simply, a module is a file consisting of Python code. A module can 
define functions, classes and variables. A module can also include 
runnable code that you can call with abitrary names attached to them.
0
from pakage_name.module_name import function_name
# now we can directly use function

##################################  OR  ########################################

from pakage_name import module_name
# now we have to use module_name.function_name
0

New to Communities?

Join the community