On this page
  1. tempfile.gettempprefixb
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

tempfile.gettempprefixb

Prev: tempfile.gettempprefix | Up: tempfile | Next: tempfile.mkdtemp
Rel: tempfile.gettempdir, tempfile.gettempdirb, tempfile.gettempprefix, tempfile.mkdtemp
Ref: docs.python.org — tempfile.gettempprefixb
Tags: #public #python3 #stdlib #tempfile


Import

import tempfile
from tempfile import gettempprefixb

Signature & Overview

tempfile.gettempprefixb()

The default prefix for temporary directories as bytes.

Usage

import tempfile

assert isinstance(tempfile.gettempprefixb(), bytes)

Gotchas

REPL Inspect

from tempfile import gettempprefixb
help(gettempprefixb)

Linked from

Related notes