Created
July 12, 2012 14:33
-
-
Save creativeaura/3098479 to your computer and use it in GitHub Desktop.
Run Python server from any folder on windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
CLS | |
IF [%1]==[] ( | |
C:\Python27\python.exe -m SimpleHTTPServer | |
) else ( | |
C:\Python27\python.exe -m SimpleHTTPServer %1 | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment