Also, why would matplotlib return without having finished its job?
On Wed, Mar 4, 2015 at 2:58 PM, Bill Freeman wrote:
> Sleeping in a web server, which potentially has many users, is considered
> bad form, even if it works. A better place for such time outs is in
> JavaScript in the browser.
Sleeping in a web server, which potentially has many users, is considered
bad form, even if it works. A better place for such time outs is in
JavaScript in the browser. Some designs use a view that the JavaScript (or
user) can poll to determine when the resource is available.
On Wed, Mar 4, 2015
> Den 04/03/2015 kl. 18.03 skrev dk :
>
> i am using matplotlib to generate a plot/graph, even do that python is
> generating the file and saving it so I can use it later on in my web page,
> django show the page before the process finish,
> so I decided to put a time.sleep(3) so it wait 3 se
3 matches
Mail list logo