Skip to content

Commit

Permalink
uuid / guid
Browse files Browse the repository at this point in the history
  • Loading branch information
companje committed Jun 7, 2022
1 parent 12b176c commit 73873fe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pages/python.md
Expand Up @@ -2,6 +2,12 @@
title: Python
---

## uuid / guid
```python
import uuid
print(uuid.uuid4().hex)
```

## string padding
```python
mystring.rjust(10, '0'))
Expand Down

0 comments on commit 73873fe

Please sign in to comment.