Welcome!

Python Authors: Matt Davis, AppDynamics Blog, Pat Romanski, Donald Meyer, Liz McMillan

Related Topics: @CloudExpo, Agile Computing, Python, @DevOpsSummit

@CloudExpo: Article

Python: Beyond Just Web Apps | @DevOpsSummit #APM #DevOps

Python is one of the most successful computer languages of all time

Python: Beyond Just Web Apps
By Omed Habib

Python has long been a go-to language for developers creating cutting-edge web applications. However, Python’s advantages of power, versatility, flexibility and ease of programming have made it a favorite language in a multitude of applications, industries, and niches.

Examples of Python being used outside the world of Web apps include:

  • The development of an ERP/CRM named ERP5, developed by Nexedi for use in government agencies, the apparel industry, and other warehouse-based businesses.

  • A self-contained marine navigation light from Carmanah Technologies. This is a good example of how Python is helping to power the move away from dedicated computers to the new era of the Internet of Things.

  • Substantial portions of the semiconductor facility at the Phillips manufacturing plant in Fishkill, New York are run on Python.

  • Python is an integral part of the IT Services Department at the well-regarded University of St. Andrews in Scotland. Python powers a significant portion of the software systems used throughout the university.

  • ForecastWatch.com rates the accuracy of weather reports from a variety of services such as The Weather Channel and AccuWeather. Python is used in 100 percent of the service’s components, from the front-end to the back-end.

  • AstraZeneca, one of the biggest pharmaceutical firms in the world, develops medicines to control pain, fight disease, and battle cancer. To develop a new drug can cost upwards of $800 million. Python helps disparate research groups around the world collaborate on drug identification and computer predictions.

What makes Python so versatile?
Python is one of the most successful computer languages of all time. It has survived and thrived over many years due to several factors: clear syntax, the immediate feedback of a scripting language, widespread use worldwide, excellent documentation and a vast and supportive community.

  • One of Python’s strongest features is that it is based on pragmatism. It is less concerned with adhering to a language standard than it is with providing programmers the tools to get things done quickly and efficiently. To do that, it relies on a clear, simple syntax.

  • The Python syntax is designed for easy readability. The similarity between Python and simple English, and unique traits like the absence of parentheses, make it easy to get started and program in Python. Both those learning to code for the first time and experienced developers alike appreciate this natural approach. By accommodating both camps with a high degree of functionality and flexibility, Python has grown rapidly over the years and has surpassed several popular languages in the process.

  • Python can also bind natively to C. By providing native binding to C and C-compatible languages, programmers could port their code to Python relatively fast and easily. This brought many new converts to the language early on, with a concomitant growth in user base and libraries over the years.

  • There are tens of thousands of users all over the globe. You can get help from a number of IRC channels, mailing lists, special interest groups, conferences and wikis hosting Python’s extensive user base. The original Python conference is called PyCon, first formed in 2003. The conference gives you a chance to review a number of panels and presentations and participate in impromptu conversations inside and outside the sessions. You can meet programmers from different countries, experience tutorials from various experts and get involved in development sprints.

Python vs. Other Languages
One of Python’s advantages over other languages is that it is purposefully built to be a general-purpose language, and it is adaptable to many different uses. Since it is easy to read and learn and is very flexible, it can be ramped up quickly and produce workable projects rapidly.

Great frameworks like flask and Django make it easy to program in Python. Projects like web2py even include everything you need to create web applications:

  • Built-in editor

  • Rocket web server

  • SQLite database

  • Python interpreter

  • Google App Engine deployment tool

Java
Java is also a general-purpose language. Its performance is faster than Python, but it takes much more code to achieve similar ends. Java is harder to learn but is very powerful for creating programs that run on multiple platforms.

A significant difference between Java and Python is that Java prefers that you define a variable’s type when first declared. After that, it will not let you change it — this is called static typing. On the other hand, Python takes an approach called dynamic typing. You can change a variable’s type, for example from string to integer or vice versa.

Another difference is that Java programs are platform independent — any mobile unit or standard computer that can run a Java Virtual Machine can launch a Java app. In contrast, Python programs must be compiled to convert your code into code that different operating systems can comprehend.

Ruby on Rails
Ruby on Rails handles background tasks seamlessly, is useful for
building quick web app prototypes, has a good community and is relatively easy to use at first, but it can get overly complicated as a project expands. Ruby was designed initially to make developing programs fun. This philosophy is the reason there are several ways to complete a task. In comparison, Python believes in a similar philosophy of adhering to a single method to achieve a goal.

JavaScript
JavaScript, which has no connection to Java, is currently one of the
most popular scripting languages. It typically runs in applications in the browser to build content such as real-time clocks and message pop-ups. Due to the enormous amount of different browsers in use around the world, JavaScript is one of the most deployed languages.

However, it has grown beyond this initial application and is now very popular in both desktop apps and server-side applications. Node.js is a fast-growing implementation of JavaScript in these environments. Python is object-oriented and has close compatibility with the C and C++ languages that it descended from.

