Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: [SOLVED] Requiring help running an old Python script (non Python savvy user)
Post: RE: Requiring help running an old Python script (n...

Yep, you did it! Fantastic - working like a charm now. Thank you.
Miletkir General Coding Help 13 5,456 Jan-16-2021, 10:20 PM
    Thread: [SOLVED] Requiring help running an old Python script (non Python savvy user)
Post: RE: Requiring help running an old Python script (n...

Yeah, I fixed that. The problem seems to be coming from the conversion. When I use jef's code, the error, as we've seen, is: Error:D:\Milky>python GMLMakerJ.py ** Loading Stars Traceback (most rec...
Miletkir General Coding Help 13 5,456 Jan-16-2021, 07:18 PM
    Thread: [SOLVED] Requiring help running an old Python script (non Python savvy user)
Post: RE: Requiring help running an old Python script (n...

Yes, I can't use python or py in the command prompt, because it says Python cannot be found, even though it's installed. I have to type py and work within the shell in the prompt or use IDLE. Solved b...
Miletkir General Coding Help 13 5,456 Jan-16-2021, 06:24 PM
    Thread: [SOLVED] Requiring help running an old Python script (non Python savvy user)
Post: RE: Requiring help running an old Python script (n...

(Jan-16-2021, 03:47 PM)buran Wrote: there is 2to3 tool that makes automatic conversion. I verified and I indeed have 2to3.py in my Python scripts. I gave it a try following the documentation and got...
Miletkir General Coding Help 13 5,456 Jan-16-2021, 05:40 PM
    Thread: [SOLVED] Requiring help running an old Python script (non Python savvy user)
Post: RE: Requiring help running an old Python script (n...

Thanks mate, appreciated. Checking the module with IDLE, it doesn't stop at invalid syntax and opens the Python shell, which I suppose is a good sign. However, I'm still stuck at launching the script...
Miletkir General Coding Help 13 5,456 Jan-16-2021, 04:29 PM
    Thread: [SOLVED] Requiring help running an old Python script (non Python savvy user)
Post: RE: Requiring help running an old Python script (n...

It's not excessively long, so here's the full code: #!/usr/bin/env python """ GMLMaker converts star data to yEd GML format. Input is a *.csv file with the following fields: HABHYG: HabHYG catalog n...
Miletkir General Coding Help 13 5,456 Jan-16-2021, 03:08 PM
    Thread: [SOLVED] Requiring help running an old Python script (non Python savvy user)
Post: [SOLVED] Requiring help running an old Python scri...

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 organigra...
Miletkir General Coding Help 13 5,456 Jan-16-2021, 12:43 PM

User Panel Messages

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