Create random string which length is `nlen`.
(nlen)
| 246 | |
| 247 | |
| 248 | def random_string(nlen): |
| 249 | """Create random string which length is `nlen`.""" |
| 250 | return "".join([random.choice(string.ascii_lowercase) for _ in range(nlen)]) |
| 251 | |
| 252 | |
| 253 | def get_tempdir(): |