简体   繁体   中英

Is it possible to execute python code on a device in transparent way if python is not installed on it?

如果未安装 python,是否可以在设备上以透明方式执行 python 代码?

Not sure exactly what you are asking for, but if you are using a mac (eg OS10.9), there should be a built-in python 2.7. In the command line terminal, you can type in :

USER$ python
## Python 3.5.2 |Continuum Analytics, Inc.| (default, Jul  2 2016, 17:52:12) 
## [GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin
## Type "help", "copyright", "credits" or "license" for more information.
>>> 

There are also third-party web-based software such as Python Tutor that you can use. Internet access required.

您可以通过在 Google 中搜索找到许多基于网络的应用程序,例如: repl.itGoogle Console

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM