https://docs.python.org/ko/3/library/glob.html
in the glob unix shell
The advantage of python is that it can calculate with a large capacity
import glob
filename_list = glob.glob("*")
from matplotlib import import as plt
figure, axes _ plt.suplogts(nrows = 2, ncols =4) figure.set_size_inches(18, 6)
for width in range(2): for height in range(4): index = width *4 + height image = image_list[index]
ax = axes[width][height]
ax.imshow(image)
image_resized_list = []
for image in image_list
////// Completion certificate batch creation
template = image.open("certification.jpg "); // Add logo logo = image.open("logo.jpg ") (paste 는 매번 불러와 코딩한다고 하는듯 아니 여러개할때는 temp를 만드는게 낫다는 거였다.)
temp = template.copy() temp.paste(logo, (x. y))
course_name = "start_computer_sc) logo //名前・。 tempate
Recommended Posts