- Executors
-
Learn
Learn Python Runnable examples, NumPy, pandas, and more Learn AI / Machine LearningNeural networks, ML and LLMs from scratch Learn C & C++ Pointers, memory, STL, and modern C++ Learn C#C# basics, OOP, LINQ, async, and .NET exercises Learn MatplotlibLine, bar, scatter and pie charts with live visualizers Learn RustOwnership, traits, error handling, and threads Learn GoSlices, interfaces, goroutines, and channels Python Algorithms Search, sorting, recursion, and visualizers O(n) C & C++ Algorithms Compare algorithms implemented in C and C++ Coding for Kids Learn to code by playing!
- QuizzesNew
- ChallengesNew
- For TeachersNew
- Updates
- Buy me a coffee
Python File Handling and Modules Quiz
Put Python's standard library to work. Import modules, use math, random, datetime and collections, and read and write files safely.
Intermediate
5 quizzes · 50 questions
about 30 minutes
0/5passed
Category exam
20 mixed questions. 80% earns a certificate.
1
Modules & Imports
Easy
Check how import, from ... import and aliases work in Python.
#modules#imports
10 questions · ~5 min
Not started
Start
2
math & random
Easy
Rounding, powers and square roots with math, and what the random functions can return.
#math#random#standard-library
10 questions · ~5 min
Not started
Start
3
File Reading & Writing
Medium
Open, write, append and read text files with the with statement and the right mode.
#files#with-statement
10 questions · ~6 min
Not started
Start
4
datetime
Medium
Build, format, parse and do arithmetic with dates and times using the datetime module.
#datetime#standard-library
10 questions · ~6 min
Not started
Start
5
collections
Hard
Use Counter, defaultdict, deque and namedtuple, and know their surprising behaviours.
#collections#standard-library
10 questions · ~8 min
Not started
Start
No quiz matches. Try another word or tag.