The present invention discloses a portable computer, comprising a main unit, a display unit, a connecting device that connects the display unit o the main unit mechanically, and a cable that connects the display unit to the main unit electrically; wherein, said connecting device is an extensible device, and at least a part of said cable is concealed in said extensible device. With said extensible device, the display. Unit can be controlled at different heights relative to the main unit as required, so as to facilitate: operation of the user. In addition, by concealing the cable in the extensible device partial y or entirely, the structure of the portable computer is simplified, and the portable computer is easier to be carried and operated; in addition, the safety is improved.