In this video, I have explained How to Import and Rename Modules in Python.
We can rename the module while importing it using the keyword.
import module_name as newname
The dir() function
The dir() built-in function returns a sorted list of strings containing the names defined by a module. The list contains the names of all the modules, variables, and functions that are defined in a module.
Ex-:
import random
print(dir(random))
Some Important Video Link:-
Python important interview question: • Python Interview Important Questions and A...
Python download and install: • How to Install Python | Run first program ...
Python Path set Link - • how to set path of python in windows | Ho...
Java important interview question: • Java Interview Questions(2022) and Answers...
Database important question: • DBMS/RDBMS Interview Question Answer with ...
Python Playlist Link - • Python Programming for beginners
Channel Subscription: / @kailashjoshitutorials
👍 LIKE ✍ COMMENT ✉ SHARE ❤ SUBSCRIBE
На этой странице сайта вы можете посмотреть видео онлайн Importing Modules in python | Renaming Modules in Python | Python Programming in Hindi #63 длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Kailash Joshi Tutorials 10 Май 2022, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 476 раз и оно понравилось 7 зрителям. Приятного просмотра!