import six.iteritems

Returns an iterator over dictionary‘s items. This replaces dictionary.iteritems() on Python 2 and dictionary.items() on Python 3. kwargs are passed through to the underlying method.
```
  File "\pyjs\pyjs\lib_trans\pysymbol.py", line 97
    for _name, _value in globals().items() if _name:
                                                   ^
SyntaxError: invalid syntax
```