You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
315 B
13 lines
315 B
from pathlib import Path |
|
import requests,json,os |
|
|
|
objFilePath = "/Users/dcx/code/make2/script/factory_sliceing/batchPrint/45/data" |
|
objCounts = 0 |
|
for file in os.listdir(objFilePath): |
|
print(file) |
|
# if file == 'arrange': |
|
# continue |
|
if file.endswith('.obj'): |
|
objCounts += 1 |
|
|
|
print(objCounts) |