Python Forum
[SOLVED] Requiring help running an old Python script (non Python savvy user)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Requiring help running an old Python script (non Python savvy user)
#1
Hey there,

I came across a rather old Python script that lets you convert *.csv files into a *.gml format, which can then be read by a program called yED, allowing you to make user-friendly organigrams (more info here).

The included guide says to run the following command:
GMLMaker.py -L 10 filename.csv

But this gives:
Output:
SyntaxError: invalid syntax
with Python 3.9.1 (tags/v3.9.1:1e5d33e, Dec 7 2020, 17:08:21) [MSC v.1927 64 bit (AMD64)] on win32

Checking the module with IDLE, it finds invalid syntax here:
print "Loading #%d: %s" % (index, starNode[1])

I know nothing about Python, but I'd really like to run this script. I was wondering if someone here could identify the issue.

Cheers,

Mil
Reply


Messages In This Thread
[SOLVED] Requiring help running an old Python script (non Python savvy user) - by Miletkir - Jan-16-2021, 12:43 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Music Python Script Repeating Number When Saving Facebook Photos ThuanyPK 2 180 May-13-2024, 10:59 PM
Last Post: ebn852_pan
  Trying to generating multiple json files using python script dzgn989 4 277 May-10-2024, 03:09 PM
Last Post: deanhystad
  Problems passing arguments containing spaces to bash script and then on to python kaustin 6 546 Apr-03-2024, 08:26 PM
Last Post: deanhystad
  ChromeDriver breaking Python script genericusername12414 1 390 Mar-14-2024, 09:39 AM
Last Post: snippsat
  using PowerShell from Python script for mounting shares tester_V 8 665 Mar-12-2024, 06:26 PM
Last Post: tester_V
  No Internet connection when running a Python script basil_555 8 819 Mar-11-2024, 11:02 AM
Last Post: snippsat
Question Running Python script through Task Scheduler? Winfried 8 753 Mar-10-2024, 07:24 PM
Last Post: Winfried
  Is possible to run the python command to call python script on linux? cuten222 6 865 Jan-30-2024, 09:05 PM
Last Post: DeaD_EyE
  run SQL without user intervention python dawid294 0 269 Jan-19-2024, 01:11 PM
Last Post: dawid294
  python script is hanging while calling a procedure in database prasanthi417 4 628 Jan-17-2024, 02:33 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

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