Posts by Vanessa Nunes • 189 points
10 posts
-
0
votes0
answers17
viewsQ: Django Manytomany "needs to have a value for field "id" before this Many-to-Many Relationship can be used"
Hello, I’m trying to assign data in a model that contains a Manytomany field... Reading around I understood that first should instantiated the Model creating it and passing the data with exception…
-
-1
votes1
answer280
viewsQ: Return data from two identical tables [SQL] [Python]
Hi, I want a help with SQL query. There are two identical tables but with different recorded data in each one. How can I get the data from both tables? As if they were two selects in each table?…
-
0
votes1
answer24
viewsQ: Adaptation of csv columns with DB fields other than hard code?
Boom day :) I’m doing a python script that reads a file. csv that takes a few columns (not all columns, just a few) and saves it in the database. As the columns of csv and the name of the database…
-
3
votes2
answers936
viewsQ: Chained list: how to modify data from a list without changing the others?
I have a for that generates a list of data lists lista[[...], [...]] Inside the "daughters" lists may or may not have other lists lista[['dado11', 'dado12', [link1]],['dado21', 'dado22', [link2]]…
-
1
votes2
answers169
viewsA: How to make the variable appear on the screen before it is modified?
I never used the visualg, so you have to modify the way there :) If I understand, you can assign these values in different variables or ask to print the value before you add! It would be something…
-
2
votes1
answer7101
viewsQ: How to read PDF
I am creating a script to grab a pdf and rewrite it in text. from StringIO import StringIO from slate import PDF from subprocess import Popen, PIPE, call import uuid #pego pdf existente url =…
-
2
votes1
answer1067
viewsQ: Find out python link
I’m making a Scrapping web in python and sometimes I come across some links and/or Buttons that are not with the real address of the url so you will be redirecting if you click. In this case, if I…
-
1
votes4
answers3476
viewsA: When do I actually need to use the this operator in Java?
An easy way to understand is: When you have two variables in different scopes: one local (in a method) and the other global (in the class). When you need to reference the global you use this, ex:…
-
0
votes3
answers3113
viewsA: Why is it mandatory to implement "public Static void main (String [] args)"?
Basically this method means that at you are making the class you are implementing the main. It is he who makes the execution of all the code you build or calls-Ló.
-
6
votes2
answers2294
viewsQ: Scraping in Python - read pdf
I made a Scrapping in Python that takes a URL of any PDF, reads and returns, but in some Pdfs I’m having the problem of coming with some characters like this: ".\nO xc3 xb3rg xc3 xa3o tamb xc3 xa9m…