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. Embedded Python?

Embedded Python?

Scheduled Pinned Locked Moved The Lounge
c++pythonhardwarequestion
6 Posts 4 Posters 2 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.
  • J Offline
    J Offline
    Jamie Hale
    wrote on last edited by
    #1

    Anyone ever done any embedded Python? MSVC++ specifically? I'm looking for some sample code, style suggestions, object heirarchies, and a forum in which to discuss this stuff. Know any? Other than the GvR docs? J

    C W J 3 Replies Last reply
    0
    • J Jamie Hale

      Anyone ever done any embedded Python? MSVC++ specifically? I'm looking for some sample code, style suggestions, object heirarchies, and a forum in which to discuss this stuff. Know any? Other than the GvR docs? J

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      We run Python as a scripting language, my job at the moment is to write a Win32 GUI library so we can create the GUI on the fly in Python. I don't know of any forums or other resources though, I bought a book. Christian As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet. Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.

      J 1 Reply Last reply
      0
      • C Christian Graus

        We run Python as a scripting language, my job at the moment is to write a Win32 GUI library so we can create the GUI on the fly in Python. I don't know of any forums or other resources though, I bought a book. Christian As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet. Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.

        J Offline
        J Offline
        Jamie Hale
        wrote on last edited by
        #3

        Which book? I've been trying to find one that has more than about 4 pages on extending and embedding. J

        C 1 Reply Last reply
        0
        • J Jamie Hale

          Anyone ever done any embedded Python? MSVC++ specifically? I'm looking for some sample code, style suggestions, object heirarchies, and a forum in which to discuss this stuff. Know any? Other than the GvR docs? J

          W Offline
          W Offline
          William E Kempf
          wrote on last edited by
          #4

          I haven't looked at it myself as I do little Python coding and no embedding, but you might want to take a look at Boost.Python in the Boost libraries (http://www.boost.org). (Is it embedding or wrapping?) William E. Kempf

          1 Reply Last reply
          0
          • J Jamie Hale

            Which book? I've been trying to find one that has more than about 4 pages on extending and embedding. J

            C Offline
            C Offline
            Christian Graus
            wrote on last edited by
            #5

            I bought the Python Developers HAndbook (ISBN 0672319942) and found it has very broad coverage of Python. Apart from that we used online docs ( which is how we did the embedding, and I'm using the Royal 'we', I was working on a paint program at the time ) Christian As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet. Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.

            1 Reply Last reply
            0
            • J Jamie Hale

              Anyone ever done any embedded Python? MSVC++ specifically? I'm looking for some sample code, style suggestions, object heirarchies, and a forum in which to discuss this stuff. Know any? Other than the GvR docs? J

              J Offline
              J Offline
              Jim Wuerch
              wrote on last edited by
              #6

              Well, it's not an answer to your question, but have you looked at Lua? Lua is small, fast, and very easy to embed. www.lua.org Jim Wuerch www.miwasoft.com Quote from my readme files: "This is BETA software, and as such may completely destroy your computer, change the alignment of the planets and invert the structure of the universe."

              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