Re - bug in tokenize module

2016-06-20 Thread Harrison Chudleigh
Sorry. Only works with text files. But my point is still valid. *** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended

Re - Contradictory error messages in Python 3.4 - standard library issue!

2016-06-16 Thread Harrison Chudleigh
Sorry! I was trying to indent a line and accidentally sent only half of the message. As I was saying, I changed the line and reran the program. However, this produced another group of error messages. One was - File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/tokenize.py", line

Contradictory error messages in Python 3.4 - standard library issue!

2016-06-16 Thread Harrison Chudleigh
While working on a program, I ran into an error with the usage of the module tokenize. The following message was displayed. File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/tokenize.py", line 467, in tokenize encoding, consumed = detect_encoding(readline) File "/Library/

Possible PEP - two dimensional arrays?

2016-06-07 Thread Harrison Chudleigh
I was programming a computer game and found that while 1D arrays can be created using the module array, there is no module for two-dimensional arrays, unlike languages like C. Currently, the closest thing Python has to a 2D array is a dictionary containing lists. I propose that a module , 2DArray,