-5

I have developed a webserver in Python (using Bottle). In this moment it runs on my laptop, but in future it will run on a board (like Raspberry). The webserver shows a html page that allow to the users to put some data and it should save locally in a file. Is it possible? I have to use php?

Thanks

JGallardo
  • 11,074
  • 10
  • 82
  • 96
lucacatr
  • 101
  • 3
  • 12
  • you can install python on a raspberry pi. Just google it. – ADyson Sep 12 '17 at 15:46
  • 4
    No, why would you think you need to use PHP? Bottle is already a web framework. – Daniel Roseman Sep 12 '17 at 15:46
  • 2
    Simple google search about using Python on the Raspberry Pi would have been a better option than posting here. http://raspberry.io/wiki/how-to-get-python-on-your-raspberrypi/ – JGallardo Sep 12 '17 at 15:48
  • The question is "I have to save locally a file with the data inserted. On the board I have to install a PHP interpreter?" – lucacatr Sep 12 '17 at 16:01
  • 1
    @lucacatr why do you think that repeating the question in the comments will achieve anything? Python can be used to save files, just like any programming language. Again, read the links you've been given. – ADyson Sep 13 '17 at 11:11

1 Answers1

1

You can just run your python apps on a Raspberry Pi. There are many tutorials on the web.

Video:

https://www.youtube.com/watch?v=VFs1dhJPYa4

Tutorials:

Community
  • 1
  • 1
JGallardo
  • 11,074
  • 10
  • 82
  • 96
  • The question is "I have to save locally a file with the data inserted. On the board I have to install a PHP interpreter?" – lucacatr Sep 12 '17 at 16:01
  • 1
    @lucacatr if you just read any of the tutorials you would have your answer. 3 of us have already told you that you don't need PHP. – JGallardo Sep 12 '17 at 16:17