Python Forum
converting python script to another version
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
converting python script to another version
#1
Hi everyone,

I saw a project using raspberry pi using python ver 3.4 and the flask framework. My raspberry pi has the Python 2.7, 3.5 and 3.6 Python versions. I have tried running the script but I always getting a bunch of errors. I have tried so many solutions that I have seen in the web and have ask for help in several forums but no luck Wall . I have given up on addressing the error but if you want to know what I am facing, here is the link

https://raspberrypi.stackexchange.com/qu...6909_80181

What I am thinking is maybe I can convert the scripts (just two files) to the latest version of Python? rather than fixing my Python environment which I have been doing for the last 24 hours. Think. I am new to Python and I want to learn the language plus the flask framework. May I know some tips before I try converting these files to the latest version and is this possible? Thanks in advance!
Reply


Messages In This Thread
converting python script to another version - by gptura - Mar-11-2018, 08:58 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  run part of a script with a different version of Python jdog 2 489 Jan-09-2024, 08:49 PM
Last Post: jdog
  How to find out from outside Python (in Windows) the current version of Python? pstein 4 781 Oct-04-2023, 10:01 AM
Last Post: snippsat
  Is there a *.bat DOS batch script to *.py Python Script converter? pstein 3 3,404 Jun-29-2023, 11:57 AM
Last Post: gologica
  How to resolve version conflicts in Python? taeefnajib 0 951 Apr-27-2023, 08:37 PM
Last Post: taeefnajib
  Python venv and PIP version issue JanOlvegg 2 1,317 Feb-22-2023, 02:22 AM
Last Post: JanOlvegg
  Python Version upgrade nitinkukreja 1 934 Feb-04-2023, 10:27 PM
Last Post: Larz60+
  Converting python to FileMaker DWolf 6 1,769 Sep-22-2022, 03:40 AM
Last Post: DWolf
  Can't update new python version on Pycharm GOKUUUU 6 3,935 Jul-23-2022, 09:24 PM
Last Post: GOKUUUU
  Building python (3.9.5) with different libexpat version (2.4.6) raghupcr 0 1,339 Feb-25-2022, 11:29 AM
Last Post: raghupcr
  Python keeps running the old version of the code quest 2 3,836 Jan-20-2022, 07:34 AM
Last Post: ThiefOfTime

Forum Jump:

User Panel Messages

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