decompile .pyc python 3.12.0

There are 22 replies in this Thread which was already clicked 5,055 times. The last Post () by speedy005.

    • Official Post

    the online compiler doesn't work well.. it cuts the code and doesn't align it well

    An error occurred during compilation of the patch at line number: 434


    use the attachment and debug


    which skin are you using?


    put code
    screen name="Infobar"


    here

  • 14:28:57.2058 File "/usr/lib/enigma2/python/Components/Converter/xDreamy_mod_MSNWeather2.py", line 2097, in getText

    msnweather['Sunrise'] = '%s%s%s%s' % (SRh, unichr(58).encode("latin-1"), SRx, SRm)

    ^^^^^^

    14:28:57.2059 NameError: name 'unichr' is not defined



    with MSNWeather2.pyc al ok skin is xDreamy

  • Lowtemp0 Humidity Feelslike Hightemp0 Sunrise Sunset

    The information is not correct and is misrepresented

    Sunrise should be 07:15, for example

    That's probably how Lowtemp0 Lowtemp1 works for everyone

    Lowtemp2

    Lowtemp3

    Lowtemp4

    Hightemp0

    Hightemp1

    Hightemp2

    Hightemp3

    Hightemp4

    Lowtemp0

    Lowtemp1

    Lowtemp2

    Lowtemp3

    Lowtemp4

    • Official Post

    the time is taken from the link on msnweather (city) when you make the request it takes the time from there

    self.iConsole.ePopen("wget -P /tmp -T2 'http://weather.service.msn.com/data.aspx?weadegreetype=%s&culture=%s&weasearchstr=%s&src=outlook' -O /tmp/weathermsn2.xml" % (degreetype, weather_location, weather_city), self.control_xml)

    • Official Post

    place .pyc file here and I decompile it

    • Official Post

    from box


    Code
        def getText(self):
            year = float(strftime('%Y'))
            month = float(strftime('%m'))
            day = float(strftime('%d'))
            hour = float(strftime('%H'))
            min = float(strftime('%M'))
            sec = float(strftime('%S'))
    • Official Post

    https://github.com/Sirius0103/enigma2-plugins/blob/master/python/Plugins/Extensions/WeatherMSN/components/MSNWeather2.py

    @post

    are you kidding me?

    I gave him the file, these versions are all the same.

    The linked one is more than 3 years old.. it seems like you're competing with me.

    You continue with the user, I have other things to do friend

Chat about everything else!

A friendly forum for off-topic discussions, random questions, and community bonding. Your space for conversations outside our main categories. Discuss hobbies, news, games, or anything else with the wider community.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!