To cover your lamp cord with fabric, cut a 4-inch-wide strip of fabric that's approximately three times the length of the cord. Fold the strip in half lengthwise, right sides together, and machine stitch 1/2 inch from edges. Turn strip right side out. At each end, turn 1/2 inch of fabric to the inside, and stitch by hand. Slip tube onto cord, and gather fabric evenly.