Programming for Everybody (Getting Started with Python) - Class..


  1. Posts : 22,740
    Windows 10 Home x64
       #1

    Programming for Everybody (Getting Started with Python) - Class..


    The class begins tomorrow and if anyone wants they can still sign up for the free version.
    https://www.coursera.org/learn/python/

    I've started the class and I hope to post information from it and tips to help anyone who's interested.
    Note: You don't have to install any software to take this class. All of the coding can be done in this environment/web site: CodeSkulptor

    It's not hard to use and it makes use of Python version 2.7.

    You can install Python on your own PC: Download Python | Python.org
    I highly recommend using 2.7.10.

    Hope to see some of you there.
    Jeff.. :)
      My Computer


  2. Posts : 22,740
    Windows 10 Home x64
    Thread Starter
       #2

    PGM1: Hello World..
    Code:
    #Print Hello World.. -- this is a comment and is ignored when Python runs the code..
    #comments are used to document your code..
    print "Hello, World."
      My Computer


  3. Posts : 201
    Kernel 4.x.x
       #3

    Code:
    #include <iostream>
    using std::cout;
    
    int main()
    {
       cout << "Hello World!\n";
       return 0;
    }
    C++ isn't very difficult once you learn the concepts involved in programming. I suggest after you get the hang of python, you give C/C++ a try. It's awesome!
      My Computers


  4. Posts : 22,740
    Windows 10 Home x64
    Thread Starter
       #4

    Hydranix said:
    Code:
    #include <iostream>
    using std::cout;
    
    int main()
    {
       cout << "Hello World!\n";
       return 0;
    }
    C++ isn't very difficult once you learn the concepts involved in programming. I suggest after you get the hang of python, you give C/C++ a try. It's awesome!

    I've tried it out and C++ is a good language.
      My Computer


  5. Posts : 22,740
    Windows 10 Home x64
    Thread Starter
       #5

    Class starts today!!
    Oh and here's a real nice editor that is useful not only for the class but as a general editor:
    Atom I'm using it and I really like it so far.

    Jeff
      My Computer


  6. Posts : 22,740
    Windows 10 Home x64
    Thread Starter
       #6

    Here's a nice script that is an expansion on the "Hello World" program. It is a bit more advanced but it demonstrates what you can do with a file in Python. Oh and it's version 2.7.10 of Python.
    Code:
    PHP Code:
    #---------------------------------------------
    # PGM:    hello1.py
    # By:     Jeff F.. Citizen Z!!
    # Hello  script.. file usage ..
    #---------------------------------------------
    handle open('hello.txt','r')
    for 
    line in handle:
        
    line line.rstrip()
        print 
    line
    handle
    .close() 
    Input File: hello.txt
    Mirëdita - Albanian
    G'day - Australian
    Bog - Croatia
    Ahoj - Czech
    Hej - Danish
    Hallo - Dutch
    Hello - English
    Hei - Finnish
    Bonjour - French
    Guten tag - German
    Aloha - Hawaiian
    Jó napot - Hungarian
    Góðan dag - Icelandic
    Halo - Indonesian
    Dia dhuit - Irish
    Ciao - Italian
    Hallo - Norwegian
    Bună ziua - Romanian
    Здравствуйте (zdrávstvujte) - Russian
    Hola (oh-la) - Spanish
    Hujambo - Swahili
    Hallå - Swedish
    Merhaba - Turkish
    Вітаю (vitayu) - Ukrainian
    Chào (jow) - Vietnamese
    Hylô - Welsh
    Sawubona - Zulu
    And here's the output:
    Programming for Everybody (Getting Started with Python) - Class..-capture.png
      My Computer


  7. Posts : 1
    linux
       #7

    I read in the past this article about python class that help me a lot. It's for an intermediate than for a begginer (or a begginer that is almost an intermediate python developer).

    I didn't know about duck typing before!
      My Computer


  8. Posts : 2
    Windows 10
       #8

    sluthudrot said:
    I read in the past this article about python class from my essay writer that help me a lot. It's for an intermediate than for a begginer (or a begginer that is almost an intermediate python developer).

    I didn't know about duck typing before!
    google really loves this page. I was looking for this exact python tutorial, thanks.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:13.
Find Us




Windows 10 Forums