1

(35 replies, posted in Tanya Jawab Speedy)

Saya juga pakai OpenDNS juga, namun kayaknya masalah kami adalah koneksi internet sering putus. Oh ya, bagaimana ya mengaktifkan log dari modem ADSL Star-net?

2

(3 replies, posted in Python)

Info bagi teman-teman menganao PyCon APAC Juni 2010:

Final call for papers. We are looking for 10 to 15 more papers!



Announcement – Call for Papers

=======================================================

PyCon Asia Pacific (http://apac.pycon.org

=======================================================



The conference will be held from June 9 - 11, 2010 in Singapore.



The deadlines are the following:

·         Papers/Extended Abstracts Submissions (3 page or more): February 20th, 2010 (Extended deadline)

·         Authors Notifications: March 15th, 2010



PyCon conferences worldwide have had a broad range of presentations, ranging from reports on academic and commercial projects to tutorials and case studies. As long as the presentation is interesting and potentially useful to the Python community, it will be considered for inclusion in the program. Suitable topics for PyCon Asia Pacific 2010 include, but are not limited to:



•    Core Python and other implementations: IronPython, Jython, PyPy and Stackless.

•    Python libraries and extensions

•    Python in Education, Science and Math (Special Track)

•    Business and Scientific Applications

•    Databases

•    Embedding and Extending Python

•    Game Programming

•    GUI Programming

•    Network Programming

•    Python in IT Security

•    Open Source Python projects

•    Packaging Issues

•    Programming Tools

•    Project Best Practices

•    System Administration

•    Web Programming (Django, Zope, Web2Py, TurboGears, WSGI)



All papers will be published in The Python Papers Monograph series (www.pythonpapers.org). We suggest, but do not require, all authors to place their papers under the Creative Commons license.



• Please see http://www.pythonpapers.org/instAuthor.html for the preferred formats of submission.

• Please submit your papers at http://ojs.pythonpapers.org/index.php/tppm/author



For more details, see http://apac.pycon.org/conference



For assistance, pls contact Maurice Ling (mauriceling@acm.org) or Liew Beng Keat (liew_beng_keat@rp.sg)



Best regards,

PyCon APAC 2010 Organizing Committee

3

(6 replies, posted in Python)

demonic wrote:

OpenERP dari python kan yah?? mudah2an ga salah thread..
mau tanya dong cara instal OpenERP mulai dari instalasi (Windows), pembuatan database, dan pembuatan modul nya...
saya liat di web resmi nya pake bahasa sebrang jadi ga mudeng big_smile

trus jga gmna yah buka WebServer nya??

mohon para master bantu saya yg masih bego ini sad

iya saya juga tertarik untuk mencoba OpenERP ini. Tapi sayangnya belum ada waktu nih. Kalau ada yang pernah coba, bagi-bagi dong ilmunya...hehehe

4

(9 replies, posted in Python)

h3ngun wrote:

Buku yang bagus om...
Meskipun B. Inggris, tapi lumayan ngerti lah...

Memang Python bahasa yang powerfull!!!

Mungkin lebih tepat dikatakan multifungsi. Btw, forum ini  kurang rame ya. Hehehe

5

(0 replies, posted in Python)

Rekan-rekan,
saya meletakkan copy lokal untuk Jython Book - The Definitive Guide to Jython (buku Jython yang sedang ditulis oleh Josh Juneau, dkk) di: http://www.tentangmico.info/jythonbook/index.html

6

(1 replies, posted in Python)

Rekan-rekan, mau share script sederhana dengan Jython (unjuk kemudahan Python/Jython) hehehe:

"""
Kamus Toba Indonesia Jython Version
"""

from javax.swing import JFrame, JMenuBar, JMenu, JMenuItem, JScrollPane
from javax.swing import JPanel, JOptionPane, JTextField, JButton, JTextArea
from java.lang import *
from java.awt import BorderLayout
import pickle

fileinput=open('entry.pickle', 'rb') #fileinput

class Kamus:
  
  def __init__(self):

    self.data = pickle.load(fileinput) #load data
    self.data_len = len(self.data)
    
    # Create frame
    self.frame = JFrame("kamus Toba-Indonesia")
    self.frame.setSize(200, 150)
    self.frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE)
    self.frame.setLayout(BorderLayout())

    # Create menu
    menubar = JMenuBar()
    help_menu = JMenu("Bantuan")
    about_menuitem = JMenuItem('Tentang Program', actionPerformed=self.display_about)
    help_menu.add(about_menuitem)
    menubar.add(help_menu)

    # Set menubar
    self.frame.setJMenuBar(menubar)

    # Create Panel and add swing components and show it.
    pn1 = JPanel()
    pn1.setLayout(BorderLayout())
    self.textfield1 = JTextField('ketik kata bahasa toba', 15)
    pn1.add(self.textfield1, BorderLayout.NORTH)
    self.transButton = JButton('Terjemahkan',actionPerformed=self.trans_text)
    pn1.add(self.transButton, BorderLayout.CENTER)
    pn2 = JPanel()
    self.textfield2 = JTextArea('lalu klik terjemahkan', 6, 15, lineWrap=True, wrapStyleWord=True)
    self.scrollpane = JScrollPane(self.textfield2)
    pn2.add(self.scrollpane)

    # Add panels to frame
    self.frame.add(pn1, BorderLayout.WEST)
    self.frame.add(pn2, BorderLayout.EAST)
    self.frame.pack()
    self.frame.setVisible(True)

  def trans_text(self,event):
    try:
        self.textfield2.text = self.data[self.textfield1.text.capitalize()]
    except KeyError:
        self.textfield2.text = 'Kata tidak ditemukan!'

  def display_about(self, event): 
    about_pane = JOptionPane("Kamus Toba-Indonesia ver.%s\noleh: Mico Siahaan\nEntries: %s" % (__version__, self.data_len), JOptionPane.INFORMATION_MESSAGE)
    about_dialog = about_pane.createDialog(self.frame, "Tentang Program")
    about_dialog.setVisible(True)

# Start off
Kamus()

Simpel 'kan?

hasilnya:
http://lh6.ggpht.com/__JFl2idarik/Sm3ZSf8HcVI/AAAAAAAAAE8/bADS8Ci8z7k/s400/kamus.jpg

7

(1 replies, posted in Python)

Sekedar info bahwa ada juga implementasi bahasa Python dalam bahasa pemrograman lain:
1. Jython: implementasi Python dalam bahasa pemrograman Java. Sehingga dapat 'run' di java Virtual Machine.  Keuntungan: dapat menggunakan kepustakaan Java. Website: http://www.jython.org
2. IronPython: implementasi Python dalam .NET. Keuntungan: dapat menggunakan kepustakaan .NET. Website: http://www.codeplex.com/IronPython

salam,

Mico

8

(7 replies, posted in Python)

Saya pikir kelebihan python: lebih mudah dipelajari dan dimengerti code sumbernya. Kalau mengenai kelengkapan modul dan kehandalan, saya pikir sama.

9

(9 replies, posted in Python)

boobm wrote:

saya baru mau belajar pyhton , mudah-mudah dengan website yang diberi dapat mebuat saya mengerti

Selamat mengenal Python! Sekali suka akan sulit berpaling hehehe

Atau yang mapan juga menggunakan PyQt. Sayangnya PyQt dan Qt menysyaratkan bahwa aplikasi komersial perlu membayar lisensi Qt. Untuk IDEnya gunakan Eric IDE (ini free dan open source).