php에서 py(파이썬) 실행하기 > PHP

본문 바로가기

사이트 내 전체검색

뒤로가기 PHP

php에서 py(파이썬) 실행하기

페이지 정보

작성자 관리자 작성일 20-09-18 09:46 조회 6,346 댓글 0

본문

$command = escapeshellcmd('python test.py');
 $output = shell_exec($command);
 echo $output;

댓글목록 0

등록된 댓글이 없습니다.

Copyright © neion.co.kr All rights reserved.
PC 버전으로 보기