mirror of
https://github.com/platomav/BIOSUtilities.git
synced 2025-05-13 06:34:42 -04:00
6 lines
No EOL
155 B
Python
6 lines
No EOL
155 B
Python
#!/usr/bin/env python3
|
|
#coding=utf-8
|
|
|
|
# Generate padding (spaces or tabs)
|
|
def padder(padd_count, tab=False):
|
|
return ('\t' if tab else ' ') * padd_count |