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 none Type up Date none
Ruby for systems administrators
Apart from its use as a powerful Web application development platform, in combination with the Rails framework Ruby has another less-heralded side of itself, which is as a powerful scripting language, such as Python or Perl. It has immense capabilities, owing to the availability of many built-in and external libraries, the power of which can be harnessed to solve a great deal of the scripting needs that come up in any typical systems administrative work environment. Also, it's fun to program in Ruby!
Also available in: Chinese   Russian  
Articles 09 Dec 2008
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
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
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
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: Chinese   Japanese   Portuguese   Spanish  
Articles 06 Sep 2017
Social power, influence, and performance in the NBA, Part 1: Explore valuation and attendance using data science and machine learning
In this tutorial series, learn how to analyze how social media affects the NBA using Python, pandas, Jupyter Notebooks, and a touch of R. Here in Part 1, learn the basics of data science and machine learning around the teams in the NBA.
Also available in: Chinese   Japanese   Portuguese   Spanish  
Articles 31 Aug 2017
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
Using Python in WebSphere MQ applications
PyMQI, an open-source Python extension for WebSphere MQ, is an open-source library built on top of the WebSphere MQ MQI library. This article shows you how PyMQI lets you use the power of Python to developing tools and applications for WebSphere MQ.
Articles 29 Aug 2007
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 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
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
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: 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
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
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
Netegrity SiteMinder and Domino-based collaborative services
Want to use SiteMinder for single sign-on with Domino, Lotus Team Workplace (QuickPlace), and Lotus Instant Messaging and Web Conferencing (Sametime), but don’t know where to start? This article provides you with a roadmap for implementation.
Also available in: Japanese  
Articles 22 Dec 2003
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
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
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
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
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
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
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
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.
Also available in: Chinese  
Articles 13 Nov 2017
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
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
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
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
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
Ruby: A gem of a language
from The Rational Edge: Take a closer look at Ruby, a dynamic programming language that is growing rapidly in popularity. Explore its intriguing features and learn what programmers are doing with it.
Also available in: Chinese  
Articles 15 Jul 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
Web development tips: Use antipool.py for threaded Python database access
Databases are happy to handle many parallel requests (doing so is almost in the definition of a database). However, active processes (threaded or forked) almost inevitably eat up a valuable resource: database connections. The antipool.py module in Martin Blais' "antiorm" library does a nice job of making the pooling and reuse of connections transparent to programmers, and in a RDBMS-agnostic fashion.
Also available in: Russian   Japanese  
Articles 21 Aug 2007
Tip: Asynchronous SAX
Over asynchronous channels -- such as a socket that produces data over a long duration -- SAX is a wonderfully lightweight programming technique for parsing incoming messages.
Articles 14 May 2003
Web services for bioinformatics, Part 1
This series describes the process of building, deploying, and using high-throughput web services for bioinformatics applications. This is meant to serve as a guide for development of software based on the Open-Bioinformatics Foundations software toolkits with packages such as BioPerl, BioJava, and BioPython. This article provides directions for how to deploy a service and present a new implementation of document-style web services extensions to the BioPerl module that will allow a wide range of existing applications to consume such services.
Articles 18 May 2004
XML Matters: Using Python modules xml2sql and dtd2sql
David Mertz shows that the reverse direction of translating an XML document and DTD back into an RDBMS storage format is equally possible, but with its own set of constraints and complications.
Articles 01 Jun 2001
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.
Also available in: Chinese   Japanese  
Articles 03 Mar 2009
Use Django and jQuery to create a spreadsheet application
jQuery is an excellent tool for creating dynamic web applications, with a growing community that's contributed a large library of plug-ins. Using jQuery's UI, SlickGrid, and Django as a back-end controller, you'll see how to create a Microsoft Excel-style web application with multiple data sheets.
Also available in: Chinese   Japanese  
Articles 15 Mar 2011
The Python Web services developer, Part 3: Web services software repository, Part 2
Continuing their example of a Web service for storing and managing software, Uche Ogbuji and Mike Olson illustrate how to update the repository using SOAP messages and how to advertise it as a Web service.
Also available in: Japanese  
Articles 01 May 2001
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
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
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
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
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
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
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
Working with Web server logs
How do you know who is doing what and where on your site? Chances are you have an Apache-style log for your site, and you just need to learn how to mine it for valuable information. Learn about the format of Web server logs and how to access them in code. Along the way, apply a recipe to identify spider traffic from Web crawlers.
Also available in: Chinese   Japanese  
Articles 27 Oct 2009
On demand data in Python, Part 1: Python iterators and generators
The oldest known way to process data in Python is building up data in lists, dictionaries and other such data structures. Though such techniques work well in many cases, they cause major problems when dealing with large quantities of data. It's easy to find that your code is running painfully slowly or running out of memory. Generators and iterators help address this problem. These techniques have been around in Python for a while but are not well understood. Used properly, they can bring big data tasks down to size so that they don't require a huge hardware investment to complete.
Also available in: Chinese   Japanese  
Articles 21 Jun 2018
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
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
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
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
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
Thinking XML: Serving up WordNet as XML
A few articles back, Uche Ogbuji discussed WordNet 2.0, a Princeton University project that aims to build a database of English words and lexical relationships between them. He showed how to extract XML serializations from the word database. In this article he continues the exploration, demonstrating code to serve up these WordNet/XML documents over Web protocols and showing you how to access these from XSLT.
Articles 30 Aug 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
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 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 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 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
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 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
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
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
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
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
On demand data in Python, Part 2: The magic of itertools
Python's motto has always been "Batteries included," to highlight its extensive standard library. There are many well-kept secrets among the standard modules, including itertools, which is less well known in part because iterators and generators are less well known. This is a shame because the routines in itertools and related modules such as functools and operators can save developers many hours in developing big data operators. Learn by copious examples how to use itertools to address the most common MapReduce-style data science tasks.
Also available in: Chinese   Japanese  
Articles 22 Jun 2018
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
Run IPython Notebook on IBM Bluemix
This article shows how get a password-protected IPython Notebook server up and running along with a few popular Python scientific-computing packages (numpy, Pandas, and matplotlib) on IBM Bluemix.
Also available in: Chinese   Russian   Japanese   Spanish  
Articles 05 Aug 2014
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
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.
Also available in: Chinese   Russian   Japanese  
Articles 25 May 2010
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
Network programming with the Twisted framework, Part 2
In the first installment in this series on Twisted, David introduced asynchronous server programming. While a Web server is, in a sense, just another network service, as David shows in this installment, Twisted provides a number of higher-level techniques for writing Web services.
Articles 15 Jul 2003
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
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
Streamline your operations with IBM SoftLayer tagging
This tutorial describes how to use SoftLayer APIs to tag and list devices using the Python programming language. We provide detailed instructions for installing the required Python and SoftLayer packages, and we describe several use cases that cover various scenarios, such as setting and deleting tags and listing devices associated with tags by calling the respective APIs.
Also available in: Japanese  
Articles 09 Aug 2016
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
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: 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
Scripting in IBM PureApplication System
This tutorial shows you how to get started with IBM PureApplication System scripting using the command-line tool and REST API, and provides some useful sample scripts.
Also available in: Chinese   Russian  
Articles 01 Apr 2015
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: 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: 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
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
XML Matters: reStructuredText
The document format called reStructuredText has been adopted as one of the official source formats for Python documentation, but is also useful for other types of documentation. reStructuredText is an interesting hybrid of technologies -- in syntax and appearance it is similar to other "almost-plaintext" formats, but in semantics and API it is very close to XML. David takes a look at this format and shows you how existing tools can transform reStructuredText into several XML dialects (docutils, DocBook, OpenOffice), along with other useful formats like LaTeX, HTML, and PDF.
Also available in: Japanese  
Articles 01 Feb 2003
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
Scripting the Linux desktop, Part 1: Basics
This series of articles explores how to use Python to create scripts for the GNOME desktop, the screenlets framework, and Nautilus to deliver a highly productive environment. Scripts on the desktop enable drag-and-drop functionality and quick access to the information and services you commonly use. In this installment, learn how to build a desktop application using the screenlets widget toolkit.
Also available in: Russian   Portuguese  
Articles 18 Jan 2011
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
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
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
Python testing frameworks: Finding modules to test
The recent emergence of industrial-strength Python testing frameworks means that Python tests are being written more succinctly, more uniformly, and with better reporting of results than ever before. Here we look at how the leading testing frameworks provide robust auto-discovery of your application tests, and how this replaces the fragile central lists of tests that you used to maintain.
Also available in: Chinese  
Articles 02 Jun 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
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
Scripting the Linux desktop, Part 2: Scripting Nautilus
This series of articles explores how to use Python to create scripts for the GNOME desktop, the screenlets framework, and Nautilus to deliver a highly productive environment. Scripts on the desktop enable drag-and-drop functionality and quick access to the information and services you commonly use. In this installment, learn how to use Python to add functionality to extend Nautilus on your desktop.
Also available in: Russian   Japanese   Portuguese  
Articles 16 Feb 2011
Python testing frameworks: Selecting and running tests
The recent emergence of industrial-strength Python testing frameworks means that Python tests are being written more succinctly, more uniformly, and with better reporting of results than ever before. This article examines how the three most popular testing frameworks identify and gather tests, and what support they provide for writing entire layers of tests that share common setup and teardown code.
Also available in: Chinese  
Articles 23 Jun 2009
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
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   Russian   Japanese   Portuguese  
Articles 26 Jul 2012
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
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
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
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
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   Russian   Japanese   Spanish  
Articles 17 Jan 2012
1 - 100 of 157 results | Next
Show Summaries | Hide Summaries