Run ❯
Get your
own Python
server
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
import tarfile import io buffer = io.BytesIO() with tarfile.open(fileobj=buffer, mode='w') as tar: print('Tar archive created in memory') print(f'Format: {tar.format}')
Tar archive created in memory
Format: 2