On Wednesday, September 26, 2018 at 3:16:43 AM UTC-7, elisha bere wrote:
>
> i have done this [python installation on Windows] and when i type python
> in my cmd it opens python shell
>
I would expect that. Now you need to download the web2py *source* version,
and run it by "python
i have done this and when i type python in my cmd it opens python shell
On Wed, 26 Sep 2018 at 11:30, 黄祥 wrote:
> the steps :
> 1. download either one of this :
> *python*
> https://www.python.org/downloads/windows/
> *miniconda*
> https://conda.io/miniconda.html
> *anaconda*
>
the steps :
1. download either one of this :
*python*
https://www.python.org/downloads/windows/
*miniconda*
https://conda.io/miniconda.html
*anaconda*
https://www.anaconda.com/download/#windows
2. install, just click next, till finish setup
3. set the path environment system
*ref:*
the steps of installing python 3 are not that clear ... i use windows 7 can
some give me step by step instructions on how to install python 3
On Wed, 26 Sep 2018 at 09:06, 黄祥 wrote:
> Ok , so how can i change my web2py python version to 3.7 ?
>>
>
> think you can install it via system (ubuntu
>
> Ok , so how can i change my web2py python version to 3.7 ?
>
think you can install it via system (ubuntu or debian using apt, etc) or
using conda
*ref:*
https://groups.google.com/forum/#!topic/web2py/unamesXfBs4
> and also is it possible to install using pip when using web2py?
>
Ok , so how can i change my web2py python version to 3.7 ? and also is it
possible to install using pip when using web2py?
On Tue, 25 Sep 2018 at 18:11, Nico de Groot wrote:
> I should have added that the module depends on the Python version you are
> using. Python 3.7 can use this module but
I should have added that the module depends on the Python version you are
using. Python 3.7 can use this module but Python 2.7 should use httplib. Or
requests. In both cases you would have to install the module first using pip,
see the Python tutorial in the web2py book or other tutorials.
--
I am getting the error below if i import http.client
1.
2.
3.
4.
5.
6.
7.
8.
9.
Traceback (most recent call last):
File "G:\my web2py project\gluon\restricted.py", line 219, in restricted
exec(ccode, environment)
File "G:/my web2py
project/applications/smsonline/controllers/default.py"
You can just use the import statement. Web2py code is just Python code running
in a web environment. Just know that at every web request all model files are
executed, and after that the controller file that corresponds with the URL of
the request. The view file with the same name is used to
Can you maybe show me a simple example of how i can import the http.client
module in my cotrols
On Sat, 22 Sep 2018 at 09:43, Dave S wrote:
>
>
> On Thursday, September 20, 2018 at 6:49:23 AM UTC-7, Leonel Câmara wrote:
>>
>> The module I'm referring to is obviously the one you mentioned
>>
which module is in python 3 and i would also like to know if i can use
python 3 in web2py
On Thu, 20 Sep 2018 at 15:15, Leonel Câmara wrote:
> Well you can simply use python 3 which does have that module. In python 2
> the module you want is httplib.
>
> --
> Resources:
> - http://web2py.com
>
11 matches
Mail list logo