NetworkX
latest
Overview
Download
Installing
Tutorial
Reference
Introduction
Graph types
Algorithms
Functions
Graph generators
Linear algebra
Converting to and from other data formats
Relabeling nodes
Reading and writing graphs
Adjacency List
Multiline Adjacency List
Edge List
GEXF
GML
Format
read_gml
write_gml
parse_gml
generate_gml
literal_destringizer
literal_stringizer
Pickle
GraphML
JSON
LEDA
YAML
SparseGraph6
Pajek
GIS Shapefile
Drawing
Exceptions
Utilities
License
Citing
Credits
Glossary
Reference
Overview
Introduction
Graph types
Algorithms
Functions
Graph generators
Linear algebra
Converting to and from other data formats
Reading and writing graphs
Adjacency List
Multiline Adjacency List
Edge List
GEXF
GML
Pickle
GraphML
JSON
LEDA
YAML
SparseGraph6
Pajek
GIS Shapefile
Drawing
Exceptions
Utilities
License
Citing
Credits
Glossary
Testing
Developer Guide
History
Bibliography
NetworkX Examples
NetworkX
Docs
»
Reference
»
Reading and writing graphs
»
GML
»
literal_destringizer
Edit on GitHub
literal_destringizer
¶
literal_destringizer
(
rep
)
[source]
¶
Convert a Python literal to the value it represents.
Parameters:
rep
(
string
) – A Python literal.
Returns:
value
– The value of the Python literal.
Return type:
object
Raises:
ValueError
– If
rep
is not a Python literal.
Read the Docs
v: latest
Versions
latest
stable
Downloads
pdf
htmlzip
epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.