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.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

hello guys i have never tryed programming anyhing. i was wondering inhow i can start learning python. i use archlinux with openbox. do i need any specific tools or jsut a text editor? sorry for the noob question . from the tutorials online i see many tools like pygtk glade and so on and i cant understand anything

Notice to you though: I have found these links via searching on google. Please be advised for future reference that you should search either online or within these forums before you go posting brand new threads. Thanks.

Learn programming design. Beginners often ignore this important part. To design a program, try to express what you have in mind and put it on paper first in a way that others can understand it and then use this as the basis for commenting. You may use conventions like flow charts or uml.

Learn how to comment for that language.

Read but also play.

Start small with a basic hello world.
Learn the input, the output, the operators, condition statements, loops, the syntax in general and learn how you can use it.

Make a habit of adding a statement, compiling and running and if and only if it works move on to the next.
Try to make errors.
Learn to program in expanded form before programming in compressed form. Generally speaking expanded form is preferred because it is clearer to read.

Compressed form is like: afunction{y=(dothis(dothat(....)));}
Expanded form is like:

afunction
{
x = dothat();
y = dothis(x);
}

Learn the language's library but before using the library itself try creating the parts yourself.

Here's a book you may find useful. It's available for free if you just Google it so I'm not violating anybody's copyright. Just read, write programs, experiment, and have fun. I use the default python IDE called IDLE, but it's very basic. It does syntax highlighting and highlights unclosed brackets, but that's about it. One thing it does allow you to do is to run a check on the whole file before you try running it to look for problems. You can find it in the python-tools package I believe.

Python is awesome, man. Eclipse is a great IDE for python, but you'll want PyDev which you can get from sourceforge. Installation is easy, just extract the plugins and features folders to the root directory of eclipse, and then find the eclipse properties, locate the pydev list in the tree, and point the interpreter to the python binary.

From there, create files, name them something.py, and run them as python applications or whatever.