GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — EosSdk/SwigRenamer.py at master · peterkuria2000/EosSdk Expand file tree/ Copy pathSwigRenamer.pyMore file actions 18 lines (15 loc) · 504 Bytes / Copy pathSwigRenamer.pyFile metadata and controls18 lines (15 loc) · 504 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 #!/usr/bin/env python # Copyright (c) 2013 Arista Networks, Inc. All rights reserved. # Arista Networks, Inc. Confidential and Proprietary. """ Converts a string_like_this from stdin to a stringLikeThis. If the --classname flag is provided, we capitalize the first letter: StringLikeThis""" import string import sys i = sys.stdin.readline().strip() if i.endswith('_t'): i = i[:-2] i = string.capwords(i, '_').replace('_', '') if '--classname' not in sys.argv: i = i[0].lower() + i[1:] print i, |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |