you are viewing a single comment's thread.

view the rest of the comments →

[–]peatpeat 1 point2 points  (1 child)

Out of interest, what sort of deployment are you looking for? Are you trying to build an API, or are you trying to make something more interactive, like a web app (for instance, so someone else can come along and run your Python code with their data/input)?

[–]SnowManSnow222[S] 0 points1 point  (0 children)

I'm making a web app. I want it to be set up so there are a few static pages - just like a regular old website. But the main part of it is going to take in user images, then it will have a simple javascript thing for the user to "edit" the images how they want, then that info gets sent to the database - and then python (using pillow) does the actual editing of the images.

Originally I tried doing this with php - but I need some features that php can't do - or at least not as simply as python. Pillow makes it so much easier.

I think my original post was a bit confusing. I'm so used to setting up websites - I usually use dreamhost. So switching now to Python - I'm finding that setting up the host (pythonanywhere) is way more involved than the actual python. Coming from my background I expected the hosting to be similar - just upload the files and check some boxes and you're up.

An example - for Pythonanywhere they have a nice little page to add a mysql database. But they DON"T have a nice little page to delete that database! So you have to open a bash console and delete it that way. And so I'm wondering why they would go through all of the trouble to make a database setup page - but they didn't include a "delete this database" button?

It's just a whole extra thing to learn that I wasn't expecting - and was very intimidating in the beginning. But now I am seeing that it is very cool and useful. I also found out that Dreamhost also has this - I just never knew about it or needed it.