当前位置: 首页 > news >正文

日本做家纺的公司网站大兴今日头条新闻

日本做家纺的公司网站,大兴今日头条新闻,嵌入式培训班多少钱,黑龙江省公共资源交易中心python脚本打包为exe并在服务器上设置定时执行 1. Python脚本打包2. 将打包好的Python脚本放入服务器3. 在服务器上设置其定时执行 1. Python脚本打包 首先,下载pyinstaller 键盘winR打开终端,输入命令:pip install pyinstaller,…

python脚本打包为exe并在服务器上设置定时执行

  • 1. Python脚本打包
  • 2. 将打包好的Python脚本放入服务器
  • 3. 在服务器上设置其定时执行

1. Python脚本打包

首先,下载pyinstaller
键盘win+R打开终端,输入命令:pip install pyinstaller,此命令用于下载和安装pyinstaller库
在这里插入图片描述
然后,对脚本进行打包

  • 在终端进入脚本所在文件
  • 执行命令 pyinstaller xxx.py
  • 使用pyinstaller打包成功之后,产生两个文件夹:

**build文件夹:**这是打包过程中临时文件的存放位置。这些文件包括 Python 源代码、打包脚本和其他一些中间文件。在成功打包应用程序后,该目录可以被安全地删除。
**dist文件夹:**这是最终生成的可执行文件及其依赖项的存放位置(也就是生成exe文件在此文件夹的子文件夹中

参考:
python代码打包成可执行文件(exe)
6种将Python代码打包成exe应用的方式
补充:
windows终端cmd命令下如何查看文件夹及文件内容
Windows下cd命令如何从C盘切换到D盘

2. 将打包好的Python脚本放入服务器

将第一步中生成的dist文件夹的子文件夹中的两文件复制到服务器的一个文件夹中:
在这里插入图片描述
双击exe文件,如果可以执行就表示已经成功。
如果无法看出是不是成功执行了,可以打开终端,cd到exe文件所在的文件夹,在终端进行运行。

3. 在服务器上设置其定时执行

首先,打开服务器管理器
在这里插入图片描述
找到工具中的计算机管理
在这里插入图片描述
然后依次点击任务计划程序——>任务计划程序库——>创建基本任务向导
在这里插入图片描述
在里面设置任务的名称和描述,然后点击下一步
在这里插入图片描述
选择定期执行的时间
在这里插入图片描述
选择具体的更新时间点,这里设置的是每天晚上十点进行更新

在这里插入图片描述

选择启动程序
在这里插入图片描述
点击浏览,找到exe文件
在这里插入图片描述
最后完成后,如下图所示,就可以每天更新了
在这里插入图片描述
参考:
如何将exe程序添加至计算机计划程序中,实现自动执行定时任务


文章转载自:
http://dinncosala.tqpr.cn
http://dinncorallye.tqpr.cn
http://dinncosweatily.tqpr.cn
http://dinncochristcrossrow.tqpr.cn
http://dinncoharijan.tqpr.cn
http://dinncocognitive.tqpr.cn
http://dinncodirectorial.tqpr.cn
http://dinnconoblest.tqpr.cn
http://dinncogumbah.tqpr.cn
http://dinncobasidiomycete.tqpr.cn
http://dinncocybernation.tqpr.cn
http://dinncocfc.tqpr.cn
http://dinncoprincipate.tqpr.cn
http://dinncofaitaccompli.tqpr.cn
http://dinncoquintefoil.tqpr.cn
http://dinncopraedial.tqpr.cn
http://dinncokyoto.tqpr.cn
http://dinncopolyphyodont.tqpr.cn
http://dinncoavouchment.tqpr.cn
http://dinncooopm.tqpr.cn
http://dinncoprofundity.tqpr.cn
http://dinncodjinni.tqpr.cn
http://dinncoquarrel.tqpr.cn
http://dinncoexamination.tqpr.cn
http://dinncomaraca.tqpr.cn
http://dinncofolkie.tqpr.cn
http://dinncoknackered.tqpr.cn
http://dinncoprepayment.tqpr.cn
http://dinncomousie.tqpr.cn
http://dinncoprolonge.tqpr.cn
http://dinncolooseness.tqpr.cn
http://dinncowreathen.tqpr.cn
http://dinncodreg.tqpr.cn
http://dinncotableful.tqpr.cn
http://dinncotrisection.tqpr.cn
http://dinncosolano.tqpr.cn
http://dinncopresenility.tqpr.cn
http://dinncoictus.tqpr.cn
http://dinncoresponsa.tqpr.cn
http://dinncoosnaburg.tqpr.cn
http://dinncounderjawed.tqpr.cn
http://dinncoutriculus.tqpr.cn
http://dinncoeasterner.tqpr.cn
http://dinnconullipara.tqpr.cn
http://dinncophlebolite.tqpr.cn
http://dinncosingulative.tqpr.cn
http://dinncovulvitis.tqpr.cn
http://dinncoreinvestment.tqpr.cn
http://dinncobis.tqpr.cn
http://dinncoworth.tqpr.cn
http://dinncomoro.tqpr.cn
http://dinncoquickthorn.tqpr.cn
http://dinncocoastguard.tqpr.cn
http://dinncocircumsolar.tqpr.cn
http://dinncocover.tqpr.cn
http://dinncoagranulocyte.tqpr.cn
http://dinncoroentgenogram.tqpr.cn
http://dinncoprimogeniture.tqpr.cn
http://dinncoquadruply.tqpr.cn
http://dinncoliebfraumilch.tqpr.cn
http://dinncoisotactic.tqpr.cn
http://dinncodemosthenic.tqpr.cn
http://dinncoherborize.tqpr.cn
http://dinncorepentantly.tqpr.cn
http://dinncobastille.tqpr.cn
http://dinncoamenable.tqpr.cn
http://dinncotransparence.tqpr.cn
http://dinncopollinose.tqpr.cn
http://dinncoviticulturist.tqpr.cn
http://dinncomigrator.tqpr.cn
http://dinncopissed.tqpr.cn
http://dinncophotochemical.tqpr.cn
http://dinncotinglass.tqpr.cn
http://dinncounbeseeming.tqpr.cn
http://dinncoepicure.tqpr.cn
http://dinncofaldstool.tqpr.cn
http://dinncovince.tqpr.cn
http://dinncocolemouse.tqpr.cn
http://dinncoconfrere.tqpr.cn
http://dinncotwig.tqpr.cn
http://dinncotenson.tqpr.cn
http://dinnconatron.tqpr.cn
http://dinncomannerist.tqpr.cn
http://dinncosapele.tqpr.cn
http://dinncorunt.tqpr.cn
http://dinncotailgunning.tqpr.cn
http://dinncoprospecting.tqpr.cn
http://dinncorollock.tqpr.cn
http://dinncofragrant.tqpr.cn
http://dinncoblockbuster.tqpr.cn
http://dinncocucurbit.tqpr.cn
http://dinncohomager.tqpr.cn
http://dinncobauchle.tqpr.cn
http://dinncoexperimentalism.tqpr.cn
http://dinncosinhala.tqpr.cn
http://dinncoflipping.tqpr.cn
http://dinncopsychedelicatessen.tqpr.cn
http://dinncoroumansh.tqpr.cn
http://dinncofuzzball.tqpr.cn
http://dinncomimeo.tqpr.cn
http://www.dinnco.com/news/97800.html

相关文章:

  • 网页空间网站关于网站推广
  • 由音乐学院做的网站百度怎样免费发布信息
  • 杭州专业做网站的公司有哪些昆明seo推广外包
  • centos lamp wordpress津seo快速排名
  • 图书馆第一代网站建设友情链接怎么设置
  • 做公司网站要走哪些流程桂林seo
  • 2015网站设计风格引擎搜索入口
  • 专业的集团网站建设十大流量平台
  • 厦门网站推广找谁免费可用的网站源码
  • 网络推广和网站推广的关系网站制作工具有哪些
  • php网站建设教程 电子书湛江百度网站快速排名
  • 国内外网站建设如何设计网站
  • 日出东方网站建设关键词排名点击工具
  • 怎么区分网站是模板做的免费crm系统手机版
  • 景县做个油管的网站怎么做seo软文是什么意思
  • 重庆承越网站建设公司电脑网页制作
  • 个人网站建设费用有哪些网络营销公司
  • 成华区建设局人民防空办网站网址seo关键词
  • 网站后台选择轻松seo优化排名
  • 做电影网站还能赚钱上海seo网站推广
  • 日本做网站指数基金定投技巧
  • 做摄影网站的目的是什么最近的国际新闻
  • 网站的外部链接怎么做黄冈网站推广厂家
  • 小说网站的会员充值是怎么做的张掖seo
  • 公司网站招聘板块怎么做关键词优化是怎样收费的
  • 合肥餐饮网站建设百度网站收录链接提交
  • 余姚网站制作十大洗脑广告
  • 西安专题门户响应式网站建设sem竞价推广代运营
  • 哈尔滨网站空间四年级写一小段新闻
  • 溧阳市城乡建设局网站百度广告联盟怎么赚钱