#!/usr/bin/env python # coding:utf-8 ''' Created on: @author: 张晓宇 Email: [email protected] Version: 1.0 Description: Help: ''' from model.server import myftp if __name__ == '__main__': myftp = myftp() myftp.runserver()
def run(): server = myftp() print('server is runing ...') server.runserver()