The Following 2 Users Say Thank You to ArchiMark For This Useful Post: | ||
|
2012-08-13
, 20:54
|
Posts: 112 |
Thanked: 30 times |
Joined on Jun 2012
@ Jeddah,Saudi Arabia
|
#12
|
Python is quite similar to Basic (and Pascal) in its syntax without any unnecessary brackets, semicolons, etc. Some people even call it "executable pseudocode".
See one of the posts above for nice Python programming examples.
The Following User Says Thank You to unexpected For This Useful Post: | ||
|
2012-08-13
, 22:14
|
|
Posts: 381 |
Thanked: 336 times |
Joined on Jan 2011
@ Stockholm, Sweden
|
#13
|
anyone else's suggestions...
http://talk.maemo.org/showpost.php?p...42&postcount=9
The Following User Says Thank You to electroaudio For This Useful Post: | ||
|
2012-08-13
, 23:05
|
Posts: 1,269 |
Thanked: 3,961 times |
Joined on May 2011
@ Brazil
|
#14
|
The Following 2 Users Say Thank You to rcolistete For This Useful Post: | ||
|
2012-08-14
, 01:58
|
|
Posts: 132 |
Thanked: 34 times |
Joined on May 2011
@ sudan
|
#15
|
My suggestions for programming on :
- Nokia N900 : nano, KhtEditor and IPython to code in Python & PyQt. "Derivative 0.1" was coded on device in 1h when I was in a bus station 8-)
- Nokia N9 : nano, KhtSimpleText and IPython to code in Python & QML.
|
2012-08-14
, 02:19
|
|
Posts: 1,359 |
Thanked: 1,292 times |
Joined on Oct 2011
@ Tartus.Syria
|
#16
|
in programming application the application's theme what do use for making it
The Following User Says Thank You to sifo For This Useful Post: | ||
|
2012-08-14
, 03:24
|
|
Posts: 132 |
Thanked: 34 times |
Joined on May 2011
@ sudan
|
#17
|
|
2012-08-14
, 10:16
|
|
Posts: 381 |
Thanked: 336 times |
Joined on Jan 2011
@ Stockholm, Sweden
|
#18
|
i think these GUI called on some how themes !
i was thinking that it made by QT/QML ,,
can any one gimme a simple definition for QT/QML
i kinda confused right now , is these QT/QML are self independent programming language , or it count on other languages ?
#! /usr/bin/env python # -*- coding: utf-8 -*- # # Here we provide the necessary imports. # The basic GUI widgets are located in QtGui module. import sys from PyQt4.QtGui import * # Every PyQt4 application must create an application object. # The application object is located in the QtGui module. a = QApplication(sys.argv) # The QWidget widget is the base class of all user interface objects in PyQt4. # We provide the default constructor for QWidget. The default constructor has no parent. # A widget with no parent is called a window. w = QWidget() w.resize(320, 240) # The resize() method resizes the widget. w.setWindowTitle("Hello, World!") # Here we set the title for our window. w.show() # The show() method displays the widget on the screen. sys.exit(a.exec_()) # Finally, we enter the mainloop of the application.
import gtk def create_window(): window = gtk.Window() window.set_default_size(200, 200) window.connect('destroy', gtk.main_quit) label = gtk.Label('Hello World') window.add(label) label.show() window.show() create_window() gtk.main()
The Following 2 Users Say Thank You to electroaudio For This Useful Post: | ||
If you are happy with performance of your programs, then you can keep using python.
However, if you think your programs are running too slow, then consider learning C.....
Overall, I think python is easier language to learn, especially if you are teaching yourself and not taking classes..
Mark
Silicon Valley Digerati
Nokia N900
Previous: Nokia N810 & N800