Looks like i receive an error when typing this the same code..
>> for x in range(0, 50):
print wallet.create_new_address(False)
Traceback (most recent call last):
nt wallet.create_new_address(False)
^
SyntaxError: invalid syntax
Let me know what version of electrum you are using?
The reason for the error is that the console is a sort of pseudo Python console... Python relies on "indentation" to form code blocks... so you need to indent the "print" statement for it to be considered part of the "for x in range" statement:
for x in range(0, 50):
print wallet.create_new_address(False)
Note the extra spaces at the beginning of the print line! This is why you need to be very careful when using copy/paste on Python code... it can lead to unexpected results... you should always copy/paste each line (including the leading whitespace!!) one at a time...