Module tempfile :: Class _RandomNameSequence
[hide private]
[frames] | no frames]

_ClassType _RandomNameSequence

An instance of _RandomNameSequence generates an endless sequence of unpredictable strings which can safely be incorporated into file names. Each string is six characters long. Multiple threads can safely use the same instance at the same time.

_RandomNameSequence is an iterator.

Instance Methods [hide private]
 
__init__(self)
 
__iter__(self)
 
next(self)
Class Variables [hide private]
  characters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUV...
Class Variable Details [hide private]

characters

Value:
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_'