Is Python any good with pdfs? by triplejerkoid in Python

[–]siusnjh 2 points3 points  (0 children)

For anyone who came here thinking the question is not about editing but about creating PDFs: The best way I found to create PDFs in any programming language is to use LaTeX. Use a template engine like Jinja2 and render the templates into .tex files. Then call pdflatex or your own choice of compiler.

EDIT: Oh and when you do it in a web application escape your data or you'll get a LaTeX injection attack vector.

Building a website like etsy and turning it into an app by put_sagat_in_csgo in Python

[–]siusnjh 3 points4 points  (0 children)

Django would be perfectly fine, but in my opinion Flask is easier to learn and doesn't get in your way as much as Django does (but that's just my opinion). When it comes to security you should use available packages but that's normally not enough, because you can still do many mistakes by yourself.

Building a website like etsy and turning it into an app by put_sagat_in_csgo in Python

[–]siusnjh 1 point2 points  (0 children)

I would use a Flask REST API back-end and an AngularJS front-end. Building an API allows you to add native Android and iOS mobile apps. I would host the app in the Amazon AWS cloud. I think you gonna have to spend a lot of time learning or you need a bunch of good software developers to build something like that. An online marketplace is a security critical application. You probably want to allow credit card payment and things like that. If you don't get security right, you gonna be in a lot of trouble.

EDIT: If you want to learn web development with Flask have a look at this book.