Python Forum
Use IDLE to compose and test only - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: General (https://python-forum.io/forum-1.html)
+--- Forum: News and Discussions (https://python-forum.io/forum-31.html)
+--- Thread: Use IDLE to compose and test only (/thread-40111.html)



Use IDLE to compose and test only - SomebodySmart - Jun-04-2023

Just for the benefit of the ones who don't realize it:

I use IDLE and it is an excellent way to perfect and de-bug code. It is a good way to test programs. However, I run programs that take a long time because they work on datasets, typically .csv format, measuring in numerous gigabytes, and often running the sort command. I find my Mac runs these programs much faster when I use Terminal and at the command prompt, I key in python path/example.py or even cd /Volumes/external_drive/projects/directory to get into the directory where the Python file is, and then simply python example.py

On a side note, a gigabyte is 1,000,000,000 bytes, same as a gigagram is 1,000,000,000 grams. They used to call 1,073,741,824 bytes a gigabyte when they called 1024 bytes a kilobyte, because 1024 is 210 conveniently close to 1000 while reflecting the number of possible combinations of 10 binary digits (bits), but they changed that and 1024 bytes is a kibibyte and 1,073,741,824 bytes is a gibibyte, where the "bi" stands for "binary" as opposed to the decimal nature of the metric system.


RE: Use IDLE to compose and test only - Larz60+ - Jun-04-2023

This looks like gibberish created by chatGBT or some other AI engine.