安卓手机上亦能玩Python
<h1 style="color: black; text-align: left; margin-bottom: 10px;">必要<span style="color: black;">要求</span></h1>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">安卓手机<span style="color: black;">必须</span>安装Termux软件,Termux 是一款安卓平台下模拟 Linux 环境的 app。<span style="color: black;">能够</span>直接<span style="color: black;">运用</span>,无需 root 或 额外设置。支持 apt 进行软件包管理。下图所示:</span></span></span></p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/46b9161bb7bb47fb9de3264a50e07efd~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1723903603&x-signature=Y%2By%2B94iaw%2Bc63Odf8XSvgizFVWI%3D" style="width: 50%; margin-bottom: 20px;">
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">termux</p>
</div>
<h1 style="color: black; text-align: left; margin-bottom: 10px;">安装ipython</h1>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">ipython是python的一个包,<span style="color: black;">因此</span>要用下面命令进行安装:</span></span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">pip3 install ipython</span></span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">安装完毕运行<span style="color: black;">瞧瞧</span>效果:</span></span></span></p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/d3057ffe882740cb908b9df08e186cd3~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1723903603&x-signature=eg9e%2BDdof9RonjnP06YE1P5Y7JA%3D" style="width: 50%; margin-bottom: 20px;">
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">安装ipython命令</p>
</div>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/c3634258cc1a4980998bf961349172c7~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1723903603&x-signature=lNm5YS4vCR7z9MB54iVZw5lu73U%3D" style="width: 50%; margin-bottom: 20px;">
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">运行ipython</p>
</div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">在ipython上面就<span style="color: black;">能够</span>测试python代码了</span></span></span></p>
<h1 style="color: black; text-align: left; margin-bottom: 10px;">实例<span style="color: black;">照片</span>:</h1>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/11347b7ebabf4e33a9c0284dbac7e5e7~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1723903603&x-signature=%2BNYZhVmzQTBRDiYKySY2WJiS%2Bcw%3D" style="width: 50%; margin-bottom: 20px;">
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">python测试代码</p>
</div>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/fb480244c1a940d69b4eab128fb82000~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1723903603&x-signature=ECDYY9FRMktijc8fq%2F%2BNAw4b5O8%3D" style="width: 50%; margin-bottom: 20px;">
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">运行结果</p>
</div>
<h1 style="color: black; text-align: left; margin-bottom: 10px;">总结</h1>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">由此看来在安卓手机上<span style="color: black;">咱们</span><span style="color: black;">一样</span><span style="color: black;">能够</span>测试<span style="color: black;">有些</span>简单的python代码,并且运行得到和在Pc上<span style="color: black;">同样</span>的结果。好了,今天的分享就到<span style="color: black;">这儿</span>,记得点赞哦!</p>
请问、你好、求解、谁知道等。 楼主的文章深得我心,表示由衷的感谢!
页:
[1]