delete nc.py

删除开发作用脚本
This commit is contained in:
JG
2019-07-23 16:37:37 +08:00
committed by GitHub
parent 8b5987f81a
commit 1eb316ca85

View File

@ -1,17 +0,0 @@
# -*- coding: utf-8 -*-
from AppKit import NSPasteboard, NSStringPboardType
pb = NSPasteboard.generalPasteboard()
pbstring = pb.stringForType_(NSStringPboardType)
body = ''
for i in pbstring.split('\n'):
content = i.strip()[0:]
cs = content.split(u'')
content = '"'+ cs[0] + '--' + u''.join(cs[1:]) + '",\n'
body += content
print body.strip(',\n')