Difference between revisions of "User:Praveer-mathur-9f3d@uni-bonn.de/python-on-hpc"

From HPC Wiki
Jump to navigation Jump to search
(Created page with "Test Subpage")
 
Line 1: Line 1:
Test Subpage
+
=== Short Quiz: Python Packages === <!--T:5-->
 +
 
 +
{{hidden begin
 +
|title = Which of these locations will Python search for packages by default?
 +
}}
 +
<quiz display=simple>
 +
{
 +
|type="()"}
 +
+ Anything that is in $PYTHONPATH
 +
|| Explanation: Correct
 +
- Anything in your home
 +
|| Explanation: Wrong
 +
+ Preconfigured Site Packages
 +
|| Explanation: Correct
 +
+ The current working directory
 +
|| Explanation: Correct
 +
</quiz>
 +
{{hidden end}}

Revision as of 13:27, 17 March 2026

Short Quiz: Python Packages

Which of these locations will Python search for packages by default?

Syntax error

Anything that is in $PYTHONPATH
Anything in your home
Preconfigured Site Packages
The current working directory