A
A
Alexey Andrianov2014-03-25 21:17:22
linux
Alexey Andrianov, 2014-03-25 21:17:22

Which python modules and framework to choose for a project interacting with linux?

Good afternoon.
For 5 years I have been writing not very complex programs in Delphi / Lazarus, but the question arose of writing a web application that downloads files from an ftp server, then adds data from them to MySQL. Further, the same application must analyze this database and perform certain procedures.
Application results and application management must be done from the web.
To do this, I chose and decided to learn Python.
Actually, the questions are:
1. Should I choose a framework for my task at all?
2. If you choose a framework, which one?
3. What books/materials would you recommend for the implementation of this task?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Andrew, 2014-03-25
@kaasius

The word lInux has nothing to do with it at all. Python is cross-platform, ftp is everywhere, mysql too.
Otherwise - if the application is complex and is planned to expand the functionality - that is, it makes sense to use a framework, if not, then most likely not, you will study it longer than writing code.

M
Maxim Moseychuk, 2014-03-25
@fshp

Django is a web framework after all and is too big for your task.
If you want to work with the database through an ORM, then in principle you can use the Django ORM, but I recommend SQLAlchemy.
If you need to read / write a couple of fields from a table and do not need an object model, then you can use bare SQL, since it is difficult to find a database that python cannot work with.
When learning, it’s generally good to touch a little of everything in order to have at least a superficial idea of ​​​​the capabilities of the modules.

D
devel787, 2014-03-28
@devel787

Good afternoon.
I'll throw up a link for working with FTP, it may come in handy -- pypix.com/python/create-python-library

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question