MahmoudAbdelRahman / GH_CPython

CPython plugin for Rhino-Grasshopper
BSD 2-Clause "Simplified" License
175 stars 38 forks source link

c:/GH_CPython on shared/lab environments - not working #26

Closed varoudis closed 6 years ago

varoudis commented 6 years ago

Hi,

Do you think you can compile and release a version where the 'temp' interpreter files are not on C: but on a "USER"\Desktop\GH_CPython?

On windows lab servers writing on C: or even having separate 'virtual' folder directly on C is not going to work. If you change the path to be inside the USERS personal folder it would be amazing.

Thanks

MahmoudAbdelRahman commented 6 years ago

Hi @varoudis, Great idea! , I may also make it optional to specify the working directory. Thanks a lot.

Best regards, Mahmoud.

varoudis commented 6 years ago

@MahmoudAbdelRahman thanks for the quick reply. Without pushing or anything. Do you have an ETA for this? Im using this for teaching and I want to see if I need to find an alternative solution until then. Classroom PCs are all on a main roaming server.

Thanks

MahmoudAbdelRahman commented 6 years ago

Hi @varoudis, Yes, I think it is easy and straight forward, I'll set the path to the desktop rather than C:\GH_CPython\: path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);

varoudis commented 6 years ago

Thanks a lot. Let me know when i can test. Tasos

MahmoudAbdelRahman commented 6 years ago

Thanks so much Tasos, Would you please try this one ? It works fine with me and it writes to the desktop now.

GH_CPython.zip

Best regards, Mahmoud AbdelRahman

varoudis commented 6 years ago

thanks!! this works on shared windows server environments. Just tested it