Home  >  Q&A  >  body text

python - mysql怎么去判断最后还是最新?

怪我咯怪我咯2766 days ago436

reply all(3)I'll reply

  • 怪我咯

    怪我咯2017-04-17 16:32:21

    Use the exec function in your backend php to run this script
    For example:
    exec("/bin/python /xxxx/xxxx/xxx/xxx.py");
    The premise is that this is not disabled in your php.ini exec function

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 16:32:21

    lz You can take a look at flask and bind the service to a specific port and url to provide it to other languages ​​

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 16:32:21

    1.python name.py
    2.gunicon

    reply
    0
  • Cancelreply