Title: How to use Python Shortcodes
Last modified: May 22, 2017

---

# How to use Python Shortcodes

 *  [geekchick30](https://wordpress.org/support/users/geekchick30/)
 * (@geekchick30)
 * [9 years ago](https://wordpress.org/support/topic/how-to-use-python-shortcodes/)
 * How do I use Python shortcodes in my blog posts? I’m confused on how to do this.
   Thank you.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Andi Dittrich](https://wordpress.org/support/users/andi-dittrich/)
 * (@andi-dittrich)
 * [9 years ago](https://wordpress.org/support/topic/how-to-use-python-shortcodes/#post-9161256)
 * hi geekchick30,
 * just wrap your code in shortcode named python.
 *     ```
       [python]
       ...your code..
       [/python]
       ```
   
 * but this method is not recommended anymore when using the visual editor mode.
   in this case two new buttons will appear on the upper right corner of the editor
   toolbar. click on “Enlighter Code Insert” – a new window will appear in which
   you can paste your code.
 * br, Andi

Viewing 1 replies (of 1 total)

The topic ‘How to use Python Shortcodes’ is closed to new replies.

 * ![](https://ps.w.org/enlighter/assets/icon-256x256.png?rev=1215872)
 * [Enlighter - Customizable Syntax Highlighter](https://wordpress.org/plugins/enlighter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/enlighter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/enlighter/)
 * [Active Topics](https://wordpress.org/support/plugin/enlighter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/enlighter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/enlighter/reviews/)

## Tags

 * [python](https://wordpress.org/support/topic-tag/python/)

 * 1 reply
 * 2 participants
 * Last reply from: [Andi Dittrich](https://wordpress.org/support/users/andi-dittrich/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/how-to-use-python-shortcodes/#post-9161256)
 * Status: not resolved