No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
Hi community, I'm Tim and I'm a 17-year-old student from Germany. I started "developing" software (at least trying to do so) 3 years ago. Today I have good knowledge of the programming language Python and I'm learning C++ at the moment. I would describe myself as an intermediate developer. This … | |
Re: [QUOTE=JuvenileMango;1080931]What is the difference between [CODE]file = open("name.txt")[/CODE] and [CODE]file = open("name.txt", 'r')[/CODE]? I can still use the methods: read(n), readline(n), and readlines(n) without adding the "r" in the open method.[/QUOTE] the parameter "mode" is optional and the default value is 'r' (read) so if you leave it out python … | |
Re: [QUOTE=d8m9;1079944]Hi, I want to change a variable in a definition everytime it is called. for example: when I click on button, it will print 1 when I click on button again, it will print 2 Is this possible? I have written this code but it doesnt work :) [CODE]k=0 def … |
The End.