From 1eb316ca85a0bf127d28b68d66c054a2d97d7764 Mon Sep 17 00:00:00 2001 From: JG Date: Tue, 23 Jul 2019 16:37:37 +0800 Subject: [PATCH] delete nc.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 删除开发作用脚本 --- wudai/nantang/nc.py | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 wudai/nantang/nc.py diff --git a/wudai/nantang/nc.py b/wudai/nantang/nc.py deleted file mode 100644 index ab0a9f2..0000000 --- a/wudai/nantang/nc.py +++ /dev/null @@ -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')