So I want to a program something to scrape/store data (lets say words mentioned on twitter, a linear regression of price with X, past chart data ) as well as do basic operating like trading on the market
Would SQL + Python be good enough? What about SQL + JS?
Im a new programmer so I only know a little of all the languages and im not sure which route to go
Aiden Adams
Her or she?
Alexander Jones
Sup Forums
Kayden Rivera
>Sup Forums
Gay
Nicholas Barnes
python + sql is fine. You will need html css js to display the data.
I suggest an mvc framework as well.
Michael Cox
vanebp19, mom of two.
Charles Wright
Whats a good mvp framework? Im new to this and I just want to get a hold of what I need to learn
>JS >R (for more complicated statistics) >SQL >Python >CSS and HTML And then whatever an MVP framework is? Anything else?
Im basically a second year in University so I have some 2-3 to finish this up in my spare time.
Logan Sanchez
>Whats a good mvp framework? Im new to this and I just want to get a hold of what I need to learn >>JS >>R (for more complicated statistics) >>SQL >>Python >>CSS and HTML >And then whatever an MVP framework is? >Anything else? >Im basically a second year in University so I have some 2-3 to finish this up in my spare time.
You can do all of this with python + sql3 and flask or django for web framework
Lincoln Roberts
Sqlite3
Elijah Carter
So the essentials to learn are python and sql?
The rest is gray?
Jackson Cook
Yeah, python is not hard and if you know logic and English SQL is a breeze
Keep everything in as few systems as possible and don't mix languages
Landon Rogers
Thanks user your help means a lot
Any tips? Can I integrate R for complicated statistics or can it be done in python?
Is 2-3 years a good enough project scope in time?
Nathaniel Jones
R is useless if you know python. I rec python as well. Go search for libraries such as numpy to help you with the job.
Yes it's doable in just 1 summer I think.
Nolan Thompson
Jesus christ 2-3 years? as said A summer should be enough
Carson King
R is way superior to python if you wanna implement sophisticated statistics (basically cuz community is heavy stats-oriented). But for OP demands python is fine.
Tyler Turner
Pro tip for op, go with twython instead of tweepy for twitter scraping
Jordan Ross
>tfw i dont get it how sqlite works >it doesnt store data on server >how does it stay saved anywhere
Easton Lopez
lel noob
What back end are you using
Aiden Jackson
its just that i never used sqlite and i've heared that it is different thing from MySQL and others... I was using Laravel since forever
Jordan Green
Idk what you're trying to do. Are you trying to store data from a web page? Or are just trying to set up SQLite through its command line
Jaxson Cruz
well it would help a lot if i could just understand how is sqlite different from for example MySQL/MariaDB and why to use it I mean if I have some website where users post many images, comments ,and stuff should I use sqlite? I was using MariaDB and started wondering about sqlite
Aiden Perry
SQLite is for small to medium projects it's pretty simple nothing too crazy. If you can use other DB systems you should def be able to use sqlite. There might not be any reason to change tho in your case not sure how scalable you plan your app being
Colton Robinson
so basically sqlite saves data in a text file? like fopen?
Tyler King
Muh loop reliance.
Robert Green
I'm pretty sure it uses a DB file at least that's what happened when I used it
Jayden Carter
what could be the core difference then? I mean difference between sqlite and MySQL-like RDMSs
Nicholas Nguyen
>Whats a good mvp framework Python with Flask and SQLAlchemy
Connor Hernandez
what could be the core difference then? It's stored in a DB file instead of running on a server, and sqlite has less features than MySQL. It's for really small and lightweight projects.
Isaiah Sanchez
Python is too slow for trading and a decent scrapper, because of the frameworks availabe, but has terrible regex capabilities. You don't even have to learn SQL here either. A simple JSON/XML file would be sufficient if your querries are basic. JS is fine if you're doing strict mode, it's automatically better than Python, just by virtue of being a compiled language.
I recently was scrapping twitter, but I went with Perl, because it's just too painful to work with Regex in Python. Also, are you in the North East?
Tyler Gomez
>It's stored in a DB file instead of running on a server well now i know that this is the thing that i dont understand i thought that MySQL is stored in a file that runs on a server
Ryan Ramirez
In SQLAlchemy you do something like this: engine = create_engine('sqlite:///sqlalchemy_example.db') instead of engine = create_engine('mysql:///192.168.0.1:3306') So in sqlite the file needs to be on the same machine, hope that makes sense.
Xavier Johnson
Wait wait does this mean that DB is located somewhere locally? In users's browser?(i know it doesnt make sense but im confused)
Aaron Harris
The code I posted is server side, so in the case of web, no. But if you developed a desktop app and used sqlite, the user that downloaded your program would have a .db file on his machine.