Die ersten Schritte

Das Standard–Minimal–Programm in Python

print ("Hello, world")

ist absolut minimalistisch ...

Zum Vergleich, dasselbe in JAVA



1: public class HelloWorld {
2:     // A program to display the message
3:     // "Hello World!" on standard output
4:     
5:     public static void main(String[] args) {
6:     System.out.println("Hello World!");
7:     }
8: }   // end of class HelloWorld
9: 


und C++



// Hello-world C++ Version  

#include <iostream> // pre-prozessor command 
using namespace std; // declare namespace

int main()  // function definition 
{  
  cout << "Hello world" << endl;  
  return(0);
}



Grundlegende Syntax ist Python spezifisch:

Ähnlichkeiten am ehesten mit anderen Skript-Sprachen (bash, perl), weniger mit C/C++/JAVA.