Probably borrowed from German Pistole, from Middle French pistole, from Middle High German pitschal, pischulle, from Czech píšťala (“whistle”), from Proto-Slavic *piščalь, from *piskati, *piščati (“to squeak, whistle”), from Proto-Balto-Slavic *pīṣk-.