JavaScript features only one numeric type, a double-precision 64-bit IEEE floating-point number. Python offers a number of numeric types. It also provides a fixed point Decimal type, useful for numbers featuring decibel points without the hazards of floating points. Some programmers believe that JavaScript is an excellent approach when scripts are small, but begins to take on inordinate complexity when projects grow much larger.

Python Competitive Threats
New computer languages seem to emerge and grow faster than rabbits in the springtime. Just in the last few years, languages like Node.js have soared because they address many of the evolving challenges of modern computing like the unprecedented rise of mobile usage.

However, will new languages or old standbys make inroads into Python’s core competencies? It seems unlikely. In fact, many universities and high schools are teaching Python as a first language. From June 2015 to June 2016, Python rose two places to become the fourth most popular computer language as reported by the Tiobe Programming Community Index, a monthly survey of computer language popularity.

The director of the Tiobe index told Infoworld that languages such as PHP and JavaScript are primarily used for Web scripting, while Python can fill a wide variety of general scripting applications. Also, languages like Objective-C have dropped precipitously. After Apple had announced that Swift was going to replace Objective-C, the interest in that language was decimated.

No matter the rise and fall of major computing languages, it’s likely programmers will continue to utilize specific languages for specific tasks depending on their project goal. For example:

  • Go. This statically typed language from Google is similar to C but has the ease-of-use that you get with a dynamic scripting language.

  • CoffeeScript. Allows developers to write simpler code than traditional JavaScript, which is then converted to the JavaScript language preferred by Web browsers.

  • Dart. Another new language developed by Google, it is an attempt to keep the power of JavaScript while making it easier to use and simpler to operate.

  • Julia. Python has enjoyed great success in the world of scientific programming. One of its drawbacks is that it can be slow, a problem when you are processing massive data sets. Julia lets developers retain the clean syntax of Python while allowing it to be compiled in the background.

Poised for the Future
In short, Python has played a major role in the development of web applications since the proliferation of the Internet in the mid-1990s. Because of its ease-of-use, user-friendliness and simplicity, it has grown to become one of the most popular computer languages.

Moreover, it continues to grow in popularity to this day. In the last year alone, it has moved up two spots in the Tiobe Index. Looking further down the road, the prognosis for the continued growth of Python is good. As we move from traditional desktop computing into a mobile world where computers permeate every part of our existence, from our clothing to our automobiles, furniture, and appliances, Python is leagues ahead. It is already being utilized in a wide variety of industry verticals including aviation, business information, energy efficiency, financial services, human resources, pharmaceuticals, quality control, risk management and post-secondary education.

Also, because Python is being taught as a primary language at many high schools and colleges, you can expect to see Python maintain its position among the world’s great languages. It’s adaptability and versatility will allow it to change and grow to meet any computing challenge in the decades ahead.

The post Python: Beyond Just Web Apps appeared first on Application Performance Monitoring Blog | AppDynamics.

More Stories By AppDynamics Blog

In high-production environments where release cycles are measured in hours or minutes — not days or weeks — there's little room for mistakes and no room for confusion. Everyone has to understand what's happening, in real time, and have the means to do whatever is necessary to keep applications up and running optimally.

DevOps is a high-stakes world, but done well, it delivers the agility and performance to significantly impact business competitiveness.

