Skip to content

Conversation

karmoham
Copy link
Contributor

No description provided.

@karmoham karmoham requested review from jeaubin and simingy November 14, 2017 17:54
@karmoham karmoham changed the title Adding string implmentation Adding string implementation Nov 14, 2017
route-map RMAP8 out
'''

out = STRING
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't need to assign out to STRING
just do for line in STRING.splitlines()

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

# print the parsed built structure
print (PYTHON_DICT)

PYTHON_DICT = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a the expected output - comment it out so it's only for reference

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

continue

# print the parsed built structure
print (PYTHON_DICT)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

import pprint; pprint.pprint()

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@simingy simingy merged commit 41ed04e into master Nov 14, 2017
@simingy simingy deleted the string_implementation branch November 14, 2017 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants