Skip to content Skip to sidebar Skip to footer

Increasing The Capacity Of The Ide In Python Like A Notepad?

I have a problem with my IDE in python... I want to make a list of numbers i.e (40,000,000) but when i place this command list(range(1000000)) it counted up to that no problem but

Solution 1:

Some IDEs let you increase the number of "last lines" it can show, but soon or later you'll hit the wall again. Instead to output to a terminal emulator, try output to a file.

withopen("output.txt", "w") as o:
    for i inrange(len(my_list)):
        o.write("%d" % my_list[i])

Just open output.txt on Notepad.

Post a Comment for "Increasing The Capacity Of The Ide In Python Like A Notepad?"