<s> """<STR_LIT>""" <EOL> import os <EOL> import sys <EOL> import sysconfig <EOL> def get_dirs ( user = True ) : <EOL> """<STR_LIT>""" <EOL> if user : <EOL> if ( sys . platform == "<STR_LIT>" ) and sysconfig . get_config_var ( '<STR_LIT>' ) : <EOL> return sysconfig . get_paths ( '<STR_LIT>' ) <EOL> return sysconfig . get_paths ( os . name + '<STR_LIT>' ) <EOL> else : <EOL> return sysconfig . get_paths ( ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> import json <EOL> user = '<STR_LIT>' in sys . argv <EOL> dirs = get_dirs ( user ) <EOL> json . dump ( dirs , sys . stdout ) </s>
