Re: [web2py] Re: Not my type

2019-04-01 Thread Al Hart
Hi Joe (sorry for delay, I took the weekend off. BTW, on a totally different note, why is the date showing March 29 on last reply??), Yes, you're absolutely right, it's a Python version thing. I started my session in Python 3.x and so the examples in the web2py book weren't working as it seems

Re: [web2py] Re: Not my type

2019-03-29 Thread Joe Barnhart
I suspect you were actually running Python 3.x in which case "print xxx" doesn't work because print has been mad into a function (requiring parentheses). When I start each on my Mac, this is the display I get: Python 2.7: ssmain:~ jbarnhart$ python Python 2.7.10 (default, Feb 22 2019, 21:17:5

Re: [web2py] Re: Not my type

2019-03-29 Thread notyour mitch
Hi Joe, Thanks so much for responding. Let me be more specific. I was referring to a section in the book, chapter two, on types . In there it suggests >>> a = 3>>> print type(a) > > But that didn't work for me, I got error m

[web2py] Re: Not my type

2019-03-28 Thread Joe Barnhart
Hi Al -- First off, welcome to the web2py group. Next, it's not clear from your message just what the question is. If you can elaborate on (a) what you did, (b) what you expected, and (c) what you got, I'm sure someone here can help Warm regards, Joe B. On Thursday, March 28, 2019 at 2:10: