Depending on what it is you want to drive with this 5v there are other options besides a transistor.
You can use a 74HC125 or SN7407 to level shift the 3.3v of the gpio output to 5v you could also use an opto-isolator to switch the 5v.
It just depends what it is you are trying to drive with the 5v and how many outputs you need at 5v.
all the above can be driven from the GPIO using python and simple gpio output commands to give 5v or 0v.
Please only ask questions in the forum I will not answer questions sent to me directly via PM
Remember we want information.......................no information no help
The use of crystal balls & mind reading is not supported