Re: This Python script cannot open by a editor?

2014-07-04 Thread Steven D'Aprano
On Fri, 04 Jul 2014 14:50:02 -0700, rxjwg98 wrote: > Hi, > > I am learning a Python Tool from web: > http://www.ohwr.org/projects/hdl-make/wiki/Quick-start-new Did you read that web page? It says: To get the code you have two choices: you might clone the repository, which contains the

Re: This Python script cannot open by a editor?

2014-07-04 Thread jkn
Hi there the script is 'actually' a python script compressed, with a short header (see the '#!/usr/bin/python' right at the front? I'm guessing that if you make it executable, and run it, then it will either create a .py file that you can edit, or just run the hdlmake function that you want.

This Python script cannot open by a editor?

2014-07-04 Thread rxjwg98
Hi, I am learning a Python Tool from web: http://www.ohwr.org/projects/hdl-make/wiki/Quick-start-new I download the program to Ubuntu 12.04. I find that in the folder it is shown as hdlmake-v1.0, 37.8 KB Python Script. I remember that script file can be loaded to an editor to read its content. B