Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What is a module in Python?
Think of it as a building block.
What command do you use to install a package using pip?
It's the package installer for Python.
What file would you use to list project dependencies?
It's often used in conjunction with pip.
True or False: A package must contain an init.py file.
Think about the structure of Python packages.
You have two projects that depend on different versions of numpy. Describe how you would set up your environment to handle both.
Consider using venv or virtualenv for this.
Create a setup.py script for a fictional package called data_utils that depends on pandas and numpy.
Refer to the structure you learned about in class.
5 more questions in this section. Enroll free to practise them all.
Enroll free