$ python
Python 2.7.10 (default, Jul 14 2015, 19:46:27)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> word = "positive"
>>> word[:2]
'po'
More Related Contents:
- Randomly output text from array to view – RAILS [closed]
- How do I print colored text to the terminal in Python?
- How do I print an integer in Assembly Level Programming without printf from the c library?
- How do I print out the contents of a vector?
- Write to multiple outputs by key Spark – one Spark job
- Why does Range.BorderAround emit “True” to the console?
- How do I print colored text to the terminal?
- Create Java console inside a GUI panel
- While (( c = getc(file)) != EOF) loop won’t stop executing
- Display the output of the program on GUI with tkinter?
- How to create multiple output paths in Webpack config
- How can I suppress column header output for a single SQL statement?
- What does an integer that has zero in front of it mean and how can I print it?
- How to use python numpy.savetxt to write strings and float number to an ASCII file?
- Suppressing a function’s command window output
- Visual Studio 2012 C++ Standard Output
- CMake output/build directory
- Variable format
- How to remove square brackets from list in Python? [duplicate]
- h:outputText does not break \r\n characters into new lines
- How to position the input text cursor in C?
- How to specify download location in Html using JavaScript
- How to get a specific output iterating a hash in Ruby?
- How to read a CSV file from a URL with Python?
- Powershell Join-Path showing 2 dirs in result instead of 1 – accidental script/function output
- Xcode – how to see build command and log?
- How to display progress of scipy.optimize function?
- What is the fastest way to output large DataFrame into a CSV file?
- weird delay of the output of an object when followed by start-sleep (or until script end)
- Recreate original PHP array from print_r output [duplicate]