6 lines
160 B
Python
6 lines
160 B
Python
|
class Cmdline:
|
||
|
def __init__(self, s):
|
||
|
self.a = s.split("\t")
|
||
|
self.start = 1 if self.a[0][0] == ":" else 0
|
||
|
self.id = "" if self.start == 0 else self.a[0]
|