On Sun, 31 Oct 2021 at 04:47, Mike Miller geany-users@mgmiller.net wrote:
On 2021-10-30 06:44, Edmur Santana wrote:
Hello! I'm studying python through a book and I have a problem. The Geany output isn't showing the maths results. Just show the results when I put "print (1+1)".. What is the problem? I couldn't find the solution for it. Thanks for the help!
Edmur
Looks like you are compiling the Python file to bytecode, rather than running it. Compiling it manually is generally not necessary with Python. Use the "run" menu-item (which may be configured, not sure) or run it at the command-line instead:
On the menu
Build->Execute (not sure the translations)
or the toolbar button with the gears icon.
⏵ python3 somando.py
Depends on how old the version of Geany and which OS made it if its python3 or python.
Cheers Lex
-Mike _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users