#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2013
    Posts
    2
    Rep Power
    0

    Using fable Fortran to C++ translator in Python 3.3


    Greetings! I am new to programming and am attempting to translate an ancient Fortran code to C++ using fable for Python. Has anyone had previous experience with this bundle or know in which folder to run its executable? I run it in the Python33 folder however it's returning me the invalid syntax error on the asterisk outside of the quotations, print "*" * 78 , which in turn disallows the installation continue and install the script. Maybe I can correct it myself?
  2. #2
  3. Contributing User
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2011
    Posts
    4,841
    Rep Power
    480
    Change the double quotes to single quotes.
    Otherwise just delete the line. It looks unimportant.
    [code]Code tags[/code] are essential for python code and Makefiles!
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2013
    Posts
    2
    Rep Power
    0
    Okay I will give that a try, thank you!
  6. #4
  7. Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2005
    Posts
    610
    Rep Power
    65
    In Python3
    print "*" * 78
    would be
    print("*" * 78)
    Real Programmers always confuse Christmas and Halloween because Oct31 == Dec25

IMN logo majestic logo threadwatch logo seochat tools logo