Posts by Pyguel • 1 point
3 posts
-
0
votes1
answer66
viewsA: Python - Creating a program that changes itself
This is how I made it work: #Ler arquivo arq = open(__file__, 'r') lines = arq.readlines() #Leremos por aqui arq.close() x = False if x: print("Você Alterou o script") else: print("Script não…
-
0
votes1
answer66
viewsQ: Python - Creating a program that changes itself
I would like to create a program that is able to change itself, that is, I run the script, and it changes the script itself, creating a kind of bookmark. The big problem is that I can’t change the…
-
-2
votes1
answer48
viewsQ: Problems with Nodejs on Linux
I have a problem, I’ve tried several ways and nothing. I’m taking a JS course, and in one of the classes the teacher used the Math library... only my result is always Nan. So researching I found…