Skip to main content

Python First Commands to run on Interpreter, for first time Users

First Python Commands
#FirstPythonCommands:
The first point I need to tell, the Python is a dynamic , interpreted language. The next best point is there are no type declarations for:
  • Variables
  • Methods
  • Parameters
  • Functions

Why Python code is so short? 
The main reason is no compile is required. During run time it validates the code and show errors if any.

How to test your code in Python
Just go into interpreter, and enter the following commands. So that you can see results.
$ python        ## Run the Python interpreter
Python 2.7.9 (default, Dec 30 2014, 03:41:42) [GCC 4.1.2 20080704 (Red Hat 4.1.2-55)] on linux2Type "help", "copyright", "credits" or "license" for more information.
>>> a = 6       ## set a variable in this interpreter session
>>> a           ## entering an expression prints its value
6
>>> a + 2
8
>>> a = 'hi'    ## 'a' can hold a string just as well
>>> a'hi'
>>> len(a)      ## call the len() function on a string
2
>>> a + len(a)  ## try something that doesn't work
Traceback (most recent call last):
  File "", line 1, in 
TypeError: cannot concatenate 'str' and 'int' objects>>> a + str(len(a))  ## probably what you really wanted
'hi2'
>>> foo         ## try something else that doesn't work
Traceback (most recent call last):
  File "", line 1, in 
NameError: name 'foo' is not defined
>>> ^D          ## type CTRL-d to exit (CTRL-z in Windows/DOS terminal)

Comments

Popular posts

Blue Prism complete tutorials download now

RPA blue prsim tutorial popular resources I have given in this post. You can download quickly.Learning Blue Prism is really good option if you are learner of Robotic process automation. The RPA is also called "Robotic Process Automation"- Real advantages are you can automate any business process and you can complete the customer requests in less time.

The Books Available on Blue Prism 
Blue Prism resourcesDavid chappal PDF bookBlue Prism BlogsVideo Training
RPA training The other Skills you need
Basic business skills and Domain skills are more than enough to be successful in this automation careerScripting languages like Perl/JSON/JavaScript/VBScript.  The interesting point is learning any RPA tool is not a problem. You can learn tool quickly. The real point is how quickly you apply your knowledge to implement automated tasks is important.


Also read
Robotic RPA Software developer skills you needBlue Prism tutorials download to learn quicklyPopular RPA tools functionality differen…

Three popular RPA tools functional differences

Robotic process automation is growing area and many IT developers across the board started up-skill in this popular area. I have written this post for the benefit of Software developers who are interested in RPA also called Robotic Process Automation.

In my previous post, I have described that total 12 tools are available in the market. Out of those 3 tools are most popular. Those are Automation anywhere, BluePrism and Uipath. Many programmers asked what are the differences between these tools. I have given differences of all these three RPA tools.

BluePrismBlue Prism has taken a simple concept, replicating user activity on the desktop, and made it enterprise strength. The technology is scalable, secure, resilient, and flexible and is supported by a comprehensive methodology, operational framework and provided as packaged software.The technology is developed and deployed within a “corridor of IT governance” and has sophisticated error handling and process modelling capabilities to ensu…

HBASE hadoop database really new features to handle growing data volumes

Hbase is Java implementation of Google's Big table. The data stored in HABSE is as shown below. Which is actually two parts.
Row Key : 00001 Column  : (Column Qualifier:Version:Value)Features or key points of HBASE...
HBase data stores consist of one or more tables, which are indexed by row keys.Data is stored in rows with columns, and rows can have multiple versions.By default, data versioning for rows is implemented with time stamps.Columns are grouped into column families, which must be defined up front during table creation. Column families are stored together on disk, which is why HBase is referred to as a column-oriented data storeIn addition...
HBASE is distributed data store,which leverages a network attached cluster of low-cost commodity servers to store and persist data.HBASE architecture is littel trick to know.

Region Servers...
RegionServers are the software processes (often called daemons) you activate to store and retrieve data in HBase.

The big difference...
Main poin…