@ThingsExpo Stories
Large industrial manufacturing organizations are adopting the agile principles of cloud software companies. The industrial manufacturing development process has not scaled over time. Now that design CAD teams are geographically distributed, centralizing their work is key. With large multi-gigabyte projects, outdated tools have stifled industrial team agility, time-to-market milestones, and impacted P&L stakeholders.
Gemini is Yahoo’s native and search advertising platform. To ensure the quality of a complex distributed system that spans multiple products and components and across various desktop websites and mobile app and web experiences – both Yahoo owned and operated and third-party syndication (supply), with complex interaction with more than a billion users and numerous advertisers globally (demand) – it becomes imperative to automate a set of end-to-end tests 24x7 to detect bugs and regression. In th...
"Cloud Academy is an enterprise training platform for the cloud, specifically public clouds. We offer guided learning experiences on AWS, Azure, Google Cloud and all the surrounding methodologies and technologies that you need to know and your teams need to know in order to leverage the full benefits of the cloud," explained Alex Brower, VP of Marketing at Cloud Academy, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clar...
In his session at 21st Cloud Expo, Carl J. Levine, Senior Technical Evangelist for NS1, will objectively discuss how DNS is used to solve Digital Transformation challenges in large SaaS applications, CDNs, AdTech platforms, and other demanding use cases. Carl J. Levine is the Senior Technical Evangelist for NS1. A veteran of the Internet Infrastructure space, he has over a decade of experience with startups, networking protocols and Internet infrastructure, combined with the unique ability to it...
"There's plenty of bandwidth out there but it's never in the right place. So what Cedexis does is uses data to work out the best pathways to get data from the origin to the person who wants to get it," explained Simon Jones, Evangelist and Head of Marketing at Cedexis, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
"Akvelon is a software development company and we also provide consultancy services to folks who are looking to scale or accelerate their engineering roadmaps," explained Jeremiah Mothersell, Marketing Manager at Akvelon, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
"MobiDev is a software development company and we do complex, custom software development for everybody from entrepreneurs to large enterprises," explained Alan Winters, U.S. Head of Business Development at MobiDev, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
SYS-CON Events announced today that CrowdReviews.com has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5–7, 2018, at the Javits Center in New York City, NY. CrowdReviews.com is a transparent online platform for determining which products and services are the best based on the opinion of the crowd. The crowd consists of Internet users that have experienced products and services first-hand and have an interest in letting other potential buye...
"IBM is really all in on blockchain. We take a look at sort of the history of blockchain ledger technologies. It started out with bitcoin, Ethereum, and IBM evaluated these particular blockchain technologies and found they were anonymous and permissionless and that many companies were looking for permissioned blockchain," stated René Bostic, Technical VP of the IBM Cloud Unit in North America, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Conventi...
SYS-CON Events announced today that Telecom Reseller has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5-7, 2018, at the Javits Center in New York, NY. Telecom Reseller reports on Unified Communications, UCaaS, BPaaS for enterprise and SMBs. They report extensively on both customer premises based solutions such as IP-PBX as well as cloud based and hosted platforms.
"Space Monkey by Vivent Smart Home is a product that is a distributed cloud-based edge storage network. Vivent Smart Home, our parent company, is a smart home provider that places a lot of hard drives across homes in North America," explained JT Olds, Director of Engineering, and Brandon Crowfeather, Product Manager, at Vivint Smart Home, in this SYS-CON.tv interview at @ThingsExpo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Coca-Cola’s Google powered digital signage system lays the groundwork for a more valuable connection between Coke and its customers. Digital signs pair software with high-resolution displays so that a message can be changed instantly based on what the operator wants to communicate or sell. In their Day 3 Keynote at 21st Cloud Expo, Greg Chambers, Global Group Director, Digital Innovation, Coca-Cola, and Vidya Nagarajan, a Senior Product Manager at Google, discussed how from store operations and ...
It is of utmost importance for the future success of WebRTC to ensure that interoperability is operational between web browsers and any WebRTC-compliant client. To be guaranteed as operational and effective, interoperability must be tested extensively by establishing WebRTC data and media connections between different web browsers running on different devices and operating systems. In his session at WebRTC Summit at @ThingsExpo, Dr. Alex Gouaillard, CEO and Founder of CoSMo Software, presented ...
WebRTC is great technology to build your own communication tools. It will be even more exciting experience it with advanced devices, such as a 360 Camera, 360 microphone, and a depth sensor camera. In his session at @ThingsExpo, Masashi Ganeko, a manager at INFOCOM Corporation, introduced two experimental projects from his team and what they learned from them. "Shotoku Tamago" uses the robot audition software HARK to track speakers in 360 video of a remote party. "Virtual Teleport" uses a multip...
A strange thing is happening along the way to the Internet of Things, namely far too many devices to work with and manage. It has become clear that we'll need much higher efficiency user experiences that can allow us to more easily and scalably work with the thousands of devices that will soon be in each of our lives. Enter the conversational interface revolution, combining bots we can literally talk with, gesture to, and even direct with our thoughts, with embedded artificial intelligence, whic...
SYS-CON Events announced today that Evatronix will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Evatronix SA offers comprehensive solutions in the design and implementation of electronic systems, in CAD / CAM deployment, and also is a designer and manufacturer of advanced 3D scanners for professional applications.
Leading companies, from the Global Fortune 500 to the smallest companies, are adopting hybrid cloud as the path to business advantage. Hybrid cloud depends on cloud services and on-premises infrastructure working in unison. Successful implementations require new levels of data mobility, enabled by an automated and seamless flow across on-premises and cloud resources. In his general session at 21st Cloud Expo, Greg Tevis, an IBM Storage Software Technical Strategist and Customer Solution Architec...
To get the most out of their data, successful companies are not focusing on queries and data lakes, they are actively integrating analytics into their operations with a data-first application development approach. Real-time adjustments to improve revenues, reduce costs, or mitigate risk rely on applications that minimize latency on a variety of data sources. In his session at @BigDataExpo, Jack Norris, Senior Vice President, Data and Applications at MapR Technologies, reviewed best practices to ...
An increasing number of companies are creating products that combine data with analytical capabilities. Running interactive queries on Big Data requires complex architectures to store and query data effectively, typically involving data streams, an choosing efficient file format/database and multiple independent systems that are tied together through custom-engineered pipelines. In his session at @BigDataExpo at @ThingsExpo, Tomer Levi, a senior software engineer at Intel’s Advanced Analytics gr...
When talking IoT we often focus on the devices, the sensors, the hardware itself. The new smart appliances, the new smart or self-driving cars (which are amalgamations of many ‘things’). When we are looking at the world of IoT, we should take a step back, look at the big picture. What value are these devices providing? IoT is not about the devices, it’s about the data consumed and generated. The devices are tools, mechanisms, conduits. In his session at Internet of Things at Cloud Expo | DXWor...