Python Forum
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
code to run in python3
#11
but i also want a way to go beyond the default, if it is there.  if python2.7 is the default but python3.5 is there then run it on python3.5 but if python2.7 is the default and nothing else is available, go ahead and run it on python2.7.

how do i get that to happen?

which is better between these: python2.7 and python3.1 ?

i could make a C program (usable on the #!/usr/bin/env line) to pick the "best" Python interpreter but i need the ranking info of major.minor versions.  is date of release good enough?
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
code to run in python3 - by Skaperen - Nov-05-2017, 01:30 AM
RE: code to run in python3 - by heiner55 - Nov-11-2017, 06:12 PM
RE: code to run in python3 - by Larz60+ - Nov-11-2017, 07:45 PM
RE: code to run in python3 - by Skaperen - Nov-12-2017, 04:23 AM
RE: code to run in python3 - by heiner55 - Nov-12-2017, 01:44 PM
RE: code to run in python3 - by Skaperen - Nov-13-2017, 02:44 AM
RE: code to run in python3 - by snippsat - Nov-12-2017, 06:55 PM
RE: code to run in python3 - by heiner55 - Nov-13-2017, 03:16 AM
RE: code to run in python3 - by Skaperen - Nov-13-2017, 04:03 AM
RE: code to run in python3 - by wavic - Nov-13-2017, 08:47 AM
RE: code to run in python3 - by Skaperen - Nov-13-2017, 09:44 AM
RE: code to run in python3 - by wavic - Nov-13-2017, 10:15 AM
RE: code to run in python3 - by Skaperen - Nov-14-2017, 01:02 AM
RE: code to run in python3 - by metulburr - Nov-14-2017, 02:19 AM
RE: code to run in python3 - by Skaperen - Nov-14-2017, 07:07 AM
RE: code to run in python3 - by metulburr - Nov-14-2017, 06:48 PM
RE: code to run in python3 - by Skaperen - Nov-15-2017, 01:15 AM
RE: code to run in python3 - by metulburr - Nov-15-2017, 01:41 AM
RE: code to run in python3 - by Skaperen - Nov-15-2017, 02:47 AM
RE: code to run in python3 - by metulburr - Nov-15-2017, 04:41 AM
RE: code to run in python3 - by Skaperen - Nov-16-2017, 03:31 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  What the difference between python2 and python3 when they running my code. lpangfeic 1 1,867 Nov-19-2019, 04:44 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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