Skip to content

Instantly share code, notes, and snippets.

@thorikawa
Created October 26, 2021 07:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thorikawa/b86af575c2d8bb7819e94d7eaa200f2f to your computer and use it in GitHub Desktop.
Save thorikawa/b86af575c2d8bb7819e94d7eaa200f2f to your computer and use it in GitHub Desktop.
import os
import sys
dir = sys.argv[1]
up = int(sys.argv[2])
print(dir)
print(up)
for i in range(up):
path = os.path.join(dir, 'frame{:0=5}.obj'.format(i))
if not os.path.isfile(path):
print(path)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment