Skip to content

一款Windows平台下精简的Python编译环境(IDE),可以将py脚本直接编译成exe,C++/Qt实现。

Notifications You must be signed in to change notification settings

Qt-Widgets/SmartPython

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

项目简介

多年前做的小工具,放出来给有需要的人研究吧,可以作为目前很火的RPA编辑器的架构原型,技术交流6850825@qq.com

  • 支持代码高亮显示
  • 支持代码单步调试
  • 支持代码中断执行
  • 支持导入第三方Py库
  • 支持导入自定义模块
  • 支持调用C扩展
  • 支持调用函数
  • 支持输入输出重定向
  • 支持直接编译生成Exe

测试脚本

import json
import os
import requests
import sys
import utility
import chilkat
from time import sleep

sleep(1)
print("--Py模块测试--")
print(utility.get_uuid())

sleep(1)
print("--C扩展测试--")
import SmartPythonExt
print(SmartPythonExt.greet())

sleep(1)
print("--函数测试--")
def get_current_ip():
	#ret = requests.get('http://ipinfo.io/json')
	ret = requests.get('https://api.myip.com', timeout=30)
	j_ret = json.loads(ret.text)
	return j_ret["ip"]
print(get_current_ip())

sleep(1)
print("--IO测试--")
line = input("请输入:")
print(line)

功能演示

image

About

一款Windows平台下精简的Python编译环境(IDE),可以将py脚本直接编译成exe,C++/Qt实现。

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 87.0%
  • Python 11.4%
  • C 1.6%