V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
hanfengzxh
V2EX  ›  Python

请问 Python 有什么代码生成器么

  •  1
     
  •   hanfengzxh · 2019-03-19 10:33:43 +08:00 · 3876 次点击
    这是一个创建于 1837 天前的主题,其中的信息可能已经有所发展或是发生改变。
    6 条回复    2019-03-19 13:50:35 +08:00
    karllynn
        1
    karllynn  
       2019-03-19 10:58:27 +08:00
    python 还需要代码生成器??直接用 python 生成不就完了
    wwqgtxx
        2
    wwqgtxx  
       2019-03-19 11:46:42 +08:00
    exec 就能直接动态生成任何你想要的,还要什么“代码生成器”
    jecshcier
        3
    jecshcier  
       2019-03-19 11:56:02 +08:00 via iPhone
    扯一句题外话。楼主的头像在我非主流年代一度用了好多年
    ho121
        4
    ho121  
       2019-03-19 12:15:26 +08:00 via Android
    估计楼主需要的是一键生成代码的神器?
    azh7138m
        5
    azh7138m  
       2019-03-19 12:40:55 +08:00 via Android   ❤️ 3
    有的,叫做 Python 工程师,一般由工资驱动,智能度很好,也很灵活
    limbo0
        6
    limbo0  
       2019-03-19 13:50:35 +08:00
    cookiecutter?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5361 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 07:57 · PVG 15:57 · LAX 00:57 · JFK 03:57
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.