Tag Archives: Python

BASH Shell Scripting: Passing Arguments to a Python Script

Larry Wall: “Shell programming is a 1950s juke box …” In this short blog I write a small Python utility script to create directories and demonstrate how to utilize it and pass it arguments via BASH shell script. The functionality … Continue reading

Posted in BASH Shell Scripting, Mac OS X Mavericks, Operating Systems, Programming Languages, Python, Technology | Tagged , , , , , , , , , , , , , , , , , , , , , , , | 1 Comment

Eclipse IDE for Java EE Developers

One of my favorite development tools at an unbelievably low price – FREE! Can’t get much better than that. Download ‘Eclipse IDE for Java EE Developers’ and give it a try. If you are not much of a Java/J2EE programmer, … Continue reading

Posted in Applications, J2EE, Java, Perl, Programming Languages, Python, Technology | Tagged , , , , , , , , , , , , , , , , , , , , | Leave a comment

XenServer, Hyper-V, and ESXi – Architecture, API, and Coding

Below is a link to the slide deck for a presentation I gave to some friends/colleagues for a Berkeley Virtualization and Cloud Computing certification course I took in early 2012. For my final project I did a XenServer, Hyper-V, and … Continue reading

Posted in Citrix, Java, Microsoft, Networking, Personal Presentations, PowerShell, Programming Languages, Python, Tech Events, Technology, Virtualization and Cloud Computing, VMware | Tagged , , , , , , , , , , , , , , | Leave a comment

Python – Implementing Caching in Your Applications via Dictionaries

In this blog I demonstrate how you can implement and take advantage of caching in your Python scripts/applications. Caching allows you to complete tasks more rapidly by storing and reusing results for repeated operations using the same criteria. For example, … Continue reading

Posted in Chemistry, Programming Languages, Python, Science, Technology, Tips & Tricks | Tagged , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Coding a XenServer Client in Python – Monitoring Multiple VMs via Multiple Threads

In some prior blogs I had written about developing an ESXi client in Java which could connect to a VMware ESXi server and perform some management tasks. In this blog, I will describe developing a Cirtrix XenServer Client in Python … Continue reading

Posted in Networking, Programming Languages, Protocols, Python, Technology, Virtualization and Cloud Computing | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Demonstrating Python’s String “replace” Method via the Command-line

Python’s String “replace” method returns a copy of the string in which the occurrences of the old substring are replaced with the new substring. You can optionally restrict the number of replacements to a max amount by adding another number … Continue reading

Posted in Programming Languages, Python, Technology | Tagged , , , , , , , , , , | Leave a comment

How Perl/Python Scripts on Force10 S60 Switches Can Access the Internet

Let’s say you have a Force10 S60 switch [FTOS 8.3.3.4] hooked-up at a datacenter that currently has a console connection connected to a management switch that provides external Internet access. The natted IP address is 10.0.8.10/24 and the external IP … Continue reading

Posted in Force10 Networks, Labs, Networking, Perl, Programming Languages, Python, Technology | Tagged , , , , , , , , , , , , , , , , | Leave a comment

Use EasyInstall to Quickly Install Python Modules

EasyInstall is a python module (easy_install) that lets you automatically download, build, install, and manage Python packages. To use EasyInstall you must download and install “setuptools”; the EasyInstall application is bundled with “setuptools”.

Posted in Programming Languages, Python, Technology | Tagged , , , , , , | Leave a comment