MCPcopy Create free account
hub / github.com/battlecode/battlecode-2018 / random_key

Function random_key

battlecode-manager/player_abstract.py:11–12  ·  view source on GitHub ↗
(length)

Source from the content-addressed store, hash-verified

9
10
11def random_key(length):
12 return ''.join([random.choice(string.ascii_letters + string.digits) for _ in range(length)])
13
14
15def extract_s3_bucket(bucket, key, destination_directory):

Callers 1

__init__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected