LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-01-2010, 07:07 PM   #1
3dmatrix
Member
 
Registered: Feb 2007
Posts: 61

Rep: Reputation: 15
Gambas Tutorial or Gambas alternative


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 !

Last edited by 3dmatrix; 09-01-2010 at 07:36 PM.
 
Old 09-01-2010, 08:06 PM   #2
ghostdog74
Senior Member
 
Registered: Aug 2006
Posts: 2,697
Blog Entries: 5

Rep: Reputation: 244Reputation: 244Reputation: 244
You can use Python on Ubuntu. See my sig for Python tutorial. Look at the Python documentation site as well.
 
Old 09-01-2010, 08:32 PM   #3
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by 3dmatrix View Post
... 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.
 
Old 09-01-2010, 11:15 PM   #4
3dmatrix
Member
 
Registered: Feb 2007
Posts: 61

Original Poster
Rep: Reputation: 15
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.
 
Old 09-01-2010, 11:30 PM   #5
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by 3dmatrix View Post
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.
 
Old 09-01-2010, 11:40 PM   #6
ghostdog74
Senior Member
 
Registered: Aug 2006
Posts: 2,697
Blog Entries: 5

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by 3dmatrix View Post
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 ?
yes, and yes and yes and yes.
 
Old 09-02-2010, 02:28 AM   #7
3dmatrix
Member
 
Registered: Feb 2007
Posts: 61

Original Poster
Rep: Reputation: 15
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 !

What is Visual Python and Tkinter ?

Last edited by 3dmatrix; 09-02-2010 at 02:39 AM.
 
Old 09-02-2010, 02:54 AM   #8
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by 3dmatrix View Post
...
What is Visual Python and Tkinter ?
I am not a Python guy - I actually quite dislike the language.
 
Old 09-02-2010, 03:54 AM   #9
ghostdog74
Senior Member
 
Registered: Aug 2006
Posts: 2,697
Blog Entries: 5

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by 3dmatrix View Post
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.
 
Old 09-02-2010, 09:44 AM   #10
3dmatrix
Member
 
Registered: Feb 2007
Posts: 61

Original Poster
Rep: Reputation: 15
http://visualpython.org/ - i found it on one of my searches !
So it seems there is no drag and drop type interface for Python.
 
Old 09-02-2010, 10:01 AM   #11
ghostdog74
Senior Member
 
Registered: Aug 2006
Posts: 2,697
Blog Entries: 5

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by 3dmatrix View Post
[url]
So it seems there is no drag and drop type interface for Python.
yes, there is. It was many yrs ago i tried. I forgot the name though. Do a search on Python GUI drag and drop and see...
 
Old 09-03-2010, 09:29 PM   #12
3dmatrix
Member
 
Registered: Feb 2007
Posts: 61

Original Poster
Rep: Reputation: 15
I tried installing Pythoncard on Ubuntu but it does not works.
Any suggestion !
 
Old 09-03-2010, 09:55 PM   #13
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by 3dmatrix View Post
... Any suggestion !
To formulate exactly what the problems were.
 
Old 09-03-2010, 10:59 PM   #14
3dmatrix
Member
 
Registered: Feb 2007
Posts: 61

Original Poster
Rep: Reputation: 15
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.
 
Old 09-03-2010, 11:04 PM   #15
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by 3dmatrix View Post
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.
So, continue with Gambas - what's the problem ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP-MySQL tutorial and Linux Networking tutorial needed Please dlux45 Linux - Software 6 04-19-2010 01:10 PM
LXer: Tutorial: An Easy Tutorial on IP Tables and Port Knocking LXer Syndicated Linux News 0 02-04-2008 04:20 PM
gambas bong.mau Programming 0 05-07-2006 10:03 AM
Gambas scsi_phreak Linux - Software 4 03-28-2005 06:45 AM
Gambas or Something Else? jrbush82 Programming 1 10-27-2004 07:57 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration