Profilo di vale

Nome vale
Indirizzo email n/a
Messaggi2
  • Re: decodificare una stringa
    Forum >> Programmazione Python >> Calcolo scientifico
    Mi rispondo da sola...........







    pixel=eehggehhdeagefhfddbcadbecbcdcdaciffabbfchaaddbdcecafabbedecccececdbfdehhfibcaabfddcgegaabacddfcbcbfeedfdccd`dccf`bag`dfceceddad`cefhggbfjde`bicfggffddfcgcefhehcddfchdgcfacdb`fegfifgdahceidiehjjghhddafhgdaggegaefkihngihhejifehjikjdkgjgighechgehde`dcb
    x=[ord(c) for c in pixel]# una lista

  • decodificare una stringa
    Forum >> Programmazione Python >> Calcolo scientifico
    Buonasera,

    premetto che ho iniziato da poco a usare Python. Mi sono imbattuta in questo problema: ho una stinga in un elemento uint8[] che corrisponde a valori da 0 a 255.


    eehggehhdeagefhfddbcadbecbcdcdaciffabbfchaaddbdcecafabbedecccececdbfdehhfibcaabfddcgegaabacddfcbcbfeedfdccd`dccf`bag`dfceceddad`cefhggbfjde`bicfggffddfcgcefhehcddfchdgcfacdb`fegfifgdahceidiehjjghhddafhgdaggegaefkihngihhejifehjikjdkgjgighechgehde`dcb`dadddaddccfcdebdcacbcacafddecdadbacedbbadbcbc`a`bbccgdbfgdebekifidghdegbehfhfdfgihigifbcighidc`dcbefcccgceaddcfhdhfbdbbcdehddcccfddbceaecacbbb`bfegidfbfddbd`cfdegfchfeaeeidcbccgfbh``efcfgdhkhhhjimkkhffiljjnlhmgicbfeffgeefdbeggfdbaegfdeidcbfdhdjiihdhhhcc`dihfhifahehgdehhigjihhllemmlimgfjwrfmlnliflldbcfiijfhhhaehhhlmllqoqojlmnkfllorrqstgnirqmejppnkhqmjiijildghgehdihjnnnlkfklkkhiiaffgmkgejijhdihhhkefgddjklihjoqfnnqiimqmomnlnlikhedcgfhgjkihgighfhjfkikkhghmohhhacghehfeeghlkihdgfieh`cfddbachchcabadeeegedffdejkhkmrmpqslnkolrrsklqpxtsqpxsuyxxrqpprurrmqrslnifklckpkntvmplkjkjihhkdilknkincliibfjicfhkkjbdgchgklfeeiedhgiigihhijghggihchfehhhieoifknjnqqqihpomhklmlljkjgfkiehdchffgjhldefcgehcfgcfcaabhdegbgeddfchdgfbcehahehhiiighhfijgekiilhifhgiieigfhhjgehdfeedhhhkjidedhhifgdackjmhljgddhddchiklklgeehhfiejifhfhjihiegegifhffjikhighihieifhkhjehihghhjmgjlhjhcdhfebhichkjjgacbdfhaeeeefcigcagehf`hfkhnccebdeghhffgicgikdcccbdegjkifgbdgegeedeecafijbhkhcfcffgcecimlgefdbcac`edhejfhacfeecegihhcgkjjkjhhigeabadcgedgfdhebfcdchdbadeeihghedihiigfabcebbdbbdfhhhgeeehegehegf`adeehhecdahh`eehgebcfghdfegcdfaeabgbdgd^eacfgihhgcdabbdc`aachjhebcbebefgbhfggedbcfceaddbebdba_`bbed`cbfbdfjbe`cdaecdbggdfabbaaab`bdccgcfbebddddefch
    come faccio a decodificarla? Grazie