pyphplib是图书馆用Python写的,可以很容易的PHP开发。
2016-08-23
0 0 0
暂无评分
其他
如何获取积分?
PyPHPLib is a library written in Python that allows for easy PHP development. When creating this library I took into account all the countless hours of writing and rewriting code, either because I did it wrong the first time, or because a client wanted the same code with some modifications. PyPHPLib makes it easier for a web developer to create websites with out having to worry about any of this!
Example of library in use to make a simple login page, register page, and index page.
``` import pyphplib
def index(): a = pyphplib.pyphplib("index") a.db_conn("localhost", "user", "passwd", "test") a.php_done() a.custom_html("""
<html>
<head><title>test</title></head>
Welcome to my site!<p/>here is a list of everyone who is signed up!
<?php
""") a.getinfofrom_db("members", 'us
php
python
图书馆
开发
可以
容易
相关源码推荐
背单词软件
0
0
暂无评分
python-ela
0
0
暂无评分
用python实现ntrip功能
0
0
暂无评分
有一辆最大货运量为10t的卡车,用以装载4种货物,每种货物的单位重量及相应单位价值如下表所示。每种货
0
0
暂无评分
Python实现五子棋
0
0
暂无评分
暂无评论