[web2py] Re: Processing taking a long time in web2py?

2016-11-28 Thread Si
Okay thanks. I've been looking at profiling my application and I'm running an apache webserver. Do you know how I would run this? I don't have a local machine. 1. python web2py.py -F profiler.log -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.co

[web2py] Re: Processing taking a long time in web2py?

2016-11-23 Thread Si An
Thanks for the reply. I understand that they are different things. I was wondering if you could point me in the right direction to somehow be able to speed this up? Or at least find out where the time is being spent. Web2py adding ~20 seconds is quite a lot of time. In the future I will be using

[web2py] Re: How to embed Linux script into a web2py controllers

2013-05-20 Thread si...@ymail.com
> output.txt') > output = open('output.txt').read() > > assuming the user running the web app has sudo access to iwlist. Look into > sudoers to add the permission. > > On Friday, 10 May 2013 16:35:12 UTC-5, si...@ymail.com wrote: >> >> Hello, >> >

[web2py] How to embed Linux script into a web2py controllers

2013-05-11 Thread si...@ymail.com
Hello, Please i need some help and guaidiance. I have a web2py application running on a raspebery pi. The raspberry pi runs "Linux 3.6.11+ #371 PREEMPT Thu Feb 7 16:31:35 GMT 2013 armv6l GNU/Linux" I am trying to run this Linux command from a web2py controller. "sudo iwlist wlan0 |"ESSID