A fantastic series of events that cover everything from dance, theatre, and comedy to folk, jazz, and classical music. There are websites where you can buy tickets at:
here,
here, or
here.
It is a great time to visit Edinburgh, too, as there is a definite buzz, loads of street entertainment, and the weather is usually not too bad!