Filter by products, topics, and types of content

(418 Products)

(750 Topics)

(20 Industries)

(15 Types)

1 - 100 of 157 results | Next
Show Summaries | Hide Summaries
View Results
Title up Type none Date none
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: Chinese   Russian   Portuguese   Portuguese  
Articles 25 Mar 2010
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..
Also available in: Chinese   Russian  
Articles 25 Mar 2009
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
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   Portuguese  
Articles 20 Jul 2010
alt.lang.jre: Feeling Groovy
Andrew Glover offers an informal introduction to Groovy, the proposed addition to the standard programming languages for the Java platform.
Articles 03 Aug 2004
An easy way to provision and invoke actions in IBM OpenWhisk
IBM OpenWhisk is a simple open source service that rapidly launches and runs code tidbits on-demand, in response to an incoming REST request. In this tutorial, learn how to issue OpenWhisk commands manually. Then see how to use a Python library that makes it even easier to issue those commands.
Also available in: Chinese   Japanese   Portuguese   Spanish  
Articles 25 Oct 2016
Analyze weather data within your browser using Spark on IBM Cloud
Apache Spark is a next generation distributed data processing engine that for the first time is making available entirely new capabilities to data scientists, business analysts, and application developers. Analytics for Apache Spark works with commonly used tools available in IBM Cloud so that you can quickly start tapping into the full power of Apache Spark. This tutorial shows you how to use iPython Notebook, which uses the Spark API, to analyze raw weather data from the real world. You can easily use this example as a basis for more analytics on IBM Cloud.
Also available in: Japanese   Portuguese  
Articles 22 Mar 2016
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
ANTLR
ANTLR, ANother Tool for Language Recognition, is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing Java, C#, C++, or Python actions. ANTLR supports tree construction, tree walking, and translation.
Downloads 10 Nov 2006
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
Ask Watson what Twitter is telling you, Part 4: Extract image text and analyze sentiments
Quickly build an app to get data from Twitter and then use the data for cognitive insights by using IBM Watson services such as Tone Analyzer, Visual Recognition, and Alchemy. In just a few minutes, you can create a running Python app on IBM Cloud that analyzes pictures that are included in tweets.
Also available in: Chinese   Japanese  
Articles 22 Aug 2016
Ask Watson what Twitter is telling you, Part 3: Analyze tweet pictures for categorization and recognition
Quickly build an app to get data from Twitter and then use the data for cognitive insights by using IBM Watson services such as Tone Analyzer, Visual Recognition, and Alchemy. In just a few minutes, you can create a running Python app on IBM Cloud that analyzes pictures that are included in tweets.
Also available in: Chinese   Japanese  
Articles 19 Jul 2016
Automatic deployment toolkit for an SOA project environment, Part 1: Overview of the automatic deployment toolkit
This article series introduces an automatic deployment toolkit (Automatic-DT), which helps infrastructure architects install and configure deployment nodes with IBM software installed and configured automatically. It also helps testers or developers refresh builds in their daily tests or integration life cycle. This first article in the series gives you an overview of Automatic-DT.
Also available in: Chinese  
Articles 22 Aug 2008
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
Build a chat app with Pyramid, SQLDB, and Bluemix
This tutorial shows how to create Bluemix-friendly applications using the Pyramid framework. Use the SQLAlchemy abstraction layer to make the app database agnostic, leaving the database choice for deployment time. Examples of using SQLite, PostgreSQL, and DB2 as databases are provided. This tutorial also demonstrates interoperability between a NodeJS SocketIO communication layer and a Python-based web app framework.
Also available in: Chinese   Russian   Japanese   Spanish  
Articles 03 Feb 2015
Build a digital book with EPUB
Need to distribute documentation, create an eBook, or just archive your favorite blog posts? EPUB is an open specification for digital books based on familiar technologies like XML, CSS, and XHTML, and EPUB files can be read on portable e-ink devices, mobile phones, and desktop computers. This tutorial explains the EPUB format in detail, demonstrates EPUB validation using Java technology, and moves step-by-step through automating EPUB creation using DocBook and Python.
Tutorials 05 Feb 2009
Build a digital book with EPUB
Need to distribute documentation, create an eBook, or just archive your favorite blog posts? EPUB is an open specification for digital books based on familiar technologies like XML, CSS, and XHTML, and EPUB files can be read on portable e-ink devices, mobile phones, and desktop computers. This tutorial explains the EPUB format in detail, demonstrates EPUB validation using Java technology, and moves step-by-step through automating EPUB creation using DocBook and Python.
Also available in: Japanese   Portuguese   Spanish  
Tutorial 13 Jul 2011
Build a Python app for parsing shared memory dumps
Learn how to parse a machine-readable shared memory dump on a Linux platform and extract your expected data format using Python and the struct utility. In this article, you'll first see how to determine the format of the data by reading the binary file format of the dump file; you need this in order to parse, extract, and analyze the data. Next, you'll see how to parse the file based on the format, and then match the results with the expected format to output a validation result. Update: In the Downloads section you'll find a working Python application and dump file that you can use as-is or modify for your own needs. We changed the name of the dump file throughout this article to match the name used in the download. -Ed.
Also available in: Chinese   Russian   Japanese   Spanish  
Articles 30 May 2011
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: Russian   Japanese   Portuguese  
Articles 03 Dec 2009
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
Build and deploy a World Bank charting app on Bluemix using Python, Django, and MongoDB
Develop a charting application that uses the Django framework and deploy it to IBM Bluemix. The front end is developed using the JavaScript charting engine HighCharts. You can follow the steps provided in this article to develop a Django application with MongoDB at the back end and quickly create high-performing, elegant web applications that can be hosted on the IBM Bluemix cloud platform.
Also available in: Chinese   Russian   Japanese   Portuguese  
Tutorial 14 Oct 2014
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   Russian   Japanese  
Articles 05 Feb 2013
Calling Python code from IBM InfoSphere Streams
The Python programming language is a popular choice among enterprise developers to quickly put together working solutions. Many companies adopt Python to build IT assets for regular use. IBM InfoSphere Streams is a novel middleware product designed for implementing logic directly in C++ and Java. It is also possible to call Python code within the context of a Streams application. Learn how to call Python code directly from IBM InfoSphere Streams applications.
Also available in: Chinese   Russian  
Articles 15 Apr 2013
Charming Python: Create declarative mini-languages
The object orientation and transparent introspective capabilities of Python allow you to easily create declarative mini-languages for programming tasks. In this installment, David looks not so much at using Python to interpret or translate other specialized languages (although that is possible), but rather the ways that Python code itself can be helpfully restricted to a set of declarative elements. He'll show you how developers can use declarative techniques to state application requirements in a concise and clear way, while letting the behind-the-scenes framework do the heavy work.
Also available in: Russian   Japanese  
Articles 27 Feb 2003
Charming Python: Curses programming
A certain class of Python applications works best with an interactive user interface without the overhead or complexity of a graphical environment. For interactive text-mode programs (under Linux/UNIX), for example, the ncurses library, wrapped in Python's standard curses module, is just what you need. In this article, David Mertz discusses the use of curses in Python. He illustrates the curses environment using sample source code from a front-end to the Txt2Html program.
Also available in: Japanese  
Articles 01 Sep 2000
Charming Python: Developing a full-text indexer in Python
As the volume of information grows, effective means of locating specific information become ever more crucial. This column discusses the field of full-text indexing, with a focus on the author's public-domain indexer module.
Also available in: Japanese  
Articles 01 May 2001
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: Russian   Japanese   Portuguese  
Articles 24 Nov 2009
Charming Python: Generator-based state machines
Introduced in Python 2.2, simple generators may be used to simplify state machines and to simulate coroutines. Coroutines are an exotic flow mechanism that few widely used languages -- not even non-Stackless Python -- allow. Python's new generators, however, get you almost all the way to coroutines, and the extra few steps can be faked. In this installment of Charming Python, David Mertz explains all the relevant concepts through illustrative code samples.
Also available in: Russian   Japanese  
Articles 01 Jul 2002
Charming Python: Get started with the Natural Language Toolkit
In this installment, David introduces you to the Natural Language Toolkit, a Python library for applying academic linguistic techniques to collections of textual data. Programming that goes by the name "text processing" is a start; other capabilities for syntactic and even semantic analysis are further specialized to studying natural languages.
Articles 24 Jun 2004
Charming Python: Implementing "weightless threads" with Python generators
David Mertz introduces weightless threads. Similar to Stackless Python microthreads, but using standard Python 2.2 -- they allow for extremely large numbers of cooperating processes with virtually no overhead.
Also available in: Russian   Japanese  
Articles 01 Jun 2002
Charming Python: Make Python run as fast as C with Psyco
With only a tiny amount of extra programming, Python programmers can often increase code speed by orders of magnitude with the help of an external module known as the Python Specializing Compiler (or Psyco for short). David Mertz looks at what Psyco is, and tests it in some applications.
Also available in: Russian   Japanese  
Articles 01 Oct 2002
Charming Python: Multiple dispatch
Object-oriented programming gains much of its versatility through polymorphism: objects of different kinds can behave in similar ways, given the right contexts. But most OOP programming is single dispatch; that is, just one designated object determines which code path is taken. Conceptually, a more general technique is to allow all the arguments to a function/method to determine its specialization. This article presents an implementation of multiple dispatch in Python, and shows examples where this makes for better programs."
Also available in: Russian   Japanese  
Articles 20 Mar 2003
Charming Python: My first Web-based filtering proxy
This article introduces Txt2Html, a public-domain working project created by David to illustrate programming techniques in Python. Txt2Html is a "Web-based filtering proxy" -- a program that reads Web-based documents for the user, then presents a modified page to the user's browser. To make this possible, Txt2Html runs as a CGI program, queries outside Web resources, and makes use of regular-expressions. David steps you through each of these general-purpose subtasks, explaining, clarifying, and demonstrating along the way.
Also available in: Japanese  
Articles 01 Jul 2000
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
Charming Python: Parsing with the Spark module
Spark is a powerful and general parser/compiler framework written in Python. In some respects, Spark offers more than SimpleParse or other Python parsers. Being pure Python, however, it is also slower. In this article, David discusses the Spark module, with code samples, an explanation of its usage, and suggestions for its areas of application.
Also available in: Japanese  
Articles 01 Aug 2002
Charming Python: pydoc and distutils modules
The introduction of several modules and tools in recent Python versions has improved Python, not so much as a language, but as a tool. Author David Mertz reviews these modules that make the job of Python developers substantially easier by improving the documentation and distribution of Python modules and packages.
Also available in: Japanese  
Articles 01 Aug 2001
Charming Python: SimPy simplifies complex models
The stochastic behavior of real-world systems is often difficult to understand or predict. Sometimes it is possible rigorously to demonstrate statistical properties of systems, such as average, worst-case, and best-case performance features. But at other times, pitfalls of concrete designs only become evident when you actually run (or simulate) a system. In this article, David takes a look at SimPy, a Python package that allows you to very easily create models of discrete event systems.
Also available in: Japanese  
Articles 01 Dec 2002
Charming Python: Text processing in Python
Along with several other popular scripting languages, Python is an excellent tool for scanning and manipulating textual data. This article summarizes Python's text processing facilities for the programmer new to Python. The article explains some general concepts of regular expressions and offers advice on when to use (or not use) regular expressions while processing text.
Also available in: Russian   Japanese  
Articles 01 Sep 2000
Charming Python: TK programming in Python
David Mertz introduces TK and the Tkinter wrapper (Python's GUI library) with source code samples accompanied by detailed running commentary. To make life easy, he illustrates his examples with the GUI port of the Txt2Html front-end that he's used in many of his earlier articles. He assumes, of course, that you follow his column regularly. :)
Articles 01 Dec 2000
Charming Python: Updating your Python reading list
In little more than a year, the availability of material for learning and programming in Python has gone from a thin selection of books to the current forest of dead trees. Some books are general introductions to the Python language, while others specialize in particular tasks. Even within the 'general' category, level and focus differ considerably. This column gives David's impressions and recommendations on eight of the best known books about Python.
Articles 01 Feb 2001
Charming Python: Using combinatorial functions in the itertools module
Python 2.2 introduced simple generators to the Python language and reconceived standard loops in terms of underlying iterators. With Python 2.3, generators become standard (no need for _future_, and the new module itertools is introduced to work flexibly with iterators. The itertools module is essentially a set of combinatorial higher-order functions, but ones that work with lazy iterators rather than with finite lists. In this installment, David explores the new module, and gives you a sense of the new expressive power available with combinatorial iterators.
Also available in: Russian   Japanese  
Articles 12 Jun 2003
Charming Python: Using state machines
State machines, in a theoretical sense, underlie almost everything related to computers and programming. And it also turns out that state machines, in a practical sense, can help solve many ordinary problems (especially for Python programmers). In this article, David Mertz discusses some practical examples of when and how to code a state machine in Python.
Also available in: Japanese  
Articles 01 Aug 2000
Code pattern: Mine insights from software development artifacts
There is a lot of unstructured text content that is generated in any domain – software development lifecycle, finance, healthcare, social media, etc. Valuable insights can be generated by analyzing unstructured text content and correlating the information across various document sources. This pattern uses Watson Natural Language Understanding, Python Natural Language Toolkit, OrientDB, Node-RED, and IBM Data Science Experience to build a complete analytics solution that generates insights for informed decision-making.
Articles 24 Jan 2018
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
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
Connecting Apple's iPhone to Google's cloud computing offerings
Cloud computing and software development for handheld devices are two very hot technologies that are increasingly being combined to create hybrid solutions. With this article, learn how to connect Google App Engine, Google's cloud computing offering, with the iPhone, Apple's mobile platform. You'll also see how to use the open source library, TouchEngine, to dynamically control application data on the iPhone by connecting to the App Engine cloud and caching that data for offline use.
Also available in: Chinese   Japanese  
Articles 20 Jan 2009
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   Portuguese  
Articles 02 Jun 2010
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
Create a scalable and fault-tolerant REST endpoint using Flask and Python
Learn how to deploy a simple Flask application with an AngularJS user interface to IBM Cloud using the Cloud Foundry command-line tool. For this tutorial, we chose Flask over other frameworks like Django, Pyramid, and web2py because it is very lightweight and therefore easy to understand. For just writing up a REST endpoint it is a perfect fit. In addition, we also show you how a single REST endpoint can be used to multiplex between different functions.
Also available in: Chinese   Japanese  
Articles 05 Jul 2017
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
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
Customizing WebSphere Studio to use the Struts Scripting tool with ActionClasses in Jython
This article describes how to set up WebSphere Studio Application Developer V5.1.2 (hereafter called Application Developer) to use the Struts Scripting tool to implement ActionClasses in Jython. Developing Struts actions using a scripting language gives you a faster write-and-test cycle and lets you reuse existing Jython/Python scripts without translating them into Java. Choosing Jython as your scripting language lets you easily interact with Java and use the Struts framework classes. The configuration, however, is a bit tricky, because it is based on the Bean Scripting Framework, the Struts scripting tool, and Jython. This article provides a step-by-step guide to customize the environment. You should have some experience with WebSphere Studio, Struts, and Jython or Python.
Articles 30 Mar 2005
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   Spanish  
Articles 21 Feb 2013
Database Monitoring with BusyBee
BusyBee is a free tool you can use to monitor your IDS servers. This article explains the architecture and tells you how to use it to solve many of your monitoring problems.
Articles 25 Sep 2003
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   Japanese   Portuguese  
Articles 07 Apr 2009
Detecting bootable IBM Power server ISO images
Most ISO images use an ISO 9660 extension that allows the image to be bootable by the basic input/output system (BIOS). IBM Power Systems firmware, on the other hand, does not use such extension. This means that the detection of the bootability of images differ between computer architectures. In software such as hypervisors or even virtual machine (VM) managers, this detection can't consume too many resources and take too much time due to the number of the images they need to manipulate. This makes options like such as trying to boot the image by trial and error or even trying to mount the image in the file system not viable. This article describes a way to detect if an IBM Power server image is bootable by reading the ISO data stream directly, showing a working Python code that illustrates the concepts.
Also available in: Chinese   Russian   Japanese  
Articles 20 Oct 2014
Develop a blockchain application from scratch in Python
This tutorial introduces Python developers, of any programming skill level, to blockchain. You'll discover exactly what a blockchain is by implementing a public blockchain from scratch and building a simple application to leverage it. Python is an easy programming language to understand, and so I've chosen it for this tutorial.
Tutorial 03 Apr 2018
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: Chinese   Japanese  
Articles 22 Jun 2006
Developing custom plug-ins for the Vim editor
Learn how to extend the popular and versatile Vim editor to suit your systems administration needs using Vim's custom scripting language and options such as Perl and Python.
Also available in: Chinese  
Articles 09 Nov 2010
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
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
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
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
Drools
Drools is an open source rules-engine implementation based on the Rete algorithm. Drools is designed to allow pluggable rules language implementations. Rules can be written in the Java language, Python, and Groovy.
Downloads 16 Dec 2005
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
Enabling communication between IBM WebSphere Process Server and IBM WebSphere Portal via command line operations
Learn how to enable SSO and generate LTPA tokens between IBM WebSphere Process Server and an IBM WebSphere Portal server in cross-cell mode; that is, via command line operations (silent mode). Included is a detailed example .zip file with python scripts.
Articles 24 Feb 2012
Example-driven ZODB
Relational databases are not the only solution available for Python programmers in the enterprise. Often an object database can be a more natural fit for solving certain problems. This article discusses ZODB, a scalable and redundant object database that specializes in storing extensible objects, without the natural Object-relational impedance mismatch that can occur by attempting to make an Object Oriented Language and a Relational Query System map objects to relations.
Also available in: Chinese  
Articles 15 Apr 2008
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   Russian   Japanese   Portuguese   Spanish  
Articles 07 Aug 2012
Extend Flex System Manager
IBM PureFlex System with integrated network and storage virtualization and the Kernel-based virtual machine (KVM) hypervisor provides an open and cost-effective virtualization and cloud solution. This article shows PureFlex System administrators how to extend the functionality of Flex System Manager to advanced management scenarios in a KVM virtualization environment. Using the scripting language of your choice, you can also script these scenarios for reuse and repeatability. Downloadable Python script examples show you how.
Also available in: Chinese   Russian   Japanese  
Articles 21 Jan 2014
Functional testing for Web applications
If you are entering into the cloud, testing becomes even more critical for your applications to be reliable. Learn to master automated, functional testing using the open source tools, Selenium, Windmill, and twill. The techniques covered in this article work on Google App Engine, blogging software, or your own home grown application.
Also available in: Chinese   Japanese  
Articles 10 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   Portuguese  
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
gnosis.xml.objectify
Gnosis Utilities is a Python package with a variety of utility classes for data management that transform data in XML documents into completely native Python objects.
Downloads 13 Dec 2004
Going Further with the SoftLayer API Python Client - Part 1
The SoftLayer API has bindings for many different languages and formats in addition to python (ruby, perl, c#, SOAP, RESTful, etc.). Learn how to translate the code snippets in those other languages to your situation.
Articles 09 Mar 2015
Going Further with the SoftLayer API Python Client - Part 2
In Part 1, I covered how to navigate the SoftLayer Services website, and how to query the SoftLayer API efficiently. In this post, I'll cover additional aspects of using the SoftLayer API with the python client.
Articles 09 Mar 2015
Going Further with the SoftLayer API Python Client, Part 3
Part 1 and Part 2 of this blog series covered many general aspects of how to use the SoftLayer API effectively. This post dives into how to order SoftLayer resources using the SoftLayer API. For ordering virtual servers, read Simplified CCI Creation (http://sldn.softlayer.com/blog/phil/Simplified-CCI-Creation) for a great explanation of the simplified virtual server ordering process.
Blog 20 Mar 2015
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: Chinese   Russian   Japanese   Portuguese  
Articles 11 Aug 2009
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
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
IBM Business Analytics Proven Practices: Introduction to Python Scripting in IBM SPSS Modeler
This document provides an introduction to Python scripting in IBM SPSS Modeler.
Also available in: Russian  
Articles 16 Apr 2014
Import users from an LDAP directory to IBM Security Access Manager
Systems administrators frequently need a way to import existing user accounts from an LDAP repository into IBM Security Access Manager. In this article, get started with an import script written in Python that you can use to read users in an LDAP repository, then import them using the IBM Security Access Manager pdadmin command.
Also available in: Russian  
Articles 15 Oct 2013
Import XML data to Google App Engine
The Google App Engine launched in April 2008, and included a method to upload bulk data stored in CSV files using Python. Java language support was added a year later. To date, the App Engine lacks Java-native support for bulk uploads and CSV remains the only data storage medium supported by the bulk uploading tool. Explore the various methods to store data from XML documents on the App Engine persistent database in this article.
Also available in: Chinese   Russian   Japanese  
Articles 07 Sep 2010
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
Introduction to Pyjamas, Part 1: Exploit the synergy of GWT and Python
Pyjamas is a cool tool, or framework, for developing Asynchronous JavaScript and XML (Ajax) applications in Python. It's a versatile tool that you can use to write comprehensive applications without writing any JavaScript code. This series examines the myriad aspects of Pyjamas, and this first article explores Pyjamas's background and basic elements. Step through the process of building a sample application with Pyjamas using the article's examples.
Also available in: Chinese  
Articles 09 Mar 2010
JPublish
JPublish is a web publishing system designed to ensure a clean separation of developer roles. JPublish includes support for multiple templating engines, including Apache's Velocity, FreeMarker, and WebMacro, and numerous scripting languages including Python, BeanShell, and JavaScript.
Downloads 25 Mar 2004
Jython
Jython is a Java implementation of the Python scripting language. It can be used to embed Python scripting in Java applications, execute Python scripts from within Java, or compile Python scripts to Java bytecode.
Downloads 29 Jul 2003
Jython
Jython is an implementation of the high-level, dynamic, object-oriented language Python written in 100% Pure Java, and seamlessly integrated with the Java platform. It thus allows you to run Python on any Java platform and compile Python into Java bytecode.
Downloads 25 Sep 1999
Learn how to write DB2 JDBC tools in Jython
Do you want to cut development and maintenance costs for tools written in DB2 UDB JDBC? In this article Victor Yang explains how Jython can help.
Articles 01 Apr 2004
Learning next-generation build tools for software management
If you are part of a software development team, you have probably had instances where your code ran well in isolation only to fail during integration testing. Discover two tools CruiseControl and SCons allowing continuous integration and builds respectively, thus making integration testing easier.
Articles 29 Jun 2012
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
Manage widget geometry in PyGTK
Several container widgets exist in GTK+, and with the toolkit's API, you can create user-defined containers. This API is also exposed to PyGTK. In this article, learn how to create a "weighted-table" container in PyGTK. The implementation introduces you to the basic model of GTK+ geometry management and gives you a feel for what to consider and expect when implementing container widgets.
Also available in: Chinese   Russian  
Articles 20 May 2008
Managing SoftLayer object storage through REST APIs
With SoftLayer object storage you can archive, manage, and serve large amounts of unstructured data with ease and cost-effectiveness. You can use different clients like PHP or Python for managing your object storage account. However, this blog will show how to manage your SoftLayer object storage directly through REST APIs.
Articles 13 May 2014
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: Chinese   Korean  
Tutorial 22 Dec 2009
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: Russian   Japanese  
Articles 25 Sep 2007
Mix and match Web components with Python WSGI
Learn to create and reuse components in your Web server using Python. The Python community created the Web Server Gateway Interface (WSGI), a standard for creating Python Web components that work across servers and frameworks. It provides a way to develop Web applications that take advantage of the many strengths of different Web tools. This article introduces WSGI and shows how to develop components that contribute to well-designed Web applications.
Also available in: Russian  
Articles 22 Aug 2006
1 - 100 of 157 results | Next
Show Summaries | Hide Summaries