0

Hello, for fun I have been learning both linux (Mint) and python3 as of late. I have finished a working code that scrapes yahoo for data and selects a series of stocks for me. Today I finished creating an apache2 server using linux. What I had hoped to do is run the python script, send the output of my python code and post it to a webpage automatically on a daily interval. I really don't even know which webpage language I should use HTML, PHP, SQL something else?.

I'm assuming I can simply pipe the python code to an file of some sort, but is there a better approach to getting started for this type of application?

Thank you in advance

PtahX

3
Contributors
2
Replies
39
Views
1 Year
Discussion Span
Last Post by steven.rose.94
1

really don't even know which webpage language I should use HTML, PHP, SQL something else?.

You can of course use Python.
Micro-framework like Flask can be a good place to start.
Python has bigger Framework like Django, web2py or CMS like Django-cms.
These has a lot of tools,and can be a overwhelming when you shall learn basic web stuff.

Your question show that this is all new.
For web-development HTML,CSS,JavaScript(jQuery) is something that's has to be studied in some degree.
E.g you run Flask as server and Write HTML and CSS to show stuff in a webpage.

I'm assuming I can simply pipe the python code to an file of some sort, but is there a better approach to getting started for this type of application?

First you can test local and try to upload file to Flask server.
If you want this to be a webpage that is running public on internet,
you need a host like Pythonanywhere, Heroku.

Edited by snippsat

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.