Advanced Search
Search Results
954 total results found
Get to know Python!
Why might a security analyst choose Python to automate tasks? Python resembles human language and is easy to read. A security analyst might choose Python to automate tasks because they can find a lot of support online and follow standard guidelines. An an...
Create a basic Python script
Hi there.Previously, we discussed the basics of Python.Now we'll practice writing and running code.When we work in Python, we refer to what we write as a "script" or a "program." There are subtle differences between the two.Let's compare a computer program to ...
Python environments
You can run Python through a variety of environments. These environments include notebooks, integrated development environments (IDEs), and the command line. This reading will introduce you to these environments. It will focus primarily on notebooks because th...
copy paste this into a .html this is what the lab looks like
<!DOCTYPE html> <html> <head><meta charset="utf-8" /> <title>LAB_Activity_PracticeWritingPythonCode-Copy1</title> <script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script> <script src="https://cdnjs.cloudflare.com...
Akash: Python and the cybersecurity professional
My name is Akash, and I work as a Security Engineer at Google.As a cybersecurity engineer, you would end up using Python for most of your career.It's very important that you learn Python.When you are moving into cybersecurity, you would be dealing with million...
Data types in Python
Our next topic relates to categorizing data in Python.First, let's take a moment to consider another environment where we apply categories.We'll think about working in the kitchen.When cooking, we can categorize the ingredients we use; for example, carrots and...
More about data types
Previously, you explored data types in Python. A data type is a category for a particular type of data item. You focused on string, list, float, integer, and Boolean data. These are the data types you'll work with in this course. This reading will expand on th...
Work with variables in Python
Previously, we compared data types to the categories we have for different ingredients we use when cooking, like vegetables or meat.Some of these categories we use for data types are the string, float, integer, Boolean, and list.Now, let's make another compari...
Assign and reassign variables in Python
Previously, you've explored variables and how to assign and reassign them in Python. In this reading, you'll expand your understanding of these topics. You’ll also learn about the general practice of naming variables so that you can avoid syntax errors and imp...
Conditional statements in Python
Previously, we discussed how to store different data types in variables.Now we'll begin to move into the concept of automation, so we can create exciting actions with code.Automation is the use of technology to reduce human and manual effort to perform common ...
lab 2
like the other lab copy/paste the code into a .html then run it, still not sure how to host .html on the librabry <!DOCTYPE html> <html> <head><meta charset="utf-8" /> <title>lab 3 23 12 09</title> <script src="https://cdnjs.cloudflare.com/ajax/libs/r...
More on conditionals in Python
Previously, you explored conditional statements and how they’re useful in automating tasks in Python. So far, you’ve focused on the if and else keywords. In this reading, you’ll review these and learn another keyword, elif. You’ll also learn how you can appl...
For loops
We just learned about conditional statements and how they can be developed to allow computers to make decisions.But sometimes we need our programs to simply count or perform a task over and over again.When it comes to tasks that are tedious, it's normal for hu...
While loops
Previously, we introduced iterative statements in Python and focused on for loops.An iterative statement is code that repeatedly executes a set of instructions.In this video, we'll explore another type of iterative statement: the while loop.When we used for lo...
More on loops in Python
Previously, you explored iterative statements. An iterative statement is code that repeatedly executes a set of instructions. Depending on the criteria, iterative statements execute zero or more times. We iterated through code using both for loops and while lo...
New Page
Activity_Create loops /*! * * Twitter Bootstrap * */ /*! * Bootstrap v3.3.7 (http://getbootstrap.com) * Copyright 2011-2016 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ /*! normalize.css v3.0.3 | M...
Wrap-up
Well done!You've learned about why security analysts use Python and the basic structure of a program.You've even written some lines of Python code.Let's review what you learned so far.You first learned about the basics of programming and why it's a very import...
Reference guide: Python concepts from module 1
This reference guide contains Python language introduced during module 1. The guide is organized into the following sections: Comments Functions Conditional statements Iterative statements Within each section, items generally appear in...
Glossary terms from module 1
Terms and definitions from Course 7, Module 1 Automation: The use of technology to reduce human and manual effort to perform common and repetitive tasks Boolean data: Data that can only be one of two values: either True or False Command-line interface: A te...
Welcome to module 2
Welcome back to our Python journey!In the previous videos, we learned all about the basics of Python.We started at the very beginning by understanding how security analysts use Python.We learned several building blocks of Python.We went into detail learning ab...