Ask your own question, for FREE!
Computer Science 15 Online
OpenStudy (anonymous):

http://ideone.com/2VuiA how would I approach a task like that?

OpenStudy (anonymous):

http://ideone.com/umSNt

OpenStudy (anonymous):

I personally don't think that is beautiful at all. But if you want to do it, you're talking about adding indentations in a file once it is opened. You would need to edit the code of the program that opens the file or a separate script that can parse a text file and add the proper tabbed characters. Steps would be something like: 1. open file 2. parse text - look for punctuation to be tabbed -- if it exists --- count text already there --- add tabs to fill up to length of where the punctuation needs to be (Position - Txt already there) --- move to next line -- if it doesn't exist, move to next line 3. save or show final edited file I hope you're talking about using a viewer where each character has the same width, or else that would be ugly :)

OpenStudy (jagatuba):

Write an extension for Notepad++

OpenStudy (anonymous):

hehe, that's not python lol

OpenStudy (anonymous):

i wonder what markers would say if I would have done like that in my labs

OpenStudy (jagatuba):

I didn't see anywhere that he said it had to be in Python

OpenStudy (anonymous):

i didn't say that it has to be in python either

OpenStudy (jagatuba):

Sorry Tomas. I thought your comment, "hehe, that's not python lol" was in response to my suggestion. :)

OpenStudy (anonymous):

its ok :)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!