Silicon Dojo
Silicon Dojo
  • 7
  • 348
Python Shell
Join the fun: www.SiliconDojo.com
Support us with at: www.donorbox.com/etcg
The python shell allows you to interact with Python through the command line. You essentially build a script up line by line. You can set variable values, and then use them.
This can be a powerful tool, but for new coders it is better to write out an entire script and run it so that you don't become confused.
Переглядів: 35

Відео

Concatenation in Python
Переглядів 108 годин тому
Join the fun: www.SiliconDojo.com Support us with at: www.donorbox.com/etcg Concatenation allows you to mix static text with variable values. You can use this to set variables or to simply print output to the screen. There are three ways to concatenate: will combine text and variable values without any additional spaces , will combine text and variable values with a single space in between f st...
Methods in Python
Переглядів 188 годин тому
Join the fun: www.SiliconDojo.com Support us with at: www.donorbox.com/etcg Methods allow you to modify variable values. You can change the formatting of data, or even what tye of data the value is. There are a huge nuber of methods. The following are simply the common ones.
print(), input() and while True: Loops in Python
Переглядів 208 годин тому
Join the fun: www.SiliconDojo.com Support us with at: www.donorbox.com/etcg We use the print and input functions along with while True loops extensively for example labs. The input function asks for an input from the user and assigns that input to a variable value, print allows you to write either text or a variable value to the screen. And the while True: loop will continuously run a set of co...
Run Python Scripts and Shebangs
Переглядів 168 годин тому
Join the fun: www.SiliconDojo.com Support us with at: www.donorbox.com/etcg To run a Python script simply call python3 and then the path to the script you are trying to run python3 script.py python script.py Shebangs Shebangs allow you to run a script without calling python3. Create your script and add the Shebang to the top. Start with !# and then the path to the Python interpreter. We use #!/...
What is Python
Переглядів 1922 години тому
Join the fun: www.SiliconDojo.com Support us with at: www.donorbox.com/etcg Python is a programming language that allows you to do everything from sorting through data sets, to building large scale social media sites. It runs off an interpreter that is installed on your computer, server, or IoT device. Versions We are on version 3 of Python now, and it's the one you should code for. End of life...
Indents, Syntax and Styling for Python
Переглядів 1702 години тому
Join the fun: www.SiliconDojo.com Support us with at: www.donorbox.com/etcg Python is designed to be an easy to read language. Unlike languages such as Javascript and PHP where you can have ugly, hard to read code that still works the idea with Python is that the required formatting lends the code to be easy to read. The Syntax of Python is the requirement to use indentations for code blocks, a...

КОМЕНТАРІ

  • @oscarlevipaguada
    @oscarlevipaguada 6 годин тому

    Thank you!! Keep these videos coming. I just got a junior sys admin role and scripting to automate process using power shell and python is a skill I need.

  • @jacksonier
    @jacksonier 16 годин тому

    "Before we actually start writing code I'm going to have to ask you a question, and you're going to think in your heart of hearts what your answer is and please realize that whatever you say this day may affect the rest of your career. Are you a Tabs Person or Spaces Person, and if you're new, you have no idea what I'm talking about. Don't worry, hopefully, you'd understand that joke in a bit. There used be show on the HBO called Sillicon Valley, and the main character in the show was dating a woman, who was also a programmer, and they started this discussion about whether you should use tabs or spaces and one of them used tabs, and one of them used spaces. And, the entire relationship fell apart basically over that one particular argument." - Yeah, LOL🤣 * I watched that movie, and it is FUN)

  • @jacksonier
    @jacksonier 16 годин тому

    Wow - I have seen you in the past ! :) Loving the "ELI the Computer Guy!") I remember the very nice explanations about some networking concepts 😎

  • @ab1577
    @ab1577 День тому

    This is brilliant ❤

  • @kennethhudgins1369
    @kennethhudgins1369 День тому

    He's alive!

  • @arthurfufidio
    @arthurfufidio День тому

    Good stuff! Thanks Eli, as always