<human>:  How to check whether the system is FreeBSD in a python script?
<bot>: Here is some code to get the platform OS name

platform.system()

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.