Windows系统下实现挂载网络驱动器的Python脚本
摘要:1 # -*- coding: utf-8 -*- 2 #! /usr/bin/env python 3 4 ''' 5 Windows系统映射网络驱动器 6 ''' 7 8 import os 9 10 def main():11 print 'mount starage'12 13 local = 'Z:'14 remote = '\\\\172.16.253.202\chuanqing.wu'15 username = 'chuanqing.wu'16 password = &
阅读全文
posted @
2014-01-16 14:47
V42
阅读(1780)
推荐(0)
pyQt开发笔记
摘要:可运行的最简窗口代码# -*- coding: utf-8 -*-#! /usr/bin/env pythonimport sysfrom PyQt4 import QtGui, QtCoreclass ImageViewer(QtGui.QMainWindow): def __init__(self): print 'Pillars Image Viewer' super(ImageViewer, self).__init__() self.setGeometry(QtCore.QRect(100, 100, 100, 100)...
阅读全文
posted @
2013-08-13 12:25
V42
阅读(242)
推荐(0)