Jan-20-2018, 03:25 AM
i need a better IDE/editor than what i am using now (emacs). i just had another case where i needed to "wrap" a large block of code in an "if test" to be sure it would not be run in a certain case. of course it is a good thing for the resulting code that everything is indented, and it is a good thing that Python forces this. in so many other languages like C and Java, it is tempting to put in the { and } and just not indent. but then, the code is forever spoiled and no good to read.
what i need is being able to insert the "if ... :" line and the editor will give me the opportunity to specify or highlight the block this test controls (same for other things like "else:" and "try:") and make the proper indenting (and colorizing). now to find one written in Python that can do the editing in a text environment (not depend on XWindows) which i have, but is obscured from programs by unsetting DISPLAY.
what i need is being able to insert the "if ... :" line and the editor will give me the opportunity to specify or highlight the block this test controls (same for other things like "else:" and "try:") and make the proper indenting (and colorizing). now to find one written in Python that can do the editing in a text environment (not depend on XWindows) which i have, but is obscured from programs by unsetting DISPLAY.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.