On Tue, Dec 11, 2018 at 09:07:58PM +0530, Asad wrote:
> Hi All,
>
> I used your solution , however found a strange issue with deque :
No you haven't. You found a *syntax error*, as the exception says:
> >>> print 'Deque:', d
> File "", line 1
> print 'Deque:', d
>
Asad wrote:
> Hi All,
>
> I used your solution , however found a strange issue with deque
> :
>
> I am using python 2.6.6:
Consider switching to Python 3; my code as posted already works with that.
import collections
d = collections.deque('abcdefg')
print 'D
Hi All,
I used your solution , however found a strange issue with deque :
I am using python 2.6.6:
>>> import collections
>>> d = collections.deque('abcdefg')
>>> print 'Deque:', d
File "", line 1
print 'Deque:', d
^
SyntaxError: invalid syntax
>>> print ('Deque:
Hi Mike and everyone who replied to the tutor question re: GUI ideas for
Python.
Really value all the ideas and suggestions...that is very helpful! Thanks
for taking time to reply with so much great information.
We're just in wind down mode/rush for our close of school year ...but will
really enj