Drkcore

27 06 2011 Python Tweet

PythonでPythonを動かす

PyPyじゃなくてsubprocessで。

import subprocess
import sys
args = (sys.executable, "-mSimpleHTTPServer")

print subprocess.call(args) == 0

About

  • もう5年目(wishlistありマス♡)
  • 最近はPythonとDeepLearning
  • 日本酒自粛中
  • ドラムンベースからミニマルまで
  • ポケモンGOゆるめ

Tag

Python Deep Learning javascript chemoinformatics Emacs sake and more...

Ad

© kzfm 2003-2021