bhe se girerà su raspberry dovrebbe esserci linux, e quindi python installato e funzionante.
ma cmq anche la devi assicurarti prima che funzioni python.
poi puoi provare col tuo form.
e ovviamente su raspberry deve esserci un server web (tipo apache) e php configurati e funzionanti.