It depends on the public library. Some locations consider physical library cards and e-cards as two separate things, while others combine programs, so one card is good for both.