Featured post

Career Vs Your Attitude Do These Now

75% of the American workforce are actively looking for jobs at any given point in time, of which 69% of them are currently employed. 



Networking 
Tapping into your Network, Creating, and Maximizing your Personal Brand and Researching Companies in your Field of Interest will help you in finding jobs that suit your interest.


Trying to randomly find a job will get you nowhere. PREPARE, PLAN, and RESEARCH, and you will find a job that is meant for you.


If you have attended a get-together of friends or a social gathering off-late, chances are that you would have come across at least half a dozen people, talking about their jobs; how they are unhappy with it and looking for a change, or how difficult it seems to get one in the first place.
Job Search 

Searching for a job has become one of the most time-occupying tasks in recent times. Almost as difficult as getting one, a job search means researching, identifying, and applying for jobs and going through the functions of interviews, discus…

How to use Python Interactive Shell in an easy way

Python Interactive Shell
[Python Interactive Shell]

It's like this: Python leads a double life. It's an interpreter for scripts that you can run from the command line or run like applications, by double-clicking the scripts. 

What is Interactive Shell

But it's also an interactive shell that can evaluate arbitrary statements and expressions. This is extremely useful for debugging, quick hacking, and testing.

I even know some people who use the Python interactive shell in lieu of a calculator! 

Launch the Python interactive shell in whatever way works on your platform, and let's dive in with the steps shown here:

First Steps in the Interactive Shell
>>> 1 + 1 ❶
2
>>> print 'hello world' ❷
hello world
>>> x = 1 ❸
>>> y = 2
>>> x + y
3
❶ The Python interactive shell can evaluate arbitrary Python expressions, including any basic arithmetic expression.
❷ The interactive shell can execute arbitrary Python statements, including the print statement. 
❸ You can also assign values to variables, and the values will be remembered as long as the shell is
open (but not any longer than that).

Comments

Popular posts from this blog

How to Use Python Try and Except Logic Correctly

10 Top Unix Disk Space Quiz Questions

Hyperledger Fabric: 20 Real Interview Questions

How to Use Special Keys in UNIX