Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
parser-gpaw
Commits
0407f0f2
Commit
0407f0f2
authored
Jun 21, 2016
by
Mohamed, Fawzi Roberto (fawzi)
Browse files
python3: futurize stage2
parent
2135e586
Changes
2
Hide whitespace changes
Inline
Side-by-side
parser/parser-gpaw/parser.py
View file @
0407f0f2
from
__future__
import
division
import
os
import
os
from
contextlib
import
contextmanager
from
contextlib
import
contextmanager
import
numpy
as
np
import
numpy
as
np
...
...
parser/parser-gpaw/tar.py
View file @
0407f0f2
from
__future__
import
print_function
from
__future__
import
print_function
from
builtins
import
str
from
builtins
import
object
import
tarfile
import
tarfile
import
xml.etree.ElementTree
as
ElementTree
import
xml.etree.ElementTree
as
ElementTree
import
numpy
as
np
import
numpy
as
np
class
Reader
:
class
Reader
(
object
)
:
def
__init__
(
self
,
name
):
def
__init__
(
self
,
name
):
self
.
dims
=
{}
self
.
dims
=
{}
self
.
shapes
=
{}
self
.
shapes
=
{}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment