Chuyển đến phần nội dung
Luyện Nghe Tiếng Anh Chất
Tiếng Anh Chuyên Ngành
Listening Quiz: Thiết Lập Một Môi Trường Ảo Python – Easy Level
Th5 19, 2025
—
bởi
Anna Phạm
trong
Tiếng Anh dành cho Nhà khoa học dữ liệu (English for Data Scientist)
‹
1
2
3
4
5
›
1.
What is the main topic of the conversation?
How to share packages between different projects
How to write a Python program for a project
How to install Python on a computer
How to set up and activate a Python virtual environment
Explanation:
James explains what a Python virtual environment is, why it is useful, and how to create and activate one.
2.
Why does James say Python virtual environments are important?
They make Python programs run faster
They replace the need for command line tools
They automatically install all project files
They help projects avoid mixing their packages
Explanation:
James says they are important so different projects don’t mix their packages.
3.
What command does James tell Emily to type to create the virtual environment?
python -m venv env
python install env
source env/bin/activate
env\Scripts\activate
Explanation:
James says to type ‘python -m venv env’ to create the environment.
4.
What does the word ‘env’ refer to in the command?
The command line window
The package list for the project
The name of the Python version
The folder name for the environment
Explanation:
James explains that ‘env’ is the folder name for the environment.
5.
Which activation command should be used on Windows?
python -m venv env
source env/bin/activate
env\Scripts\activate
cd env/bin
Explanation:
James says that on Windows, the command is ‘env\Scripts\activate’.
Previous
Check
Next
Finish
Reset
Luyện tập thêm về bài học này:
Listening Lesson
Vocabulary Flashcards and Quiz
←
Trước đó:
Tiếng Anh An Ninh Mạng: Trình Bày Lộ Trình Công Nghệ Bảo Mật – Advanced Level
Tiếp theo:
Flashcards và Quiz Từ Vựng: Lưu Giữ Tài Liệu Cho Tài Trợ Ứng Phó Khẩn Cấp – Medium Level
→