A community for students.

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

anonymous

  • 5 years ago

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

  • This Question is Closed
  1. anonymous
    • 5 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    http://ideone.com/umSNt

  2. anonymous
    • 5 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    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 :)

  3. jagatuba
    • 5 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Write an extension for Notepad++

  4. anonymous
    • 5 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    hehe, that's not python lol

  5. anonymous
    • 5 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

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

  6. jagatuba
    • 5 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

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

  7. anonymous
    • 5 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

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

  8. jagatuba
    • 5 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

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

  9. anonymous
    • 5 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    its ok :)

  10. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.