Flask: Difference between revisions
Content added Content deleted
Line 25: | Line 25: | ||
= Uploader Project = |
= Uploader Project = |
||
nano upload_test.py |
|||
<syntaxhighlight lang="python"> |
<syntaxhighlight lang="python"> |
||
Line 46: | Line 48: | ||
</syntaxhighlight> |
</syntaxhighlight> |
||
mkdir templates |
mkdir templates && cd templates |
||
nano upload.html |
nano upload.html |
||
Line 62: | Line 64: | ||
</html> |
</html> |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
File Structure: |
|||
. |
|||
├── templates |
|||
│ └── upload.html |
|||
└── upload_test.py |
|||
Run the application: |
|||
python3 upload_test.py |
|||
Access the application on below URL: |
Access the application on below URL: |