Apparatus for assisting with walking comprising at least one motor, at least one electronic handle, the at least one electronic handle being arranged so as to permit the measurement of at least two components of a force being applied thereto, said electronic handle being characterised in that it comprises: - a first photoelectric cell, said first photoelectric cell comprising a first diode able to transmit a light beam and a first receiver arranged to receive said light beam, said first photoelectric cell being configured to generate a current proportional to a quantity of photons received by the first receiver, and - a first closing element able, in dependence upon its position with respect to the first photoelectric cell, to modify the quantity of photons received by the first receiver, - the first photoelectric cell and the first closing element being arranged such that the force applied to the electronic handle is able to cause a modification in the quantity of photons received by the first receiver, said modification being proportional to a first component of the force having been applied to the electronic handle, - a second photoelectric cell comprising a second diode able to transmit a light beam and a second receiver arranged to receive said light beam, said second photoelectric cell being configured to generate a current proportional to a quantity of photons received by the second receiver, - a second closing element able, in dependence upon its position with respect to the second photoelectric cell, to modify the quantity of photons received by the second receiver, - the second photoelectric cell and the second closing element being arranged such that the force applied to the electronic handle is able to cause a modification in the quantity of photons received by the second receiver, said modification being proportional to a second component of the force having been applied to the electronic handle, - a central piece on which the first photoelectric cell, the first closing element, the second photoelectric cell and the second closing element are fixed, said electronic handle being configured to control said motor in dependence upon the values of the two calculated force components, and arranged such that a force, adapted to the control of the apparatus for assisting with walking, applied to the electronic handle is able to deform, at least in part, the central piece. - a first photoelectric cell, said first photoelectric cell comprising a first diode able to transmit a light beam and a first receiver arranged to receive said light beam, said first photoelectric cell being configured to generate a current proportional to a quantity of photons received by the first receiver, and - a first closing element able, in dependence upon its position with respect to the first photoelectric cell, to modify the quantity of photons received by the first receiver, - the first photoelectric cell and the first closing element being arranged such that the force applied to the electronic handle is able to cause a modification in the quantity of photons received by the first receiver, said modification being proportional to a first component of the force having been applied to the electronic handle, - a second photoelectric cell comprising a second diode able to transmit a light beam and a second receiver arranged to receive said light beam, said second photoelectric cell being configured to generate a current proportional to a quantity of photons received by the second receiver, - a second closing element able, in dependence upon its position with respect to the second photoelectric cell, to modify the quantity of photons received by the second receiver, - the second photoelectric cell and the second closing element being arranged such that the force applied to the electronic handle is able to cause a modification in the quantity of photons received by the second receiver, said modification being proportional to a second component of the force having been applied to the electronic handle, - a central piece on which the first photoelectric cell, the first closing element, the second photoelectric cell and the second closing element are fixed, said electronic handle being configured to control said motor in dependence upon the values of the two calculated force components, and