Syafiq Dosuki
2015-10-28 08:45:18 UTC
I'm new in this. I have a question here and hope you can help me.
When requesting /list_10-20.html, I want to make python server to open
static file as shown below, parse it and by using template render requested
lines (for example lines 10-20) and return the rendered web page. The file
shown below is in json format.
{
"lines": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23
]
}
------------------------------
-------------------------------------------------------------------------------------------------------------
So the web page should look like:
10
11
12
13
14
15
16
17
18
19
So, is there any way bottle can help me in this?
--
When requesting /list_10-20.html, I want to make python server to open
static file as shown below, parse it and by using template render requested
lines (for example lines 10-20) and return the rendered web page. The file
shown below is in json format.
{
"lines": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23
]
}
------------------------------
-------------------------------------------------------------------------------------------------------------
So the web page should look like:
10
11
12
13
14
15
16
17
18
19
So, is there any way bottle can help me in this?
--
--
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/bottlepy for mailing list options.
See http://bottlepy.org/ for news and documentation.
---
You received this message because you are subscribed to the Google Groups "bottlepy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bottlepy+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/bottlepy for mailing list options.
See http://bottlepy.org/ for news and documentation.
---
You received this message because you are subscribed to the Google Groups "bottlepy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bottlepy+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.