Filter by products, topics, and types of content

(0 Products)

(121 Topics)

(9 Industries)

(6 Types)

1 - 55 of 55 results
Show Summaries | Hide Summaries
View Results
Title none Type none Date up
Charming Python: Parsing with the SimpleParse module
Many parsing tools have been written for Python. This column discusses a high-level parsing language built on top of Python.
Also available in: Japanese  
Articles 01 Jan 2002
Guide to Python introspection
Introspection reveals useful information about your program's objects. Python, a dynamic, object-oriented programming language, provides tremendous introspection support. This article showcases many of its capabilities, from the most basic forms of help to the more advanced forms of inquisition.
Also available in: Russian   Japanese  
Articles 01 Dec 2002
Network programming with the Twisted framework, Part 4
In this final installment of his series on Twisted, David looks at specialized protocols and servers contained in the Twisted package, with a focus on secure connections.
Articles 11 Sep 2003
Connect to Apache Derby databases using Jython
Using Jython to manipulate Derby databases allows us to quickly and easily explore, learn, and proptotype relational database applications.
Articles 17 Feb 2005
Welcome to the Open source zone
IBM is launching a revamped developerWorks Open source zone, which will deliver more articles, resources, tools, and tutorials that support major industry open source initiatives, including Linux, Apache, Derby, Globus, and Eclipse. Learn how you can benefit.
Articles 25 Feb 2005
MySQL for Linux on POWER, Part 1: Introduction to creating a database
Learn about the availability of MySQL Database Server for Linux(R) running on IBM(R) POWER(TM) and PowerPC(R) processor-based servers (collectively referred to as Linux on POWER). As a brief guide for application developers using MySQL on Linux on POWER, this paper is intended for MySQL developers and database administrators who are familiar with their system environment, networks, media devices, and disk resources. In Part 2 of this article, read about developing applications for MySQL using PHP, C/C++, Java, Perl, and Python.
Articles 05 Apr 2005
MySQL for Linux on POWER, Part 2: Developing applications
In this second, and final, part of this series, learn more about the availability of MySQL Database Server for Linux(TM) running on IBM(R) POWER(TM) and PowerPC(R) processor-based servers (collectively referred to as Linux on POWER). Part 2 focuses on developing applications for MySQL in some of the major programming languages, such as PHP, Java(TM), C/C++, Python, and Perl. As a brief guide for application developers using MySQL on Linux on POWER, this paper is intended for MySQL developers and database administrators who are familiar with their system environment, networks, media devices, and disk resources.
Articles 07 Apr 2005
Discover Python, Part 1: Python's built-in numerical types
The flexible nature of the Python programming language supports multiple programming philosophies, including procedural, object-oriented, and functional. But most importantly, programming in Python is fun. The language supports rather than hinders the development process. This article, the first in a series on Python programming, introduces Python and its built-in numerical types.
Articles 03 May 2005
Connect to Apache Derby databases using Python
Using Python to manipulate Derby databases allows us to quickly and easily explore, learn, and prototype relational database applications.
Articles 19 May 2005
Discover Python, Part 2: Explore the Python type hierarchy
The Python programming language is a simple yet powerful language. This article explores the object nature of the language, initially for the built-in simple types. The Python tuple class is also introduced and used to demonstrate the concept of a container type.
Articles 31 May 2005
Discover Python, Part 3: Explore the Python type hierarchy
Unlike many other programming languages, the Python language does not include a special data type to handle a single character, such as "a" or "z." In contrast, Python takes a different approach: It uses a class designed especially for holding sequences of characters. This article introduces the string class and demonstrates different ways in which you can use a string within Python.
Articles 02 Aug 2005
Discover Python, Part 4: Explore the Python type hierarchy
Python provides a number of useful features, of which the list class is one of the most important. This article introduces the list class and demonstrates some of the many ways in which you can use it to simplify difficult programming tasks.
Articles 30 Aug 2005
Discover Python, Part 5: Programming in Python
This article begins to demonstrate how to do things in Python by focusing on flow control, which is one of the simplest methods for writing programs. In this programming model, data is manipulated -- perhaps from a user interface, sensors, or a file; depending on the value of the data or resulting expressions, different actions are taken. Python provides several flow control mechanisms. This article discusses the if statement, and the while and for loops.
Articles 20 Sep 2005
Discover Python, Part 6: Programming in Python
This article explores the Python for loop. The for loop is used to iterate through the items in a Python collection, including the Python tuple, string, and list container types discussed in previous "Discover Python" articles. The for loop can also be used to access elements from a container type by using the range (or xrange) method. In addition, you can use the range method to execute a group of statements a specific number of times within a for loop.
Articles 25 Oct 2005
Discover Python, Part 7: Explore the Python type hierarchy
This article returns to the exploration of the Python type hierarchy and introduces the Python dictionary container type. Unlike the Python tuple, string, and list container types discussed in previous articles, the dictionary type is an unordered container that relies on a key-to-value mapping. As a result, items in a dictionary are accessed by a key value and not by their location within a sequence. The unique features of the dictionary type may seem unusual, but they provide a great deal of power when used properly.
Articles 06 Dec 2005
Develop applications using Python and DB2 Express-C
Python is an incredibly powerful, general purpose, high-level, object-oriented, dynamically-typed programming language that is easy to read and understand, and fun to write. To make it really exciting, all we need do is to be able to connect it to an equally powerful, and attractively priced version of the IBM DB2 core engine. DB2 Express-C is a no-charge data server for use in development and deployment, that allows us to do this. This article provides step-by-step instructions for obtaining, installing, and configuring all that you need in order to use Python to connect to, and start using a DB2 Express-C instance.
Also available in: Japanese  
Articles 22 Jun 2006
Metaclass programming in Python, Part 3
Too much cleverness in programming makes designs more complicated, code more fragile, learning curves steeper, and worst of all, it makes debugging harder. Michele and David feel, in part, responsible for some excesses of cleverness in Python metaclasses. In this article, they attempt to make amends, by helping programmers eschew cleverness.
Also available in: Japanese  
Articles 25 Sep 2007
Application development for the OLPC laptop
The XO laptop (of the One-Laptop-Per-Child initiative) is an inexpensive laptop project intended to help educate children around the world. The XO laptop includes many innovations, such as a novel, inexpensive, and durable hardware design and the use of GNU/Linux as the underlying operating system. The XO also includes an application environment written in Python with a human interface called Sugar, accessible to everyone (including kids). Explore the Sugar APIs and learn how to develop and debug a graphical activity in Sugar using Python.
Tutorial 18 Dec 2007
Creating mashups on the Google App Engine using Eclipse, Part 3: Using RESTful Web services
Social networks are making it easier to take data and mash it up to create innovative Web applications. You still, however, must deal with all the usual issues with creating a scalable Web application. Now the Google App Engine (GAE) makes that easier for you. With it, you can forget all about managing pools of application servers, and, instead, you can concentrate on creating a great mashup. In this article, the last of a three-part "Creating mashups on the Google App Engine using Eclipse" series, we will take the application built in the first two parts and further enhance it. We will add the ability to view other users of the app and subscribe to their aggregate feeds. We will then complete the mashup circle by exposing the app as a Web service that can be used by other mashups.
Articles 19 Aug 2008
Using E4X on the server-side with Jaxer
The ECMAScript for XML (E4X) standard gives JavaScript developers a powerful API to work with XML. As it is not supported in Internet Explorer, you might not get to use it often. That is not an issue if you use JavaScript on the server with Jaxer. In this article, you see how JavaScript and E4X make it easy to work with XML on the server. Combine this key ingredient with Jaxer to create Ajax applications using nothing but JavaScript.
Articles 03 Mar 2009
Ganglia and Nagios, Part 1: Monitor enterprise clusters with Ganglia
This is the first article in a two-part series that looks at a hands-on approach to monitoring a data center using the open source tools Ganglia and Nagios. In Part 1, see how to install and configure Ganglia, the scalable, distributed monitoring system for high-performance clusters based on a hierarchical design. Also learn how to add more monitoring capability by writing Ganglia plug-ins and by enabling external-source spoofing.
Also available in: Russian   Japanese  
Articles 04 Mar 2009
Ganglia and Nagios, Part 2: Monitor enterprise clusters with Nagios
This is the second article in a two-part series that looks at a hands-on approach to monitoring a data center using the open source tools Ganglia and Nagios. In Part 2, learn how to install and configure Nagios, the popular open source computer system and network monitoring application software that watches hosts and services, alerting users when things go wrong. The article also shows you how to unite Nagios with Ganglia (from Part 1) and add two other features to Nagios for standard clusters, grids, and clouds to help with monitoring network switches and the resource manager.
Also available in: Russian   Japanese  
Articles 25 Mar 2009
A CMIS API library for Python, Part 2: Build real world ECM tools with Python and cmislib
In Part 2 of this series on CMIS and Python, build an xcopy-like data population and migration tool using the Python cmislib library. The tool not only xcopies local file systems to any CMIS repository but is also aware of JPG Exif data and preserves it during the copy if possible. Walk through the source code and learn how to use the tool on the command line. Also, you can download the fully functional source..
Articles 25 Mar 2009
Deploying Django applications to a production server
Django is a Python-based open source Web application framework that focuses on making the process of creating database-driven Web sites and Web applications easier. Getting started with developing Django applications is simple, as a development Web server is included with the framework. However, this server is not suitable for use in a production environment, so further steps are required to deploy your Django application to the Web. In this article, you will learn about the Django framework and how to install it on your local machine. Discover how a Django application is made and about the automatic administration interface created for your application. You will then find out how to deploy your Django application to the Web on a server running Apache and mod_python. Finally, learn how Django applications can and should be scaled as your application's requirements grow.
Also available in: Russian   Portuguese  
Articles 07 Apr 2009
Better Django models
After graduating from the five-minute wiki to real-life applications, Django programmers can easily create confusing, hard-to-maintain, or inefficient model classes. Learn how to avoid common querying mistakes, use model managers to encapsulate complex queries, and take advantage of the powerful new aggregation features available in Django V1.1.
Also available in: Russian  
Articles 19 May 2009
Doing more with the Django admin
The built-in administration console provided by Django is one of its biggest selling points. What if you need to customize more than just the look and feel and a couple of model fields? Find out how to extend the existing admin application without ever modifying the source.
Also available in: Russian   Japanese  
Articles 26 May 2009
Google App Engine for Java, Part 1: Rev it up!
Remember when Google App Engine was just for Pythonistas? Those were some dark days. Google Inc. opened up its cloud-computing platform to Java developers in April 2009. In this three-part article series, Java technology author and trainer Rick Hightower gets you started with this reliable, robust, and fun platform for Java-based development. In this article, you'll get an overview of why Google App Engine for Java could be the deployment platform for your next highly scalable killer app, then start using the Google Plugin for Eclipse to build two example apps: one based on Google Web Toolkit (GWT) and one based on the Java Servlet API. You'll learn for yourself what a difference Google App Engine for Java makes, both in building out an application from scratch and in deploying it to the tune of up to five million views. (And that's just the free version.)
Also available in: Russian  
Articles 11 Aug 2009
Conversing through the Internet with cURL and libcurl
cURL is a command-line tool that speaks a number of protocols for file transfer, including HTTP, FTP, Secure Copy (SCP), Telnet, and others. But in addition to conversing with endpoints over the Internet from the command line, you can also write simple to complex programs using libcurl to automate application-layer protocol tasks. This article introduces the cURL command-line tool, then shows you how to build an HTTP client in C and Python using libcurl.
Also available in: Russian   Japanese   Portuguese  
Articles 08 Sep 2009
Charming Python: Easy Web data collection with mechanize and Beautiful Soup
For collecting data from Web pages, the mechanize library automates scraping and interaction with Web sites. Mechanize lets you fill in forms and set and save cookies, and it offers miscellaneous other tools to make a Python script look like a genuine Web browser to an interactive Web site. A frequently used companion tool called Beautiful Soup helps a Python program makes sense of the messy "almost-HTML" that Web sites tend to contain.
Also available in: Portuguese  
Articles 24 Nov 2009
Build a Twitter Web application
Learn how to create a Twitter-enabled Web 2.0-style application using Django, jQuery, and the python-twitter wrapper that you can easily use and plug in to your own Django project. With this application, you'll be able to see recent tweets, post updates, and show your friends and followers.
Also available in: Japanese  
Articles 03 Dec 2009
Manipulate CSV data with Python and pureXML
IBM DB2 pureXML allows you to store XML data natively in a relational database management system, giving you the power and flexibility to report on this data without disturbing the advantages that its XML format offers. In this tutorial, you will learn how to connect to a DB2 database from the Python programming language, importing data about population from the United States Census Bureau. You will use Python to convert this CSV file into XML, before inserting this XML data natively into DB2. Finally, you will use Python to create a command-line application that produces some informative tables that you can access through a menu system.
Also available in: Korean  
Tutorial 22 Dec 2009
Python basics for PHP developers
Are you an experienced PHP developer who needs to learn Python? This article approaches the world of Python development from a PHP developer's perspective, translating familiar PHP concepts, such as variables, lists, and functions, into their Python equivalents.
Also available in: Japanese  
Articles 09 Feb 2010
A CMIS API library for Python, Part 1: Introducing cmislib
This is the first of a two-part series which will introduce you to cmislib, a client-side library for working with CMIS content libraries. Content Management Interoperability Services (CMIS) is a specification that provides a standard way to access content, regardless of the underlying repository implementation or the choice of the front-end programming language. In this article, learn about the cmislib API for Python using examples.
Also available in: Russian  
Articles 25 Mar 2010
Simple server-side 2G phone apps
Mobile phones are transforming economies and societies all over the world, but often with phones that might be considered out-of-date by gadget geeks in more developed nations. The good news is that applications that work with these phones can be very simple to write, and they give your application a huge potential user base. In this article, learn how to write programs that respond to specialized requests for information from 2G phones.
Articles 25 May 2010
Continuous integration with Buildbot
The days of cowboy coding are long gone at most organizations, replaced by a renewed interest in generating quality software. Continuous integration (CI) testing is a vital component in the practice of agile programming techniques that lead to high-quality software. Learn the theory and practice of CI testing by exploring Buildbot, an open source CI system written in Python.
Also available in: Japanese  
Articles 02 Jun 2010
Add your own GIMP features
The GNU Image Manipulation Program (GIMP) is a robust application for editing and manipulating digital images. Because it's open source software, any developer is allowed to modify and extend it with even more features. In this article, you will learn how to get started with the GIMP code, how to build the project from the Git repositories, and how to find your way around the code tree. And you will build an example application that creates a whole new painting tool for the program.
Also available in: Japanese  
Articles 20 Jul 2010
Read and index documents with Xapian and Omega
Storing and providing access to documentation and information is an ever-growing problem for many companies. There are many solutions for addressing the problem, including wikis and structured documentation stores, but full-text indexes are often the only way to gain the information you need from a wide array of documents. Xapian is an open source tool that reads and indexes documents, including those in HTML, PDF, OpenOffice, Microsoft Office, and many others, and with programmable interfaces to add and extract information, including Java technology, allowing you to support document indexing within your WebSphere-deployed environment. In this article, examine how to install and deploy a typical Xapian installation indexing a variety of information, then see some examples for extracting the information using the different language bindings. The process will focus on how this could be used within a typical company intranet environment. The article will also provide a quick overview of Omega, a custom tool designed to work with the Xapian infrastructure.
Articles 26 Oct 2010
High-performance XML parsing in Python with lxml
lxml is a fast yet flexible library for XML processing in Python. It comes bundled with support for XML Path Language (XPath) and Extensible Stylesheet Language Transformation (XSLT), and it implements the familiar ElementTree API. In this article, you focus both on the ease of use provided by lxml and on its high-performance profile when processing very large XML data.
Also available in: Chinese   Russian   Japanese  
Articles 24 Mar 2011
Use Python to write plug-ins for GIMP
GNU Image Manipulation Program (GIMP) provides a strong, open-source alternative for doing detailed graphical work such as photo editing, making it a good replacement for commercial software. However, GIMP's API offers developers a number of ways to customize and even embed its functionality to fit specific needs. Learn more about GIMP scripting with Python and see how you can put it to work for you.
Also available in: Russian   Japanese   Portuguese  
Articles 29 Mar 2011
A guide to Python packaging
The best open source Python applications have great packaging. Learn more about what packaging is and basic implementation. Then, go a step farther and discover versioning and distribution as they relate to packaging.
Also available in: Chinese   Russian   Japanese   Spanish  
Articles 18 Oct 2011
Build an Eclipse development environment for Perl, Python, and PHP
Eclipse presents a wealth of capabilities for building tools for compiled languages like C and the Java programming language, but provides little support for scripting languages like Perl, Python, and PHP. For these and similar languages, the Eclipse Dynamic Languages Toolkit (DLTK) comes to the rescue. Walk through the process of building a DLTK-based IDE and discover sample code for each step.
Tutorial 27 Oct 2011
Easy and beautiful documentation with Sphinx
Create maintainable, style-driven documents that can be automatically distributed in different formats using Sphinx. Discover how Sphinx abstracts the tedious parts and offers automatic functions to solve common problems like title indexing and special code highlighting.
Also available in: Chinese   Russian   Japanese   Portuguese   Spanish  
Articles 29 Nov 2011
Android applications using Python and SL4A, Part 1: Set up your development environment
This series of articles explores how to use Python and Scripting Layer for Android (SL4A) to build applications for the Google Android platform. This article, the first in the series, shows what you need to do to get everything installed and running.
Also available in: Chinese   Russian   Portuguese  
Articles 19 Dec 2011
Create successful Python projects
Creating a successful open source Python project involves more than just writing useful code. It's about community engagement, increasing cooperation opportunities, craftsmanship, and support. Explore best practices to help you create your own successful project.
Also available in: Chinese   Russian   Japanese   Portuguese  
Articles 10 Jan 2012
Scripting KVM with Python, Part 2: Add a GUI to manage KVM with libvirt and Python
Further explore how to use Python to create scripts for managing virtual machines using KVM. Learn how to add a GUI to expand on the simple status and display tool.
Also available in: Chinese   Japanese   Spanish  
Articles 17 Jan 2012
Introducing PyPy
Improve the performance of your Python development and add flexibility with PyPy with just-in-time compiler implementation. Learn about PyPy, its benefits, and how it can accelerate development of high-performance applications.
Also available in: Chinese   Russian   Japanese  
Articles 14 Feb 2012
The OpenStack network
Networking is an essential part of an IaaS system; that is no different with OpenStack, an open source, Infrastructure as a Service, cloud computing project by Rackspace Cloud and NASA. In this article, the author describes the iptable chains and rules behind the OpenStack Cloud Compute-Nova project, a cloud computing fabric controller (the main part of an IaaS system) written in Python that uses many external libraries. The author details the nova-network FlatDHCPManager component, as well as other OpenStack components. An iptable is a user-space application program that allows a system administrator to configure the tables provided by the Linux kernel firewall.
Also available in: Chinese   Japanese   Portuguese  
Articles 26 Jul 2012
Explore Linux as a scientific computing platform
Linux is a great platform for scientific computing and is heavily used by the academic community for numerous tasks. While many open source projects address specific applications, the Sage mathematical project delivers a more generic problem-solving capability. Python is the primary language for many of the highest profile scientific applications, which this article discusses.
Also available in: Chinese   Japanese  
Articles 07 Aug 2012
Build rapid and lightweight static websites with Hyde
Web publishing frameworks are great, but sometimes they're just too much and you want a simple, static site that you can rely on for good and consistent performance. Static site generators are a useful hybrid for those occasions when you want the convenience of a web publishing framework without the overhead. Hyde is a popular site generator that provides powerful templating, based on Django, and metadata management. It's implemented in Python but does not strictly require Python knowledge. In this article, learn to use Hyde to accelerate development of static websites.
Also available in: Chinese   Japanese  
Articles 05 Feb 2013
Data science in the cloud
Data Science is a growing specialization that can touch on many of the following topics: Cloud computing, big data, math, business theory, and computer science theory. A scripting language like Python is often a great choice for the typical cycle of prototyping to make sure the math of the problem works, then "productizing" the result to a distributed farm of cloud servers. This article presents some hands-on examples of investment analysis and statistical analysis using IPython and pandas.
Also available in: Chinese  
Articles 21 Feb 2013
Simplifying scalable cloud software development with Apache Thrift
Apache Thrift is a framework that enables scalable cross-language development, resulting in unambiguous communication among components in cloud environments. This article introduces the ideas around Thrift (an interface definition for remote procedure call with multilanguage bindings), and then demonstrates Thrift in a multilanguage client and server application.
Also available in: Russian   Japanese   Portuguese  
Articles 12 Nov 2013
Leverage Python, SciKit, and text classification for behavioral profiling
Learn how to build a behavioral profile model for customers based on text attributes of previously purchased product descriptions. With SciKit, a powerful Python-based machine learning package for model construction and evaluation, learn how to build and apply a model to simulated customer product purchase histories. In a sample scenario, construct a model that assigns music-listener profiles to individual customers, based on the specific products each customer purchases and the corresponding textual product descriptions.
Also available in: Chinese   Russian   Japanese  
Articles 17 Apr 2014
Docker: A boon for the modern developer
Use Docker to code more productively and expand your skills more efficiently. Declutter your development environment, eliminate dependency conflicts, and reduce development and learning time by working with containerized applications.
Also available in: Chinese   Japanese  
Articles 05 Jan 2016
Social power, influence, and performance in the NBA, Part 2: Exploring the individual NBA players
In this tutorial series, learn how to analyze how social media affects the NBA using Python, pandas, Jupyter Notebooks, and a touch of R. Part 2 explores individual athletes in the NBA: endorsement data, true on-the-court performance, and social power with Twitter and Wikipedia.
Also available in: Portuguese  
Articles 06 Sep 2017
Using data science to manage a software project in a GitHub organization, Part 1: Create a data science project from scratch
In this two-part series, I explain how to find project management insights from a GitHub organization and how to create and publish tools to the Python Package Index.
Articles 13 Nov 2017
1 - 55 of 55 results
Show Summaries | Hide Summaries