Python Modules Types Flashcards

1
Q

Module used for Random numbers ?

A

random,secrets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Module used to run Linux commands from python ?

A

subprocess module

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Module to generate safe Random numbers for cryptography

A

secrets module

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Module to interpret command line arguments for Python program ?

A

optparse module

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Module used to find square root ?

A

math module

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Module to import PDF files

A

PyPDF2module

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Module to get present working directory ?

A

os module

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Module to working with regular expressions ?

A

re module

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Module to work with hash ?

A

hashlib module

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Module to work with paths ?

A

pathlib module

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Module to work with syymetric key ?

A

Fernet Module
It is an sub module of cryptography Module

How well did you know this?
1
Not at all
2
3
4
5
Perfectly