mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-15 15:08:52 +00:00
20 lines
396 B
Python
Executable File
20 lines
396 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
"""Makes public skeleton.
|
|
"""
|
|
|
|
import os
|
|
import subprocess
|
|
import itertools
|
|
import argparse
|
|
import sys
|
|
import re
|
|
|
|
if __name__ == "__main__":
|
|
for root, dir, files in os.walk("src"):
|
|
for f in files:
|
|
(filename, ext) = os.path.splitext(f)
|
|
|
|
if ext == ".public":
|
|
os.rename(os.path.join(root, f), os.path.join(root, filename))
|