Title: How move local python app to wordpress
Last modified: July 16, 2020

---

# How move local python app to wordpress

 *  [romasalah](https://wordpress.org/support/users/romasalah/)
 * (@romasalah)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/how-move-local-python-app-to-wordpress/)
 * Hello Everyone,
 * I’m new to wordpress. I have a webapp written in matlab and compiled to a python
   package. I use it in a local server that’s is connected to the interent with 
   a Django project.
    I want to move the functionailty to wordpress I basically 
   need:
 * 1. users choose some options that will be sent to my local machine.
    2. users
   receieve output variables sent by the machine. 3. the wordpress site uses these
   variables to plot graphs.
 * Any idea how can I do that?

Viewing 1 replies (of 1 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/how-move-local-python-app-to-wordpress/#post-13146931)
 * I don’t know much about python but i think I can answer anyway. Scripts like 
   python, perl, whatever, are executed on servers through the CGI (common gateway
   interface). I’m assuming some initial .py script would import your package modules
   to get things started, but I don’t know what I’m talking about beyond basic python
   scripts 🙂
 * You might need to configure your server to execute python through CGI, but there’s
   a decent chance it is already configured. If so, install your package files in
   the server’s cgi-bin folder. You can start your initial .py script from a browser
   by requesting the file over HTTP. Or use the WP_Http class to make a HTTP GET
   request to the same file to have WP receive script output instead of the browser.
   
   [https://stackoverflow.com/questions/26829387/easiest-way-to-run-python-script-from-apache](https://stackoverflow.com/questions/26829387/easiest-way-to-run-python-script-from-apache)

Viewing 1 replies (of 1 total)

The topic ‘How move local python app to wordpress’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/how-move-local-python-app-to-wordpress/#post-13146931)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
