I am using the python-chess modal Input: list called 'pre' containing: ['e2e4','e7e5']
for x in range(0, len(pre)-1):
move=chess.Move.from_uci(str(pre[x]))
print(move)
board.push_san(move())
print(board)
The error: TypeError: push_san() missing 1 required positional argument: 'san'
Any ideas on fixing this issue? thx
Try this :