Get a/c power from computer
Hooded or shrouded power cables are usually used on a monitor. One end pugs into the monitor, the other end gets power from the computer. Usable on any computer with power in and power out ports. Available with a straight plug or with an elbow or angled end. Color and length will vary.
Free if you need one for your computer, monitor, printer or external hard drive purchase.