예제 #1
0
def control_html():
    with open("./html/control.html") as f:
        res = f.read()
    res = res.replace("HOST_IP", edu.getip())
    res = res.replace("PORT", "5000")
    return res
예제 #2
0
파일: 08.py 프로젝트: onionys/python_code
def real_time_info():
    with open("./html/real_time_info.html") as f:
        res = f.read()
    res = res.replace("HOST_IP",edu.getip())
    res = res.replace("PORT", "5000")
    return res
예제 #3
0
def real_time_info():
    with open("./html/real_time_info.html") as f:
        res = f.read()
    res = res.replace("HOST_IP", edu.getip())
    res = res.replace("PORT", "5000")
    return res
예제 #4
0
파일: 09.py 프로젝트: onionys/python_code
def control_html():
    with open("./html/control.html") as f:
        res = f.read()
    res = res.replace("HOST_IP",edu.getip())
    res = res.replace("PORT", "5000")
    return res