Posts by Isis Binder • 91 points
6 posts
-
0
votes4
answers1112
viewsA: Is there an XHTML5 (XHTML + HTML5)?
By complementing Erik’s response: W3C closed/dissolved/dismantled the XHTML2 workgroup in 2009. By 2007 they had recognized HTML5 as the next HTML standard. So don’t bother with XHTML2. HTML5 has…
-
1
votes1
answer283
viewsA: How to take n in Python file manipulation
Use the strip. ex: string_2.strip().
python-3.xanswered Isis Binder 91 -
0
votes3
answers224
viewsA: Selection of the first number from a list
In addition to the answers above (and if the situation described by Anderson is not true) Oce could use the module itertools. Yes, it’s more complex: def pick_first_posivite_after_negative(L): ia =…
-
1
votes1
answer45
viewsA: Error outside the list range
That suits you? import csv csv_tec = None tec_matriculas = set() with open('tecnicos.csv', mode = 'r') as f: csv_tec = csv.DictReader(f, delimiter = ';', quoting = csv.QUOTE_NONE) tec_matriculas =…
-
1
votes1
answer31
viewsA: Optgroup JSON + JS
A little different in notation, but it follows. jsonData = { "franquias": [ { "id_loja": "147", "nome_loja": "JARDIM PAULISTA", "cidade": "ATIBAIA", "tipo": "Franquia" } ], "multimarcas": [ {…
-
2
votes2
answers261
viewsA: How do P:Izard go back to a certain tab?
If you want to do via JS: onclick="PF('widget_j_idt701_j_idt702').loadStep('tabDadosEmpresa','back');" Be sure to specify an id for the component. If I’m not confusing the versions, in PF 7.0 vc you…