How can you connect a light, 2 switches and still have power without turning off all the elec?
Answers:
Assuming you do not want to turn off your whole house and if you have circuit breakers just find the circuit breaker that connects these wires and turn that breaker off.
Hope that answers the question, as it can be taken 2 ways sort of.
Other answers:
turn off breaker to that circuit
turn off breaker to that circuit