Yes I'm using this way to run both py2 and py3 on the same machine
Have 2 folders, one for py2 and one for py3.
python2 ...path to py2 folder/web2py.py
...and do the same for py3.
Works!
On Tuesday, May 8, 2018 at 8:11:37 AM UTC+8, 黄祥 wrote:
>
> plan to test web2py both python2 and python3
plan to test web2py both python2 and python3 in 1 machine, any idea how to
do that in the safety way?
already googling found this:
brew update
brew install python
brew install python3
any thought or comment?
thx and best regards,
stifan
--
Resources:
- http://web2py.com
-
Thank you very much for the detailed explanation .
On Mon, May 7, 2018 at 9:55 PM, Dave S wrote:
>
>
> On Monday, May 7, 2018 at 12:04:44 PM UTC-7, Vic Ding wrote:
>>
>> Dear both, many thanks! Will the *.table files have impact/effect on the
>> actual db content on the
On Monday, May 7, 2018 at 12:04:44 PM UTC-7, Vic Ding wrote:
>
> Dear both, many thanks! Will the *.table files have impact/effect on the
> actual db content on the target server? Or will the w2p file alter the
> database on the target server in any way? And what is the purpose of the
>
Dear both, many thanks! Will the *.table files have impact/effect on the
actual db content on the target server? Or will the w2p file alter the
database on the target server in any way? And what is the purpose of the
included sqlite file?
I use w2p file to patch the production server from dev
On Saturday, May 5, 2018 at 8:00:45 PM UTC-7, Massimo Di Pierro wrote:
>
> the w2p may contain a sqlite database and databases/*.table metadata files.
> you normally use those for install, not for updates.
>
>
Also, if you are *creating* the w2p file, you can choose "custom" and then
select the
I have been testing my own hypothesis, it didn't work. I was unable to
assign a task to a specific worker, I can only assign tasks to groups.
Please correct me if I am wrong...
On Sunday, 6 May 2018 16:16:08 UTC+1, Francisco Ribeiro wrote:
>
> Thank you for confirming.
>
> I presume that I
Actually I found out that I can empty the list before new insertion /
append.
On Mon, 7 May 2018, 19:55 pbreit wrote:
> I'm not sure that's going to work since the list will not persist between
> page views.
>
> Do you want to do something like this using "sessions"?
>
I'm not sure that's going to work since the list will not persist between
page views.
Do you want to do something like this using "sessions"?
http://web2py.com/books/default/chapter/29/03/overview#Let-s-count
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
Hello
I am trying different approaches to upload and manipulate csv file before
insert it into DB
I do not need to save the file but If I can open it with csv DictReader
that would be awesome.
Any suggestions on how to achieve it.
I am trying with SQLFORM.factory
I have done this in python 2.7 idle and it works well.
l = []
def one():
l.append('1one')
def two():
l.append(None)
def three():
l.append('three')
def four():
l.append(None)
def empty():
del l[:]
def Filter():
four()
two()
one()
11 matches
Mail list logo