This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from threading import Thread | |
import threading | |
_eat_record_loop={} #loop | |
def food_loop(): #loop | |
the_thread = threading.currentThread() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import sys | |
import re | |
import urllib.request | |
import urllib.error | |
from os import path | |
import random | |
from urllib.parse import quote | |
from django.http import HttpResponse | |
from django.views.decorators.csrf import csrf_exempt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import sys | |
import re | |
import urllib.request | |
import urllib.error | |
from os import path | |
from urllib.parse import quote | |
from django.http import HttpResponse | |
from django.views.decorators.csrf import csrf_exempt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import sys | |
import urllib.request | |
import urllib.error | |
from django.http import HttpResponse | |
from django.views.decorators.csrf import csrf_exempt | |
@csrf_exempt | |
def elapp(request): | |
(mid,text)=_decode_json(request) |
NewerOlder