
Python
- 31 ответ
- 0 вопросов
22
Вклад в тег
>>> help(set)
Python 3.10.5 (main, Aug 1 2022, 07:53:20) [GCC 12.1.0]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.4.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: set?
Init signature: set(self, /, *args, **kwargs)
Docstring:
set() -> new empty set object
set(iterable) -> new set object
Build an unordered collection of unique elements.
Type: type
Subclasses:
In [2]: %pdef set
No definition header found for set
In [3]: %pdoc set
Class docstring:
set() -> new empty set object
set(iterable) -> new set object
Build an unordered collection of unique elements.
Init docstring:
Initialize self. See help(type(self)) for accurate signature.
In [4]: %psource set
No source found for set
import re
s = "новая версия вчера - version1"
r = re.search(r'[a-zA-Z]{7}\d', s)
print(r.group())
isoinfo -l -i <образ>
isoinfo -f -i <образ>
sudo apt install genisoimage