This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"" created from scratch on Friday, July 27 2018 @ 09:04:56 PM by kjlw99 | |
"" Zim. I wanted a completely from scratch .vimrc, so I knew which options | |
"" from none to all were set to what I wanted. And all of this before I | |
"" ever added any plugins. | |
"######################### | |
"# Vim-settings section: # | |
"######################### | |
set t_Co=256 " enable 256color support |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
@author: kjlw99 | |
''' | |
# String Concatonation Example. | |
var_1 = 'Hello Harry' | |
var_2 = var1 + ' Potter!!' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
@author: kjlw99 | |
''' | |
toy = 'string' | |
print("My cat loves playing with his " + toy + ".") | |
Output: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
@author: kjlw99 | |
''' | |
aTuple = (123, 'xyz', 'zulu', 'abc'); | |
aList = list(aTuple) | |
print "The List elements are: ", aList |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
@author: OpnSrcConstruction | |
''' | |
# A string is just a list of string objects in Python. | |
# This is much simpler, than all those strict languages like C. | |
string_greeting = "Hello World!" | |
programming_community = "Python Programming" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
@author: kjlw99 | |
''' | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
@author: CreativeCub | |
''' | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# future while loop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
@author: OpnSrcConstruction | |
''' | |
x = 1 | |
if x == 1: | |
print('x is equal to 1') |
NewerOlder