blob: 953ac176c9143174269f56b6416d209b4c0c8ff0 [file] [log] [blame]
#!/usr/bin/env python
# Copyright 2016 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.
"""Removes spaces from a given string."""
from __future__ import print_function
import sys
def main():
if len(sys.argv) < 1:
print('Usage: %s <string>' % sys.argv[0])
# Takes all arguments passed in, joins as one string, and removes spaces.
nospace = "".join(sys.argv[1:]).replace(" ", "")
if __name__ == '__main__':