12 строки
280 B
Python
Executable File
12 строки
280 B
Python
Executable File
#!/usr/bin/python
|
|
# Copyright 2013 The Chromium Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
# Encode current environment into json.
|
|
|
|
import json
|
|
import os
|
|
|
|
print json.dumps(dict(os.environ))
|