Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 475 Bytes

File metadata and controls

26 lines (17 loc) · 475 Bytes

phpython

Use phpython to write python code in your php projects without using WSGI, CGI or FastCGI.

Get started

Only two steps to change your mind

  1. create a simple php file and require the phpython lib
<?php
## file: index.php

require_once 'phpython/phpython.php';

phpython::import('demo.py');
  1. create a simple python file it is smart imported
## demo.py

print "Hello World"

PLEASE: Notify me any problem [email protected]