Last active
August 26, 2016 16:06
-
-
Save hiraq/789ce14c524e6ec5538d942468eba588 to your computer and use it in GitHub Desktop.
Just for example at medium publications only
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import yaml | |
class MyClassA(object): | |
def to_test(self, path): | |
with open(path, 'r') as stream: | |
output = yaml.load(stream) | |
return output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment