Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Linux or Windows for coding Python?

  1. #1
    Join Date
    Sep 2013
    Beans
    9

    Linux or Windows for coding Python?

    I'm just a beginning to play with some python code, first try at any language. wondered would I be better on linux, i'm using windows 8 atm?
    Last edited by mörgæs; September 29th, 2013 at 09:23 PM. Reason: Removed ?????

  2. #2
    Join Date
    Feb 2010
    Location
    WI USA
    Beans
    9,796
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: linux or windows?????

    Hello and Welcome

    Ubuntu comes with python installed otherwise see the link . For Ubuntu just type python in the terminal , but I have never used it in Windows.

    http://www.python.org/getit/windows/
    Infinite diversity in infinite combination.

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Manual

  3. #3
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    5,431
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: linux or windows?????

    You are probably better off in Linux, just because the windows command-line is so ugly and hard to use. It's a real pig resize when you want to, and copy/paste is arcane.

    As for python itself, it's just about the same on either OS.

    Can I recommend installing geany as your editor? Good syntax highlighting, syntax error highlighting, but not the distractions and complications of a full IDE - just a smart editor.

    EDIT:
    Oh, there is a difference between Linux and Windows:
    In windows, you can just run a python script with the command "filename.py", but the file name must end in .py.
    In Linux, to use the python file as a command, it must be marked as executable and must contain this as the first line on the file:
    Code:
    #!/usr/bin/python
    but the filename need not end in .py.

    In both OSs, you can run a python script with "python filename".
    Last edited by The Cog; September 29th, 2013 at 08:47 PM.

  4. #4
    Join Date
    Sep 2013
    Beans
    9

    Re: linux or windows?????

    Really I'm very green, So Linux is an operating system, yes?? best for coding and hacking use? I really need to take this in baby steps. I'm going to try and download linux onto a flash drive now.

  5. #5
    Join Date
    Sep 2013
    Beans
    9

    Re: linux or windows?????

    So python can be used along with the linux, but linux also has a language of its own?????

  6. #6
    Join Date
    Sep 2008
    Location
    Chicago
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: linux or windows?????

    Quote Originally Posted by Crowley666 View Post
    Really I'm very green, So Linux is an operating system, yes??
    Yes, Linux is an operating system -- a very powerful one, but not for everybody. You might want to check out the site mentioned in my sig line right now! I hope you decide to join our rebellious group that has traded Fords for Maseratis.
    In working with *nix...There be dragons. Newcomers: I recommend reading Linux is Not Windows (http://linux.oneandoneis2.org/LNW.htm) and The Linux Command Line (http://www.linuxcommand.org/tlcl.php) before beginning your quest for a better OS.

  7. #7
    Join Date
    Sep 2013
    Beans
    9

    Re: linux or windows?????

    Any Ideas on the best version of linux for usb and some hack /code learning?

  8. #8
    Join Date
    Sep 2008
    Location
    Chicago
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Linux or Windows for coding Python?

    I would go with12.04 LTS. Signing off.
    In working with *nix...There be dragons. Newcomers: I recommend reading Linux is Not Windows (http://linux.oneandoneis2.org/LNW.htm) and The Linux Command Line (http://www.linuxcommand.org/tlcl.php) before beginning your quest for a better OS.

  9. #9
    Join Date
    Sep 2013
    Beans
    9

    Re: linux or windows?????

    I'm going for it, I'm going to download to a usb, if I lose everything ,I lose it, just music really.I'm interested in learning a bit more in depth computer stuff. I want to crack or hack not sure which is what but just a simple site, someone who ripped me off for services recieved. That's give me the inspiration to delve into the inner workings.

  10. #10
    Join Date
    Sep 2013
    Beans
    9

    Re: Linux or Windows for coding Python?

    Wowh this is not like installation of a windows os, the more I read the scarier it gets, lol

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •