DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
run c in python
import
subprocess subprocess
.
call
(
[
"gcc"
,
"your c file"
]
)
subprocess
.
call
(
"./a.out"
)
PREVIOUS
NEXT
Tagged:
#run
#python
ADD COMMENT
Topic
COMMENT
Name
3+2 =
Submit