Vertical text in Tkinter Canvas
Question: Is there a way to draw vertical text in Tkinter library? (Python recommended)

    
    
    textID = w1.create_text(5, 5, anchor="nw")
    w1.itemconfig(textID, text = "This is some text")
    


Answer: If you are asking whether
[`tkinter.Canvas.create_text`](http://effbot.org/tkinterbook/canvas.htm#Tkinter.Canvas.create_text-
method) has something like this:

    
    
    textID = w1.create_text(5, 5, anchor="nw", orient=tkinter.VERTICAL)
    

then the answer is no. The `create_text` method can only create horizontal
text.

* * *

However, you _can_ use
[`str.join`](http://docs.python.org/3/library/stdtypes.html#str.join) to
create vertical text:

    
    
    from tkinter import Tk, Canvas
    root = Tk()
    canvas = Canvas()
    canvas.grid()
    canvas.create_text((10, 5), text="\n".join("This is some text"), anchor="nw")
    root.mainloop()
    

Example:

![enter image description here](http://i.stack.imgur.com/Cmd87.png)

While this may not be as elegant as simply setting an option on the
`create_text` method, it does work.

