Tag Archives: #Ubuntu

My #WSQ17 is here

Here’s the code, enjoy

https://www.dropbox.com/sh/92j969mi3ntytwk/AABPK-dnUiRShbq4sVkrZ7LSa?dl=0

My #WSQ17 is here

My #WSQ16 is ready

Here is the code guys, enjoy it.

https://www.dropbox.com/sh/751tuqhsz6cvnih/AACoqr_iRsAacVENHBDrqRJPa?dl=0

My #WSQ16 is ready

My #WSQ13 is here :)

Here’s the code, enjoy!

https://www.dropbox.com/s/xvc4lchp0dv8hx2/wsq13.py?dl=0

My #WSQ13 is here :)

My #WSQ12 is ready. Finding the Greatest Common Denominator

Here’s the code, enjoy.

https://www.dropbox.com/s/eidqrs30vtp7mkf/wsq12.py?dl=0

My #WSQ12 is ready. Finding the Greatest Common Denominator

My #WSQ11 is ready. Find Lycherel numbers

The code is here guys, enjoy it!

https://www.dropbox.com/s/n6ds4s2rwl0kpo5/wsq11.py?dl=0

My #WSQ11 is ready. Find Lycherel numbers

#Mastery01 Create And Run a “.py” file in a OS (#Ubuntu)terminal and Atom.

Hi everybody!

Today I’m going to explain you how to create a “.py” file and run it with a OS Terminal, in this case I’m going to use Ubuntu 10.04 LTS (And Is Awesome!).

Lets go.

  1. Downloading Atom (If you already have it you can omit this step)                                         Go to the page https://atom.io/ and choose the correct package for your OS(in my case y choose the “.rpm” archive), after you got the program install it.                                                                          #Mastery01 Create And Run a “.py” file in a OS (#Ubuntu)terminal and Atom.
  2. Once you installed Atom, run it (When I Installed, it automatically get into my dock)             #Mastery01 Create And Run a “.py” file in a OS (#Ubuntu)terminal and Atom.
  3. After you run it you are going to see a black page, the first you have to do in order to write python code you need to set atom in python mode.#Mastery01 Create And Run a “.py” file in a OS (#Ubuntu)terminal and Atom.
  4. When you set python as your language you are ready to code, this time I will write a very simple code, only performing an arithmetic operation and then print the result#Mastery01 Create And Run a “.py” file in a OS (#Ubuntu)terminal and Atom.                                             #Beginning of The  Code                                                                                           x=1+1
    print(x)
    #End Of The Code
  5. After You Write Your Code it’s time to save it, never forget to put a “.py” extension after the name of your program .                 #Mastery01 Create And Run a “.py” file in a OS (#Ubuntu)terminal and Atom.
  6. Once you saved your code and you have it located it’s time to run a terminal and check if your terminal have installed Python3, the only thing you need to do is write down on your terminal python3 and you need to get the next message.#Mastery01 Create And Run a “.py” file in a OS (#Ubuntu)terminal and Atom.
  7. If you got that message you are ready to run your “.py” file, you only need to write “cd” and the name of the folder where you have your “py” file like in my case                     “cd Documents” respecting the capital letters and spaces.#Mastery01 Create And Run a “.py” file in a OS (#Ubuntu)terminal and Atom.
  8. Then Click enter, if the command is correct the next step is call the file but before calling your file you need to specify the language of your code in this case python3 writing “python3″and then the name of your file “python3 mastery01.py” in my case.#Mastery01 Create And Run a “.py” file in a OS (#Ubuntu)terminal and Atom.
  9. After that click enter and enjoy the results!#Mastery01 Create And Run a “.py” file in a OS (#Ubuntu)terminal and Atom.

If you enjoy my post thank me, if you have any correction or question contact me and I will help you, thanks for reading.

#Mastery01 Create And Run a “.py” file in a OS (#Ubuntu)terminal and Atom.