예제 #1
0
#!/usr/bin/env python
# _*_ coding:utf-8 _*_
'''
 * @author: Lightwing Ng
 * email: [email protected]
 * created on Mar 15, 2018, 3:26 AM
 * Software: PyCharm
 * Project Name: FTP2-master
'''

import os, sys

BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.append(BASE_DIR)

from core import main

if __name__ == '__main__':
    main.ArvgHandler()
예제 #2
0
import os, sys
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.append(BASE_DIR)
from core import main
if __name__ == '__main__':
    main.ArvgHandler(sys.argv)
예제 #3
0
#__author__:"jcm"

import os, sys
BASE_PATH = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.append(BASE_PATH)
from core import main

if __name__ == "__main__":
    try:
        main.ArvgHandler(filename=os.path.basename(__file__))
    except KeyboardInterrupt as e:
        print("...ftp服务 已停止....")
예제 #4
0
#_*_coding:utf-8_*_

import os
import sys

BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.append(BASE_DIR)  #   向我们的索引库目录中加入BASE_DIR

from core import main

if __name__ == '__main__':
    server = main.ArvgHandler()
    server.start()