Need of ubuntu server instead of windows

Why can’t we use the python idle on windows. Why to create a virual server for ubuntu I don’t get the reason for doing it on ubuntu only.

It is basically because on ubuntu it is easy to work and perform updates rather than windows.

So if I am not able to create virtual Ubuntu desktop then can I use Windows

It is because of the easy and less complicated platform that Ubuntu provides.
The process of installing and updating is very easy in Ubuntu than in Windows. You can also create and work on a python file with almost same efforts as for a text editor.

Yes you can. In that case, all the files will be stored in your local machine.
Just download the Boltiot library using pip on command prompt.