from … import … - Python for Beginners

Published: 21 June 2026
on channel: The Software Mentor
No
0

from … import … - part of Python for Beginners.
Short, clear Python lessons - one concept at a time.

In this lesson:
from module import name — use the name directly, no prefix
import module as alias — shorten a long module name
You can import multiple names: from math import sqrt, pi
Avoid from module import star — be explicit about what you import

Chapters:
0:00 Intro
0:08 What is from … import … ?
0:18 Walkthrough
0:26 Walkthrough
0:37 Running using_math.py
0:45 Walkthrough
0:53 Walkthrough
1:02 Specific import vs wildcard import
1:14 Recap

Module: Modules & Packages
Every command and code example in this video is executed and verified before publishing.


On this page of the site you can watch the video online from … import … - Python for Beginners with a duration of hours minute second in good quality, which was uploaded by the user The Software Mentor 21 June 2026, share the link with friends and acquaintances, this video has already been watched No times on youtube and it was liked by 0 viewers. Enjoy your viewing!