Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Suggestion to the author: try to use portalocker [1] so that the module can also work in Windows. Currently it doesn't because the code uses the fcntl module that is *nix-only. [1] https://pypi.python.org/pypi/portalocker


Thanks - did you try it in windows? I use CygWin at work, but it would be great to use it natively also.


Yes, it failed to import because of fcntl. Since you can't just replace fcntl with an equivalent win32api call, I suggest using portalocker. I usually log on *nix servers from a Windows desktop, so ShutIt could be an useful addition to my toolbox - once it works on Windows, that is.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: