Professional Documents
Culture Documents
Topic 1
Topic 1
• Google
• PBS
• NASA
• Library of Congress
• The ONION
Let’s Explore
• https://realpython.com/world-class-companies-using-python/
Which is the best programming to
What skills you need for Cyber Security
History of Python
https://www.quora.com/How-is-Python-used-in-cyber-security
Example of Python in Security
Syntax
• Using Keyword “print” to display contents
• Using “import” to get the package into your program
• Using command line to execute a file
Framework of Python
• Pycharm
• Pyform
• Django
• Pylon
• CheyryPy
Example:
Note:
The “name” here is a variable that we are going to explain next week.
Pseudocode
A Pseudocode is a high-level description of
computer program or program algorithm.
It is close to human language so it is used for
human reading (not machine reading)
Example of Pseudocode
Python code: Pseudocode:
Process
Output Message
Stop Terminal
Symbols
1) + sign is a connection symbol to connect multiple Strings(text)
Example:
print ("Hello " + "Bing")
2) , sign is also a connection symbol to connect multiple part of python code with
numeric values
Example 1:
a = 50
print ("The memory value in a is " , a)
Example 2:
name = input("Enter a name: ")
print("Your name is " + name )
Comments in Python
# sign is used to disable the single line of code or put comments
for your code
''' sign is used to disable the multiple lines of code or put
comments for your code
Reference
https://www.tutorialspoint.com/python/python
_strings.htm