ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am not a programmer but i find it interesting to automate simple things.
I use Ubuntu and have recently come across Gambas. I find it interesting and easy to use. But i have two doubts :
(1) Where do i get good tutorials for Gambas. Most of the ones available are too basic ones. I need ones with more description of codes. Are there good and 'active' forums for Gambas ?
(2) When I compile an executable in Gambas. it runs well in my system but when i try to run it inside a live cd on the same computer, it does not works. It either says no program is associated with that file type or gives some permission error. I removed the .gambas extension but it did not work. How can i make it universally executable on Linux, so that I could share it with my friends.
I just need a simple programing language that can make GUI executable for Linux and has lots of tutorials. Can any one suggest a good alternative to Gambas ! How is Mono ? Never tried it !
... How can i make it universally executable on Linux, so that I could share it with my friends.
...
You probably can't. Or, rather, you'll have to learn a lot more.
The point is that according the project site the interpreter uses dynamic libraries, and you can't ensure your friends' computers have all the needed libraries and their version are the needed ones as well.
So, if you want to distribute the executable, you'll need to learn how to distribute it with all the needed libraries.
Ok fine, I will think of the distribution at the second stage.
First i need to know about a simple programming language that can make executables in Linux and the programs developed should have GUI interface. Can you kindly tell me if Python can do that ? Can we make the GUI interface in the developed program as we can do with Gambas ? And with the same ease ?
Is Mono a suitable alternative ? Or can we get better support and tuts for Gambas ? I would certainly like to use Python or any other language, provided it fulfills my requirement. I am not a programmer nor do i wish to be one. I just need to make simple gui programs for my use and if possible learn to distribute it, in case if my friends need it.
Ok fine, I will think of the distribution at the second stage.
First i need to know about a simple programming language that can make executables in Linux and the programs developed should have GUI interface. Can you kindly tell me if Python can do that ? Can we make the GUI interface in the developed program as we can do with Gambas ? And with the same ease ?
Is Mono a suitable alternative ? Or can we get better support and tuts for Gambas ? I would certainly like to use Python or any other language, provided it fulfills my requirement. I am not a programmer nor do i wish to be one. I just need to make simple gui programs for my use and if possible learn to distribute it, in case if my friends need it.
I prefer Perl, but Python, Ruby, Mono can be used too. The problem I've described is not Gambas-specific, you'll have it with any other language.
First i need to know about a simple programming language that can make executables in Linux and the programs developed should have GUI interface. Can you kindly tell me if Python can do that ? Can we make the GUI interface in the developed program as we can do with Gambas ? And with the same ease ?
ghostdog74 : can you tell me, in brief, the packages needed to compile python program with a gui interface and some very small tutorial (hello world type) on the web, that shows how to make a gui program. I would like to have a feel of it b4 i move on to Python !
Sergei Steshenko : I mentioned above, that distribution is secondary. Primary need is to select a programing language that fulfills my need. Who knows in future i might get so much hang of it that i may totally shift to programing.
There are so many interfaces on this link http://wiki.python.org/moin/GuiProgramming but do not know which is the simplest and easiest. As i see in most of them the programing is to be done in CLI but the application developed is in GUI. But i need GUI for both - as in Gambas !
ghostdog74 : can you tell me, in brief, the packages needed to compile python program with a gui interface and some very small tutorial (hello world type) on the web, that shows how to make a gui program. I would like to have a feel of it b4 i move on to Python !
py2exe, pyinstaller.
As for GUI developlement, you can search here for recommendations.
Quote:
What is Visual Python and Tkinter ?
Tkinter is a GUI module (de facto) for Python. You won't get drag and drop. You create your GUI through commands. Other GUI packages/interfaces you can try is PyQt and PyGTK. If you have heard of Visual Python or what ever it is, just download and play with it, its that simple.
Spent half the day on it !
It gives strange problem !
Does not responds at times.
At times works if i do so as root.
at times says no such file . . . though the file is there.
the tut is for windows and so nothing in common with what i am using.
i still find Gambas much user friendly for a nub !
when there is not enough support available a nub is bound to lose interest.
installed boa constructor - it is even worse.
Spent half the day on it !
It gives strange problem !
Does not responds at times.
At times works if i do so as root.
at times says no such file . . . though the file is there.
the tut is for windows and so nothing in common with what i am using.
i still find Gambas much user friendly for a nub !
when there is not enough support available a nub is bound to lose interest.
installed boa constructor - it is even worse.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.