Junior Python School
648 subscribers
92 photos
29 links
Surprising the python community with pure python ๐Ÿ”

Moving channel from Russian to English.


Enthusiastic reviews can be written to @pythonjuniorschoolacc โค๏ธ
Download Telegram
A little typing never hurts, does it? ๐Ÿฆ†
Frozen as set ๐ŸงŠ๐ŸงŠ๐ŸงŠ
Solve the previous quiz before ๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿง‘โ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป
โœ๏ธ pyc - a compiler for Python bytecode, compiling .py code into .pyc code

Which module from python built-in library is used for reading and writing .pyc files?
Anonymous Quiz
43%
pickle
20%
shelve
22%
marshal
15%
copyreg
Have you already tried to use inspect?๐Ÿ™ˆ
What will be output?
Anonymous Quiz
25%
0
25%
1
30%
2
12%
3
8%
5
0 or 5 and 6 or 0
Anonymous Quiz
28%
False
48%
True
12%
0
5%
5
7%
6
Junior Python School pinned ยซ3 and 7 or 0 and 1ยป
How to execute module content as the __main__ module? ๐Ÿ–ฅ

For example, to run code in doctest module ๐Ÿ“„
Anonymous Quiz
9%
It is not possible.
40%
python <module-name>
14%
<module-name>
37%
python -m <module-name>
What should be written instead of EXPRESSION to make True the last expression?
What should be written instead of EXPRESSION?
Anonymous Quiz
18%
(k, k is None)
37%
(k is not None, k)
23%
(k is None, k)
17%
k
6%
-k