[python] fcntl is not available on windows
[python] update demo