Posts by Joa Roque • 37 points
4 posts
-
0
votes0
answers15
viewsQ: Flask download multiprocess video
I’m doing a project to download videos from a website and store them in a folder on the computer. Here’s the thing, I got a route @app.route('/baixar', methods=['POST']) who is responsible for…
-
0
votes1
answer63
viewsQ: Post request returns error 500
I have a simple Python script that sends a post request with a certain payload but it returns error 500. I’d really like someone to help me. The code: def answered(self,answer): headers = {…
-
1
votes1
answer88
viewsQ: Error printing HTML with Beautifulsoup
I have a simple code that accesses a quiz site and takes all the ul which contain the class square and prints on screen. url = "http://quizdomilhao.com.br/category/g1" question_page =…
-
-7
votes3
answers418
viewsA: How to write a function that takes 2 integers as a parameter and returns the largest of them?
Hello! Try that code here: def mostra_maior(num1, num2): if num1 > num2: print(num1) else: print(num2) mostra_maior(4,8) >>> 8