This repository has been archived on 2026-03-30. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
PyWPR/readme.md
2025-08-24 22:09:37 +03:00

42 lines
578 B
Markdown

# PyWPR - Python Web Page Render
`.pyp` - **Py**thon **P**age *btw*
## Get Started
1. remove **www/**\*
2. run main.py
## Syntax
### integration
```html
<py!>
# Here is Python Code
</py!>
```
```html
<p?>"Text to print"</p?>
<!--- also supports functions-->
<p?>foo()</p?>
```
### queries
```python
# *.pyp?query
pyp.GET['query']
#or
pyp.GET.get('query','default_value')
```
### echos
```python
e(str|int|float) # you can add ignoreType=True
# or
print(object)
```
___
___
## _TODO_
+ ~~todo~~
+ indetation fix for multile `<p?>`
+ redirections
+ cookies
+ files upload