Tuesday, October 10

Python notes: re.match object is not subscriptable in 3.5. good in 3.6

Below is the screen shot of the same code running in two environments:


You can see that a[0] works well in 3.6 environment, but failed in 3.5 environment (which is the latest python 3 of Ubuntu).

1 Comments:

At December 13, 2021 8:03 PM, Anonymous Cam Morris said...

Appreciate thiis blog post

 

<< Home