Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
switching to python3
#8
(Feb-23-2018, 06:11 AM)Skaperen Wrote: but shutil.which() is not in python2. the whole point is to switch from python2.
You can copy and paste the code of shutil.which() from the python 3 source tree to your python 2 program. Most of it should work !
Reply


Messages In This Thread
switching to python3 - by Skaperen - Feb-20-2018, 02:40 AM
RE: switching to python3 - by Larz60+ - Feb-20-2018, 03:40 AM
RE: switching to python3 - by Skaperen - Feb-20-2018, 03:47 AM
RE: switching to python3 - by Larz60+ - Feb-20-2018, 05:54 AM
RE: switching to python3 - by Skaperen - Feb-22-2018, 06:20 AM
RE: switching to python3 - by Gribouillis - Feb-22-2018, 01:22 PM
RE: switching to python3 - by Skaperen - Feb-23-2018, 06:11 AM
RE: switching to python3 - by Gribouillis - Feb-23-2018, 10:28 AM
RE: switching to python3 - by Skaperen - Feb-24-2018, 03:31 AM
RE: switching to python3 - by Gribouillis - Feb-24-2018, 03:44 AM
RE: switching to python3 - by Skaperen - Feb-25-2018, 02:09 AM
RE: switching to python3 - by Gribouillis - Feb-25-2018, 06:34 AM
RE: switching to python3 - by Skaperen - Feb-25-2018, 07:39 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  switching from notebook to pycharm enterthevoid22 1 1,767 Oct-10-2020, 05:20 PM
Last Post: perfringo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020