「DOBBLE」ゲームを作成したいのですが、DOBBLE カード ゲームを作成するには、いくつかのシンボル (小さな絵) を大きなものに置きたいだけですが、シェルは次のように返します。
「埋め込まれたNUL文字」。
私のプログラムは次のとおりです。
def creer_carte(L):
S=associer() #a list of little pictures' link : ['1.jpg','2.jpg',..]
size=(700,450) #dimension de l'image finale
newim=Image.new('RGB',size,"white") #on créé une image vide
newim.save("carteblanche.jpg", "PNG")
for i in range(len(L)):
A=open(S[L[i+1]],encoding='latin-1').read()
img=Image.open(A) #On télécharge le fichier
newim.paste(img,(i*200,0))
newim.show()
return None
...それは私のプログラムの始まりにすぎません。