Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Python

Python

Scheduled Pinned Locked Moved The Lounge
pythonlinux
21 Posts 11 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    realJSOP
    wrote on last edited by
    #1

    Well, it looks like I'm going to be dragged (kicking and screaming) into Linux development so I can address some glaring problems with Kodi. If one is doing Python-3 dev, I'd be interested in hearing about it. I'm thinking I'll just create a Linux VM for dev work to avoid screwing up my desktop OS.

    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
    -----
    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
    -----
    When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

    L M R Z D 8 Replies Last reply
    0
    • R realJSOP

      Well, it looks like I'm going to be dragged (kicking and screaming) into Linux development so I can address some glaring problems with Kodi. If one is doing Python-3 dev, I'd be interested in hearing about it. I'm thinking I'll just create a Linux VM for dev work to avoid screwing up my desktop OS.

      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
      -----
      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
      -----
      When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      I recently installed The year of Linux on the (Windows) Desktop - WSL Tips and Tricks - Scott Hanselman[^]. May be a useful starting point.

      R 1 Reply Last reply
      0
      • L Lost User

        I recently installed The year of Linux on the (Windows) Desktop - WSL Tips and Tricks - Scott Hanselman[^]. May be a useful starting point.

        R Offline
        R Offline
        realJSOP
        wrote on last edited by
        #3

        I don't want to do it in a Windows VM. Or on Windows itself. Or even near a window. :)

        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
        -----
        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
        -----
        When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

        L 1 Reply Last reply
        0
        • R realJSOP

          Well, it looks like I'm going to be dragged (kicking and screaming) into Linux development so I can address some glaring problems with Kodi. If one is doing Python-3 dev, I'd be interested in hearing about it. I'm thinking I'll just create a Linux VM for dev work to avoid screwing up my desktop OS.

          ".45 ACP - because shooting twice is just silly" - JSOP, 2010
          -----
          You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
          -----
          When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

          M Offline
          M Offline
          Marc Clifton
          wrote on last edited by
          #4

          Of all the scripting languages I've played with, I've quite enjoyed Python, but I do really detest the whole self thing, though you could use this as well. The hardest thing for me to remember is that self is the first parameter of a class' method and all fields belonging to the class are self.fieldName as well, like:

          self.cancel = False
          def initializeHardware(self):

          I found getting used to the indentation style instead of braces was easy enough and familiar enough having played with FP languages. And the online documentation is decent and lots of guidance (some of it good, some of garbage) can be found on SO. So, basically, unless I was going to look at .NET Core, Python is definitely my first language choice on Linux. Being more comfortable with Windows, I prefer using VS to do the Python development and then WinSCP it over to the Linux box. The same code can be tested and run as long as you're not doing something too OS or hardware dependent.

          Latest Article - A Concise Overview of Threads Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

          1 Reply Last reply
          0
          • R realJSOP

            I don't want to do it in a Windows VM. Or on Windows itself. Or even near a window. :)

            ".45 ACP - because shooting twice is just silly" - JSOP, 2010
            -----
            You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
            -----
            When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            I also have a Linux system and just run it in a bash shell. Either way it's quite a fun language to play with.

            1 Reply Last reply
            0
            • R realJSOP

              Well, it looks like I'm going to be dragged (kicking and screaming) into Linux development so I can address some glaring problems with Kodi. If one is doing Python-3 dev, I'd be interested in hearing about it. I'm thinking I'll just create a Linux VM for dev work to avoid screwing up my desktop OS.

              ".45 ACP - because shooting twice is just silly" - JSOP, 2010
              -----
              You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
              -----
              When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

              R Offline
              R Offline
              RickZeeland
              wrote on last edited by
              #6

              I have seen Police Python 357[^] does that count ?

              S R 3 Replies Last reply
              0
              • R RickZeeland

                I have seen Police Python 357[^] does that count ?

                S Offline
                S Offline
                Slacker007
                wrote on last edited by
                #7

                Sounds like a pR0n movie title to me.

                1 Reply Last reply
                0
                • R RickZeeland

                  I have seen Police Python 357[^] does that count ?

                  R Offline
                  R Offline
                  realJSOP
                  wrote on last edited by
                  #8

                  Revolvers are for sissies (and VB programmers) that can't handle the kick of a semi-auto chambered for anything bigger than a .22LR.

                  ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                  -----
                  You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                  -----
                  When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                  R L 2 Replies Last reply
                  0
                  • R RickZeeland

                    I have seen Police Python 357[^] does that count ?

                    R Offline
                    R Offline
                    realJSOP
                    wrote on last edited by
                    #9

                    Tag line: "Check out that cop's python!"

                    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                    -----
                    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                    -----
                    When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                    1 Reply Last reply
                    0
                    • R realJSOP

                      Well, it looks like I'm going to be dragged (kicking and screaming) into Linux development so I can address some glaring problems with Kodi. If one is doing Python-3 dev, I'd be interested in hearing about it. I'm thinking I'll just create a Linux VM for dev work to avoid screwing up my desktop OS.

                      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                      -----
                      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                      -----
                      When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                      Z Offline
                      Z Offline
                      ZurdoDev
                      wrote on last edited by
                      #10

                      What do you call a snake that is 3.14 meters long? A python.

                      Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

                      R 1 Reply Last reply
                      0
                      • Z ZurdoDev

                        What do you call a snake that is 3.14 meters long? A python.

                        Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

                        R Offline
                        R Offline
                        realJSOP
                        wrote on last edited by
                        #11

                        "Pi-thon"

                        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                        -----
                        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                        -----
                        When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                        Z G 2 Replies Last reply
                        0
                        • R realJSOP

                          "Pi-thon"

                          ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                          -----
                          You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                          -----
                          When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                          Z Offline
                          Z Offline
                          ZurdoDev
                          wrote on last edited by
                          #12

                          Never ruin a stupid joke with facts. :doh:

                          Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

                          1 Reply Last reply
                          0
                          • R realJSOP

                            Revolvers are for sissies (and VB programmers) that can't handle the kick of a semi-auto chambered for anything bigger than a .22LR.

                            ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                            -----
                            You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                            -----
                            When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                            R Offline
                            R Offline
                            RickZeeland
                            wrote on last edited by
                            #13

                            Well, can't argue with that as I'm only a virtual gunslinger, but I like wielding a flamethrower in "Day of Infamy" :-\

                            1 Reply Last reply
                            0
                            • R realJSOP

                              Well, it looks like I'm going to be dragged (kicking and screaming) into Linux development so I can address some glaring problems with Kodi. If one is doing Python-3 dev, I'd be interested in hearing about it. I'm thinking I'll just create a Linux VM for dev work to avoid screwing up my desktop OS.

                              ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                              -----
                              You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                              -----
                              When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                              D Offline
                              D Offline
                              dandy72
                              wrote on last edited by
                              #14

                              John Simmons / outlaw programmer wrote:

                              I'm thinking I'll just create a Linux VM for dev work to avoid screwing up my desktop OS.

                              Another good reason to do that: It'll force you to figure out exactly what it is you need to run whatever you develop on a machine that's not also your dev box. There's lots of valuable runtime dependency lessons for a developer to learn on Linux. Who knows, it might even give you a new appreciation for Windows. :-)

                              1 Reply Last reply
                              0
                              • R realJSOP

                                Well, it looks like I'm going to be dragged (kicking and screaming) into Linux development so I can address some glaring problems with Kodi. If one is doing Python-3 dev, I'd be interested in hearing about it. I'm thinking I'll just create a Linux VM for dev work to avoid screwing up my desktop OS.

                                ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                -----
                                You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                -----
                                When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                R Offline
                                R Offline
                                RickZeeland
                                wrote on last edited by
                                #15

                                This might be of interest to you: https://www.slant.co/tags/python[^]

                                R 1 Reply Last reply
                                0
                                • R realJSOP

                                  Well, it looks like I'm going to be dragged (kicking and screaming) into Linux development so I can address some glaring problems with Kodi. If one is doing Python-3 dev, I'd be interested in hearing about it. I'm thinking I'll just create a Linux VM for dev work to avoid screwing up my desktop OS.

                                  ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                  -----
                                  You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                  -----
                                  When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                  C Offline
                                  C Offline
                                  CPallini
                                  wrote on last edited by
                                  #16

                                  I prefer Lua. Python is more widespread and has more libraries.

                                  1 Reply Last reply
                                  0
                                  • R RickZeeland

                                    This might be of interest to you: https://www.slant.co/tags/python[^]

                                    R Offline
                                    R Offline
                                    realJSOP
                                    wrote on last edited by
                                    #17

                                    Yeah, I'm going to use VSCode for python dev.

                                    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                    -----
                                    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                    -----
                                    When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                    1 Reply Last reply
                                    0
                                    • R realJSOP

                                      "Pi-thon"

                                      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                      -----
                                      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                      -----
                                      When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                      G Offline
                                      G Offline
                                      Gary R Wheeler
                                      wrote on last edited by
                                      #18

                                      Ahem. "πthon".

                                      Software Zen: delete this;

                                      1 Reply Last reply
                                      0
                                      • R realJSOP

                                        Well, it looks like I'm going to be dragged (kicking and screaming) into Linux development so I can address some glaring problems with Kodi. If one is doing Python-3 dev, I'd be interested in hearing about it. I'm thinking I'll just create a Linux VM for dev work to avoid screwing up my desktop OS.

                                        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                        -----
                                        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                        -----
                                        When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                        K Offline
                                        K Offline
                                        KBZX5000
                                        wrote on last edited by
                                        #19

                                        I sometimes do R&D projects (from the corporate side) with Universities. Even though they suck at python, they still insist on using it most of the time. I don't mind it, python is decent enough, but I'm not installing a crappy distro on a VM and sinking hours into setting it up So I default to the Linux Subsystem for Windows. It works and it's perfect if you don't care for X11 or Wayland.

                                        R 1 Reply Last reply
                                        0
                                        • K KBZX5000

                                          I sometimes do R&D projects (from the corporate side) with Universities. Even though they suck at python, they still insist on using it most of the time. I don't mind it, python is decent enough, but I'm not installing a crappy distro on a VM and sinking hours into setting it up So I default to the Linux Subsystem for Windows. It works and it's perfect if you don't care for X11 or Wayland.

                                          R Offline
                                          R Offline
                                          realJSOP
                                          wrote on last edited by
                                          #20

                                          I installed Linux so I don’t have to use win 10.

                                          ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                          -----
                                          You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                          -----
                                          When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups