Coder Social home page Coder Social logo

Python3 not working (solved) about lifxlan HOT 4 CLOSED

frawau avatar frawau commented on August 23, 2024
Python3 not working (solved)

from lifxlan.

Comments (4)

mclarkk avatar mclarkk commented on August 23, 2024

I'm very excited about this, as I know others have wanted a Python 3 compatible version as well. I'm currently traveling, but I'll look into this soon and hopefully we can get a version up that works with Python 2 and 3! Thanks!

from lifxlan.

frawau avatar frawau commented on August 23, 2024

Well... what I did was pretty trivial... update the imports to add a dot in front of the module name and try to fix the fact that in 2.7 the label is a string whilst in python 3 it is a bytestring. Not rocket science.

Anyway, if your travels bring you to Bangkok, I'll buy you a drink .

from lifxlan.

mclarkk avatar mclarkk commented on August 23, 2024

I finally incorporated your changes into the library, with some extra changes for the new files that have been added since then :) Thanks a ton!

from lifxlan.

frawau avatar frawau commented on August 23, 2024

No problem. BTW, I took your mod'ed code and made a asyncio compatible library called aiolifx. Thanks to asyncio, discovery is a lot faster.

You did the hard work so thank you ;)

from lifxlan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.