简体   繁体   English

如何将带有 mysql 数据库的 python 脚本部署到另一台计算机

[英]how does one deploy a python script with a mysql database to another computer

I have a simple python script and mysql database for my elderly friend to manage his medications I developed with MAMP and python on my Mac.我有一个简单的 python 脚本和 mysql 数据库供我的老年朋友管理我在 Mac 上使用 MAMP 和 python 开发的药物。 How do I deploy it to his Mac, simply, without having to reinstall MAMP on his MAC and creating the tables, etc. ?我如何简单地将其部署到他的 Mac 上,而无需在他的 MAC 上重新安装 MAMP 并创建表格等?

KlausF thanks for your insight... I have switched to sqlite3 file DB and it is much less than installing mysql, etc. Thanks for the direction. KlausF 感谢您的见解...我已切换到 sqlite3 文件数据库,它比安装 mysql 等要少得多。感谢您的指导。 This is what I thought SO was all about when I joined it years go.这就是我在 go 加入时认为的全部内容。 Thanks again再次感谢

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在另一台计算机上使用通过 python 连接的 MySQL 数据库? - How to use MySQL database connected through python in another computer? 相同的 python 脚本在一台计算机上工作,但在另一台计算机上不起作用 - Same python script works in one computer but not in another 将Python脚本移动到另一台计算机 - Moving a Python script to another computer 如何从另一台计算机访问我的数据库 mysql - how access my database mysql from another computer 如果没有,如何使 python 脚本执行另一个命令? - How to make a python script execute another command if one does not? 如何检查在小型网络中的另一台计算机上是否正在运行相同的python脚本? - How to check if a the same python script is running in another computer in a small network? 如何在另一台计算机上打包和运行包含 venvs 的 python 脚本 - How to packaging and run python script including venvs on another computer 如何将Python/Anaconda虚拟环境从一台电脑复制到另一台电脑? - How to copy Python/Anaconda virtual environment from one computer to another? 使用另一台计算机的 python 脚本在新计算机上安装 Python? - Installing Python on a fresh new computer using a python script from another one? 如何部署python脚本? - How to deploy python script?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM