Archive
Python: Expenditure App
Expenditure Application
In this post, we will go through the case study of our application.
‘ The Case’
We want to build an application to store and retrieve some data regard our expenditure, we will go as simple as two keys (date and amount), and we will save the data in a json file. So to view the data we need some functions to do some operations on the data such as Add, Delete, retrieve and change.
I will use the @pycharm to write the code and test it, but any other code editors can be used. Also, I assume we have Python and json installed in your PC.
HTML,ASP, .NET Codes ….. P1
- HTML page auto refresh
- Pass info from page to another in ASP
URL is the target web page
_________________________________________________________________________________
Example of if you click a LINK, it will jump to page2.asp with some info(name=ali-asp)
—- the code:
under the asp tag or in normal html:
open a (<) tag
write: a href="page2.asp?namr=ali-asp"
then close the tag (>)
then open the same tag (<) write : a then close the tag (>)
All red to be in one line
in the other page: page2.asp
dim myvar
myvar=request.querystring("name")
or
response.write(request.querystring("name"))