Files
urh/tests/data/encode.py
Dr. Johannes Pohl aa95d20b9b Blacken code (#1076)
2023-10-30 17:51:41 +01:00

11 lines
168 B
Python
Executable File

#!/usr/bin/env python
"""
Simple example external encoding
Simply doubles each bit of the input
"""
import sys
bits = sys.argv[1]
print("".join(b + b for b in bits))