Posts by tssm • 66 points
6 posts
-
0
votes5
answers714
viewsA: I want to turn a text into a list of dictionaries
Hello, my suggestion is the following: if you only want to save and read the file later, you should use pickle: >>> import pickle >>> pickle.dumps({'foo': 'bar'})…
-
1
votes1
answer1222
views -
1
votes1
answer614
viewsA: Mark/Deselect a line in Jtable, changing its color
Hello, When the line is selected (it is in focus), by default Java Swing changes the color to blue. An option for you would be to clear the selection of the table before getting the component.…
-
1
votes2
answers1465
viewsA: NCM codes to import into my system
Hello, On the national website of NF-e has an excel file with valid NCM codes. NCM table Source: http://www.nfe.fazenda.gov.br/PORTAL/exibirArquivo.aspx?conteudo=oqXtmaR10bY=…
-
0
votes2
answers2325
viewsA: Error 500 when consuming Nfedistribuicaodfe
Hello, Recommendation: Perform tests on the Service Type Approval Environment URL Nfedistribuicaodfe https://hom.nfe.fazenda.gov.br/NFeDistribuicaoDFe/NFeDistribuicaoDFe.asmx Below is valid xml for…
-
2
votes1
answer133
viewsA: Jackson does not serialize Jsonobject object
Hello, Build using the Jsonobjectbuilder: @GET @Produces({MediaType.APPLICATION_JSON}) @Path("getnamejson") public Response getnamejson() { JsonObjectBuilder jsonObjectBuilder =…