Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Is it possible to execute python script on Visual studio with Linux environment

For example

The following python code was written on the visual studio

import os
f = os.popen('date')
now = f.read()
print "Today is ", now

Usually after I write the code on the visual studio, then I send the python file to the Linux machine and I run the python on Linux environment

And that because we cant run python code that fit for linux on win

Please advice if there are some alternative to run the python on Visual studio or other editors with Linux environment?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.