Python - SPLessons
SPLessons 5 Steps, 3 Clicks
5 Steps - 3 Clicks

Python vs PHP

Python vs PHP

shape Description

Today, many programming dialects exist to help designers and software engineers build up their preferred utilizations. In any case, the vast majority of them are shut and restrictive dialects that have a few points of interest, however accompany the undeniable disadvantages.

PHP

shape Description

PHP is an open source general purpose scripting language, that has the full form of “Hypertext Preprocessor“. PHP is a server side scripting language. PHP scripts will run and interact with the servers and gives the HTML output. PHP is a language that is used for web development by web developers.Originally PHP was known as “Personal Home Page Tools”. Later on after PHP version 3 it is being known as PHP Hypertext Preprocessor. PHP is used on millions of servers world wide. Now a days, PHP is a very powerful language, which is widely used for CMS(like wordpress, Joomla, Drupal) and it is being used in many frameworks. For example, Zend framework, Cake frame work, etc. PHP plays main role in E-commerce Sites and in the social networking sites also. The following are the uses of PHP. The following are the some drawbacks of the PHP. The following is an example of print statement in PHP. [c]<!--Please click on Run button below to see the output--> <!DOCTYPE html> <html> <body> <?php print "Hello welcome to SP Lessons"; print ("I am learning the scripts in SP Lessons"); print(" <h2>I learned so many things form SP Lessons</h2> "); print "Thanks to SP Lessons Team"; ?> </body> </html>[/c] Now compile the code result will be as follows.

Python

shape Description

Python can be portrayed as a first programming dialect that is simple for individuals to get rapidly. The dialect is open source and is allowed to utilize notwithstanding for business application. Normally utilized as a scripting dialect, developers can without much of a stretch deliver vast amounts of lucid and also utilitarian code in a brief period. The following are the various features of the python. By using python language programmer can develope following applications.

Summary

shape Key Points

  • The latest version of python is 3.3 was released in September 29, 2012.
  • The python does not have datatypes to declare variables.
  • The python can integrate with other languages such as Java, C.