Jump to content

Recommended Posts

I have XAMPP installed on my localhost (windows XP SP2).

I would like to add Python to this. I checked the XAMPP addons, but they only supply the files for linux (or, at least, that's how it looked).

Has anyone done this? Or, does anyone know of a localhost-type software that supports python? I mean browser-based, not just the python CMD.

 

Thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/127686-xampp-python-windows/
Share on other sites

I set up my handler. The only problem is every python script (well, any file ending in .py) goes back to that file, so whatever I do it just runs the handler function. How do I change this so it executes the file I'm pointing to?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/127686-xampp-python-windows/#findComment-662174
Share on other sites

Brilliant :) Got that working now. But, surely there's a way to avoid the handlers and just let python interpret the script as it's written without having to go through a handler? If I put my python script on my webhost (that I don't run), it works fine without an index handler. Why is there a difference?

Link to comment
https://forums.phpfreaks.com/topic/127686-xampp-python-windows/#findComment-662198
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.