Title: Plugin using Python
Last modified: June 12, 2023

---

# Plugin using Python

 *  [gba8912](https://wordpress.org/support/users/gba8912/)
 * (@gba8912)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/plugin-using-python/)
 * Hi all,
 * Quick question, I know there are advanced notification plugins out there but 
   I am interested in building one with Python as a project for my portfolio. I 
   am in need of advanced notifications for woocommerce (email/text me with orders
   mostly). I know Python but no other languages. I want to somehow build and integrate
   this into my wp site. Is something like this possible and if so, any suggestions
   on how to go about it?

Viewing 1 replies (of 1 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/plugin-using-python/#post-16813553)
 * Your WP installation would need to be able to call PHP’s `exec()` so that an 
   external Python script could be executed. Many hosts disable this function for
   improved security. Without it, in PHP, you’d have to make a HTTPS request for
   your .py file for it to execute. Doing it via HTTPS request will make it difficult
   to properly integrate into WP. `exec()` works much better. As long as `exec()`
   is usable, using Python is feasible.
 * You might consider learning some PHP 🙂 You’ll need at least a little knowledge
   anyway in order to integrate your Python with WP. Why not learn a bit more and
   accomplish the entire thing in PHP? You must have some kind of programming aptitude
   or you wouldn’t be good with Python. With a reasonable aptitude, learning enough
   PHP to get by shouldn’t be too difficult.
 * Like anything new, it’ll be frustrating at first, but I think you’ll be well 
   served in the long run to learn at least some PHP coding.

Viewing 1 replies (of 1 total)

The topic ‘Plugin using Python’ is closed to new replies.

## Tags

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

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 1 reply
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/plugin-using-python/#post-16813553)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
