About 361,000 results
Open links in new tab
  1. PEP 638 – Syntactic Macros | peps.python.org

    Sep 24, 2020 · This PEP adds support for syntactic macros to Python. A macro is a compile-time function that transforms a part of the program to allow functionality that cannot be expressed cleanly …

  2. Welcome to MacroPy3’s documentation! — MacroPy3 1.1.0 …

    MacroPy is an implementation of Syntactic Macros in the Python Programming Language. MacroPy provides a mechanism for user-defined functions (macros) to perform transformations on the abstract …

  3. macropy - Adding Macros to Python - Stack Overflow

    MacroPy is a project of mine which brings syntactic macros to Python. The project is only 3 weeks old, but if you look at the link, you'll see we have a pretty cool collection of demos, and the functionality …

  4. GitHub - lihaoyi/macropy: Macros in Python: quasiquotes, case …

    MacroPy is an implementation of Syntactic Macros in the Python Programming Language. MacroPy provides a mechanism for user-defined functions (macros) to perform transformations on the abstract …

  5. MacroPy · PyPI

    Jul 9, 2013 · MacroPy is an implementation of Macros in the Python Programming Language. MacroPy provides a mechanism for user-defined functions (macros) to perform transformations on the abstract …

  6. How to Make a Macro in Python with Keystrokes and Clicks | Python ...

    How to Make a Macro in Python with Keystrokes and Clicks! Beginner Python Tutorial. First time building macros in Python? Awesome. We take a guided, step-by-step approach to create a...

  7. Writing Your First Macro — MacroPy3 1.1.0 documentation

    Now, we will go through what it takes to write a simple macro, with some self-contained examples. To begin, we need three files.

  8. Python Macros: Use Cases? - Stack Overflow

    Mar 11, 2014 · I believe that macros run counter to Python's culture. Macros in Lisp allow the big ball of mud approach; you get to redefine the language to become more suited to your problem domain.

  9. Macro Functions - PyXLL User Guide

    Python functions to be exposed as macros are decorated with the xl_macro decorator imported from the pyxll module. Macros defined with PyXLL can be called from Excel the same way as any other Excel …

  10. Define variables(Macro) in Python - Stack Overflow

    Dec 16, 2016 · The code sample you provided is perfectly good Python and effectively gives you the central control you appear to need over program parameters. Just to throw in a bit of jargon, such …