I have a save function within my Python program which looks like this:
def Save(n): print(\"S3\") global BF global WF global PBList globa
I'll bet that n is 1 not "1".
1
"1"
try:
print(type(n))
I'll guess that you'll see its an int not a string.
int
File = open("C:\KingsCapture\Saves\\" + n + "\BF.txt", "w")
You can't add ints and strings producing the error message you are getting.