Em sáb., 15 de ago. de 2020 às 07:11, ale rimoldi <ale.comp...@xox.ch> escreveu:
> > For those who are willing to help out, I could need a hand for > improving the docstrings: > # To help text formating in Scribus # Line 8: # To avoid error: # Traceback (most recent call last): # File "<console>", line 1, in <module> # PermissionError: [Errno 13] Permission denied: 'api.txt' -- sys.stdout = open("api.txt", "w") ++ sys.stdout = open("./api.txt", "w") # Line 32 -- print('Constants') ++ print('<h2>Constants') # Lines 36-37; 44-45 -- print(command[0]) -- print(command[1] + ': ' + command[2]) ++ print('<Command>' + command[0]) ++ print('<Syntax>' + command[1] + ': ' + command[2]) # Line 40 -- print('Functions') ++ print('<h2>Functions') Create Scribus paragraph styles "<Command>", "<Syntax>" and "<h2>". Import as text filtering to apply the paragraphs styles and erase the marks. -- Nome: "José Antonio Meira da Rocha <https://plus.google.com/+Jos%C3%A9AntonioMeiradaRocha/>" Email: joseantonioro...@gmail.com Veículo: [ http://meiradarocha.jor.br ] ORCID: http://orcid.org/0000-0002-5892-1027 Fones/WhatsApp: [ 55-98448-3866 55-3744-2994 ] 🐊 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.scribus.net/pipermail/scribus/attachments/20200816/b92810fb/attachment.htm> ___ Scribus Mailing List: scribus@lists.scribus.net Edit your options or unsubscribe: http://lists.scribus.net/mailman/listinfo/scribus See also: http://wiki.scribus.net http://forums.scribus.net