Turn any image into ASCII art! (Easy Python PIL Tutorial)

Поділитися
Вставка
  • Опубліковано 18 вер 2024

КОМЕНТАРІ • 264

  • @KiteHQ
    @KiteHQ  4 роки тому +50

    If you guys made it to the comments, let us know what images you turn (or want to turn) into a ASCII art!

    • @nassimnedjar2063
      @nassimnedjar2063 4 роки тому

      it works so good!!

    • @nassimnedjar2063
      @nassimnedjar2063 4 роки тому

      I don't know how to put images in comments using UA-cam, but it's so fine !! good job man!!

    • @malar5421
      @malar5421 4 роки тому

      I got my script working after a long time.But it works really great.
      :-)

    • @humptydumpty6323
      @humptydumpty6323 4 роки тому

      I have a problem showing in sublime. It is showing :-
      AttributeError: 'NoneType' object has no attribute 'convert'. I am using ubuntu

    • @malar5421
      @malar5421 4 роки тому

      @@humptydumpty6323 can you please share your full trace back message?

  • @martinmartin8894
    @martinmartin8894 4 роки тому +72

    Great tutorial! To maintain the image aspect ratio in ascii format i modified the ratio line of code:
    ratio = height / width / 1.65
    Thank You!

    • @Canttakethatback
      @Canttakethatback 4 роки тому

      worked for me thanks! but what does 1.65 stand for

    • @martinmartin8894
      @martinmartin8894 4 роки тому +10

      @@Canttakethatback Ascii characters hight and width are not equal. Hight is about 1.65 times bigger than width - depending on display. So to compensate that, i added / 1.65

    • @__blank__4193
      @__blank__4193 3 роки тому

      With value 2 it's much better

    • @davisionairy4680
      @davisionairy4680 3 роки тому

      @@Canttakethatback How do you actually do this? I tried to do a image of a celebrity to make my friend laugh. But when I copy n paste it doesnt work

    • @jasonreichert2430
      @jasonreichert2430 2 роки тому

      That worked out perfectly for exactly what I needed. Big time thank you!

  • @DoubleFL3X
    @DoubleFL3X 3 роки тому +23

    is not a valid pathname to an image. (Solved)
    In the first line change
    import PIL
    to
    from PIL import Image
    and in line 29 remove this
    PIL.

    • @niterider3622
      @niterider3622 3 роки тому +1

      Dude it still doesn’t work, I’m not sure what I’m doing wrong

    • @DoubleFL3X
      @DoubleFL3X 3 роки тому +1

      @@niterider3622 the image and the code should be in same folder

    • @quahmingjun7246
      @quahmingjun7246 3 роки тому

      @@DoubleFL3X there isn't a need tho lmao

    • @dennistac5549
      @dennistac5549 3 роки тому

      winner here!!

    • @asdqwe7179
      @asdqwe7179 3 роки тому

      Thanks

  • @hobbycaptain8792
    @hobbycaptain8792 3 роки тому +4

    This is video is great. I have been critiquing my coding in an attempt to improve, and my style is similar to yours and works very well for clean clear writing and editing but doesn't seem to be the norm. I think that people could learn a lot from you. Thank you.

  • @seamuskills
    @seamuskills 3 роки тому +18

    you went a little too fast but after making youtube play it at 0.75 speed this tutorial was amazing, thanks

  • @josephololade
    @josephololade 4 роки тому +24

    Was thinking about this few weeks ago wondering how it's been done

    • @thebry4n547
      @thebry4n547 3 роки тому +1

      Likewise bro, but animated

    • @davisionairy4680
      @davisionairy4680 3 роки тому

      When I try to copy n paste a image it doesnt work

  • @mohamedpedrou2898
    @mohamedpedrou2898 3 роки тому +4

    Such an underrated channel
    You deserve better

  • @tanercoder1915
    @tanercoder1915 4 роки тому +3

    interesting quick weekend project to tinker with. thank you!

  • @ot8983
    @ot8983 7 місяців тому +4

    Great tutorial. But you often just type and run over what you type quickly with absolutely no explanation as to what it is, so I'm left feeling like I just copied a code manually rather than learned something new.

  • @0xchef978
    @0xchef978 2 роки тому +3

    Hey could you help? I'm having trouble with the import PIL.Image. I've tried looking everywhere and see no info about how to get it to work

  • @em_iiy
    @em_iiy 4 роки тому +6

    Really cool video!
    Would it be possible for you add a simple animation to visually explain what you are doing. Since i often find myself replaying parts of the video to get an idea what the code you wrote does.
    Anyway, I recently found your channel, and i'm really enjoying your videos.

  • @shouryadeepbera7114
    @shouryadeepbera7114 4 роки тому +13

    can you please upload it in github?

  • @bigmancozmo
    @bigmancozmo 4 роки тому +5

    **sees doge on thumbnail**
    me be like: I. MUST. CLICK. THE. MYTHICAL. DOGE

  • @Brandon-gy6rt
    @Brandon-gy6rt 4 роки тому +8

    im getting invalid path names, even though I copy the absolute pathname/ path from content root into the command prompt

    • @SalvettiRocco
      @SalvettiRocco 3 роки тому

      same

    • @gabrielesolms7048
      @gabrielesolms7048 3 роки тому

      what do you mean, how do i fix this

    • @maxinator1830
      @maxinator1830 3 роки тому +1

      @@SalvettiRocco You need to write "from PIL import Image"

    • @maxinator1830
      @maxinator1830 3 роки тому

      @@quahmingjun7246 You need to write "from PIL import Image"

    • @maxinator1830
      @maxinator1830 3 роки тому +1

      @@gabrielesolms7048 You need to write "from PIL import Image"

  • @abdullahabd7677
    @abdullahabd7677 3 роки тому +4

    The main function is kinda sketchy.
    Three level function argument passing doesn’t look that good. Anyone have that PEP reference for this?
    Thaf list comprehension compromises readability.

  • @goblockgames4524
    @goblockgames4524 3 роки тому +2

    Thanks brother! this really helps me!

  • @humaysdova9560
    @humaysdova9560 2 роки тому +2

    Great tutorial! Thank you

  • @tqracing
    @tqracing 4 роки тому +7

    For the aspect ratio to work you need to account for the character dimensions.

  • @rodricbr
    @rodricbr 3 роки тому +12

    I'd recommend to slow down the tutorial, because this guy is a speech machine

    • @tr4976
      @tr4976 3 роки тому

      i agree... i'm a beginner, and... i am so lost, how do people talk so fast :(

  • @carlosalmasque8060
    @carlosalmasque8060 3 роки тому +4

    I have an error that says "Unable to import 'PIL.Image' " and there was an unused variable 'image' what did I do wrong to correct it?

    • @MygenteTV
      @MygenteTV 3 роки тому

      try running it using python3.9 or just install the module

  • @thingthing978
    @thingthing978 2 роки тому +3

    Hi, I keep on getting the error "not a valid pathname to an image"
    as well as "UnboundLocalError: local variable 'image' referenced before assignment
    Any help please?

    • @elciocarlos3636
      @elciocarlos3636 2 роки тому

      insira a linha:
      from the PIL import image
      insert the line:
      from the PIL import image

    • @IntrestedInPy
      @IntrestedInPy Рік тому

      Replace with this line :

  • @financerunner
    @financerunner 3 роки тому +3

    Hi Kite, I’m trying to use a livestream webcam, possibly around 1 sample per second, and covert the text in a defined region to ASCII to be stored in a csv. I’m very very new to python and so I’m wondering if you know how I might go about that

  • @gabri3ltz
    @gabri3ltz 3 роки тому +9

    I get the following result:
    "new_image_data = pixels_to_ascii(grayfy(resize_image(image)))
    UnboundLocalError: local variable 'image' referenced before assignment"

  • @obit0330
    @obit0330 4 роки тому +2

    more py tutorial, already subs

  • @pixepo
    @pixepo Рік тому +1

    it keeps saying invalid path for image even though the image is in same folder , I also give it full path.. help?

  • @anemone5264
    @anemone5264 Рік тому

    Thank you Kite!

  • @toremolin9709
    @toremolin9709 4 роки тому +8

    it just says that it's not a valid pathname to an image even though i use .jpg

    • @samkerr2010
      @samkerr2010 4 роки тому

      Did you find a fix?

    • @aswinjose9475
      @aswinjose9475 4 роки тому +1

      Try putting the image in the same folder as the code.

    • @khwaishtongia1687
      @khwaishtongia1687 4 роки тому +1

      try from PIL import Image.

    • @0xtanishq
      @0xtanishq 4 роки тому

      @@khwaishtongia1687 i tried every fix, but didn't worked!

    • @hashstation74
      @hashstation74 4 роки тому

      same problem here

  • @cjprocker
    @cjprocker 3 роки тому +4

    does this work in IDLE python?

  • @Spenpai
    @Spenpai 3 роки тому +2

    I managed to get work with image sets, as an animation of ASCII characters.
    I added a few more input variables like number of images and image type, and added a frame delay so that it would print to the console with distinct frames instead of being to fast for the human eye.
    The animation frames will just go on loop, because I though it would be underwhelming if it just showed the animation one time.

  • @kfo-noah5690
    @kfo-noah5690 3 роки тому +2

    I did cd desktop but it said that the system can’t find the given path

  • @jeff4ever2
    @jeff4ever2 3 роки тому +2

    UnboundLocalError: local variable 'image' referenced before assignment
    someone can help me??

  • @GamaPerkasa
    @GamaPerkasa 3 роки тому

    it was great, super cool library. thxs

  • @fgomez
    @fgomez 4 роки тому +3

    What a great tutorial. Please share the Github link

    • @KiteHQ
      @KiteHQ  4 роки тому +3

      Thanks for the reminder! We've added our repo link in the description. Here's the link for this project: github.com/kiteco/python-youtube-code/tree/master/ascii

  • @martinbergstrom7555
    @martinbergstrom7555 4 роки тому +1

    Cool stuff!

  • @thereedededge
    @thereedededge 2 роки тому +1

    im getting a few errors saying it has no attribute convert or getdata

  • @noobindianguy1875
    @noobindianguy1875 2 роки тому

    my brain cells explode after watching this

  • @svinosuke
    @svinosuke 2 роки тому +1

    Hey my image paths dont seem to be working for some reason any fixes?

  • @manavgandhi1891
    @manavgandhi1891 3 роки тому +2

    it shows this ModuleNotFoundError: No module named PIL.image, though i have pillow installed in my system.

  • @rishabhsharma6084
    @rishabhsharma6084 4 роки тому +2

    youtube sent me notification today(5days later)😒😒 wtf UA-cam

  • @霞ヶ丘詩羽-v6k
    @霞ヶ丘詩羽-v6k 4 роки тому +3

    Thank you

  • @TheBrownWitch
    @TheBrownWitch 2 роки тому +1

    Ok, so I followed everything and I also had to install PILLOW module because PIL.Image is not an pre-installed package. And I also run the program and it runs smoothly but when showing the output it basically does nothing but show some dots, it looks nothing like the image I entered. I dont know why this is happening. Is it because I am using IDLE interpreter? If anyone knows why this is happening do let me know

  • @asifiqbal5713
    @asifiqbal5713 3 роки тому +1

    PIL not working... Can anyone help?

  • @maxziebell4013
    @maxziebell4013 4 роки тому +1

    Awesome!

  • @LuckyLootCrate
    @LuckyLootCrate 4 роки тому +1

    Tysm :D

  • @danielhildebrand7684
    @danielhildebrand7684 2 роки тому

    Very good!

  • @largo9711
    @largo9711 3 роки тому +1

    Line 37??

  • @comicatomics
    @comicatomics 3 роки тому +1

    All it does is that it keeps saying "'import' is not recognized as an internal or external command,
    operable program or batch file."
    I've followed everything else in the tutorial, but I'm really frustrated with the end result being nothing

    • @basiladeeb
      @basiladeeb 2 роки тому

      In case you are still lost, you need to install a Python interpreter. There are many interpreters for Python, and I personally use the IDLE interpreter.

    • @Quoneel
      @Quoneel 2 роки тому

      This sounds like you haven't properly set up python.

  • @shasoqa
    @shasoqa 2 роки тому +1

    Nice guide!
    But what does 'pixel//25' stand for? When join method iterates through 'pixels' which type does 'pixel' get?
    Thx a lot.

    • @gecicihesap901
      @gecicihesap901 2 роки тому +2

      // is the operation for floor divison. This guarantees that we get an integer as the result. So "pixel//25" divides the intensity of the pixel by 25 and rounds it to the smaller integer. The important thing to notice is that he is using the result of "pixel//25" (e.g. let's say 3) to choose an element from the list of ASCII charachters he made earlier (so in our example, it would choose the 4th element, which is "%"). This is also why ASCII charachters were listed in descending intensity at the start.

    • @vojtechsokala3611
      @vojtechsokala3611 Рік тому +2

      @@gecicihesap901 Thanks for explaining when i changed ammount of ASCI chars i got error.

    • @gecicihesap901
      @gecicihesap901 Рік тому +1

      @@vojtechsokala3611 No problem, mate!

  • @DaDevKing
    @DaDevKing 2 роки тому +1

    It says PIL.image module does not exist

    • @cheems24
      @cheems24 2 роки тому

      you figure out how to install PIL?

    • @DaDevKing
      @DaDevKing 2 роки тому

      @@cheems24 nope

  • @mdg61313
    @mdg61313 2 роки тому

    how do I make the lines larger than 100 characters, I tried changing this line larger than 100 but that didn't make a difference.
    resize_image(image, new_width=1680): any thoughts on how to make this bigger ?

  • @jiriheistein4372
    @jiriheistein4372 4 роки тому +1

    I wasn't able to install Kite. My CPU is not supported. Do I have any other option please?

  • @younsrl1493
    @younsrl1493 2 роки тому +1

    How do u know that u need to do a floor division by 25?

    • @gecicihesap901
      @gecicihesap901 2 роки тому +1

      You can technically choose anything as long as your ASCII character list is 1 + 255//the_number_you_chose long. Example:
      If you do floor division by 50, you would need an ASCII character list that has 6 elements.
      If you do floor division by 10, you would need an ASCII character list that has 26 elements.
      What changes is the details. Also, finding 26 ASCII character that reasonably decrease in intensity would be too hard.

  • @samu-yx8zv
    @samu-yx8zv 2 роки тому +1

    3:14 can someone please explain the [ASCII_chars[pixel//25]] part please?

    • @gecicihesap901
      @gecicihesap901 Рік тому +1

      I am 5 months late, but here it is (copy of my previous comment):
      // is the operation for floor divison. This guarantees that we get an integer as the result. So "pixel//25" divides the intensity of the pixel by 25 and rounds it to the smallest integer. The important thing to notice is that he is using the result of "pixel//25" (e.g. let's say 3) to choose an element from the list of ASCII charachters he made earlier (so in our example, it would choose the 4th element, which is "%"). This is also why ASCII charachters were listed in descending intensity at the start.

    • @konstantineendeladze9029
      @konstantineendeladze9029 Рік тому +1

      @@gecicihesap901 wow thanks so much. You helped me a lot

    • @gecicihesap901
      @gecicihesap901 Рік тому +1

      @@konstantineendeladze9029 No problem, mate! I am studying computer science, always a pleasure to help others who want to learn it.

  • @ghostmonster6044
    @ghostmonster6044 3 роки тому

    Can you help me solve one error about : import "PIL.Image" could not be resolved from source Pylance(reportMissingModuleSource) [1,8]

  • @SaritaKumari-oe5dc
    @SaritaKumari-oe5dc 3 роки тому +1

    Plz help me I have a error saying "local variable 'image' referenced before assignment

    • @sphires
      @sphires 3 роки тому

      image is created in the try statement, check the output to see if the exception is printing

  • @walterpaizinho
    @walterpaizinho 2 роки тому +1

    good job!
    Hey man, how would I do a python request for a url and pull an image of a chemical structure in the terminal? is it possible?
    thanks

    • @danielhildebrand7684
      @danielhildebrand7684 2 роки тому

      Idk if you're on linux, but I use wget and "url" in the terminal.

  • @karmitfrog7968
    @karmitfrog7968 10 місяців тому

    can i initialize utf32 / unicode too . if it is what should write

  • @dushyantrangarajan3036
    @dushyantrangarajan3036 3 роки тому

    actually i hav an issue
    the resize function is not working quite right..my ascii is as tall as a giraf

  • @sajiodude973
    @sajiodude973 4 роки тому +1

    bro can you please help me I am getting an issue:
    "C:\Users\MY BOOK\Documents\thumb-1920-606500.jpg is not a valid pathname to an image."
    bro I am stuck here please help me with a valuable info.
    your projects are really cool I am liking it quite a lot.

    • @DoubleFL3X
      @DoubleFL3X 3 роки тому +1

      In the first line change
      import PIL
      to
      from PIL import Image
      and in line 29 remove this
      PIL.

    • @freddaniel1
      @freddaniel1 3 роки тому +1

      @@DoubleFL3X Thaaaanks!!! This fixed the error

    • @C_SrajanAcharya
      @C_SrajanAcharya 2 роки тому

      @@DoubleFL3X not fixing tho

  • @rishikeshsheth104
    @rishikeshsheth104 2 роки тому

    I keep getting a ModuleNotFoundError for PIL. What shoudl I do?

  • @nataliasouza9208
    @nataliasouza9208 3 роки тому +1

    How i made this into a .exe with a graphic interface? Anyone knows what i need to use to do? And i will ger with python language? - i tried to think in make a site and attempt to convert to exe but idk if work

    • @MygenteTV
      @MygenteTV 3 роки тому

      use kivy for that

    • @aradhaymathur
      @aradhaymathur 3 роки тому

      Use tkinter and pyinstaller
      Pyinstaller need to be installed first.
      After that convert the program using pyinstaller

  • @yovisstar
    @yovisstar 3 роки тому +2

    Nice tutorial. But i have a question, why does the ascii pixel is divided by 25?

    • @ankitchaurasia8016
      @ankitchaurasia8016 3 роки тому

      Found answer?

    • @dancetothemusic99
      @dancetothemusic99 3 роки тому

      Grayscale values are 0 - 255. You want to map that to 10 characters.

    • @abhaynambiar271
      @abhaynambiar271 3 роки тому

      @@dancetothemusic99 isn't it 11 chars?

    • @dancetothemusic99
      @dancetothemusic99 3 роки тому

      @@abhaynambiar271 Ah yes, 11 characters. Flat dividing any 0 to 255 by 10 will give you 11 results INCLUDING zero.

    • @abhaynambiar271
      @abhaynambiar271 3 роки тому

      @@dancetothemusic99 ahhh that makes sense thanks

  • @anthonyrandazzo4719
    @anthonyrandazzo4719 8 місяців тому

    Hey sorry for the ignorance, but when i run the script it tells me no module named 'PIL'. This is my first time in Python so my bad haha.

    • @ot8983
      @ot8983 7 місяців тому

      same here. did not find a solution

    • @nuudlz5068
      @nuudlz5068 Місяць тому

      run pip install PIL

  • @vanmanhtran4813
    @vanmanhtran4813 3 роки тому +1

    how to print it with color?

  • @humptydumpty6323
    @humptydumpty6323 4 роки тому +2

    I have a problem showing in sublime. It is showing :-
    AttributeError: 'NoneType' object has no attribute 'convert'. I am using ubuntu

  • @jonathandias3403
    @jonathandias3403 3 роки тому

    def main(): not working. Just says its invalid syntax

  • @stephencurry3502
    @stephencurry3502 3 роки тому

    by the time i wrote 'import PIL.Image', you already completed the try block! Please try to type a bit slower

  • @tomcorlay7380
    @tomcorlay7380 3 роки тому +1

    Dont work for me

  • @userou-ig1ze
    @userou-ig1ze 4 роки тому +1

    I love this guy and how he precisely comments the code speaking. But I also hate him because he reminds me so much of the college humor guy (the voice). And I hate that guy (jake & amir).

  • @filahatube
    @filahatube 3 роки тому +1

    NameError : le nom 'image' n’est pas défini

  • @syahrilhidayat6039
    @syahrilhidayat6039 2 роки тому

    I save the project and images in a folder, but when I want to open the image there is a message ril.jpg is not a valid pathname to an image. can you help me?

  • @usertechgamer2310
    @usertechgamer2310 4 роки тому +1

    Hello bro, it says that "is not a valid pathname to an image." when I try to put. "picture.jpg" (this is the real name of picture)

    • @0xtanishq
      @0xtanishq 4 роки тому

      @Chiba Liba I tried that but didn't worked!

    • @muhammadkhafidprayoga2608
      @muhammadkhafidprayoga2608 4 роки тому

      same, i use ubuntu 20.04

    • @DoubleFL3X
      @DoubleFL3X 3 роки тому +3

      In the first line change
      import PIL
      to
      from PIL import Image
      and in line 29 remove this
      PIL.

    • @muhammadzubair7419
      @muhammadzubair7419 3 роки тому +1

      @@DoubleFL3X thanks bro its working

    • @sagarnewpane8549
      @sagarnewpane8549 3 роки тому

      @@DoubleFL3X Thanks man it worked!

  • @echoptic775
    @echoptic775 3 роки тому +1

    Ascii to image when?

  • @mapstardust9761
    @mapstardust9761 2 роки тому

    Line 27: path = input("Enter a valid pathname to an image:
    ")
    ^
    IndentationError: expected an indented block remove this 27?

    • @csicee
      @csicee 2 роки тому

      indent it

  • @pranavendudas6126
    @pranavendudas6126 2 роки тому

    Can we Try it Out in Android Devices in Pydroid3?

  • @GuadelupeCooks
    @GuadelupeCooks Рік тому

    I would like to ask How can I add a comment that can be printed along with the image or after the image? Also, can I compile this Python code into a exe file?

    • @GuadelupeCooks
      @GuadelupeCooks Рік тому

      I added the print() statement. Can this code be compiled with pyinstaller?

  • @wyttee
    @wyttee 4 роки тому +1

    That was awesome ...👏👏👏👏

    • @KiteHQ
      @KiteHQ  4 роки тому

      🙌 thank you!

  • @konstantineendeladze9029
    @konstantineendeladze9029 Рік тому

    Can anyone explain why do we devide pixels over 25?

  • @Raw-addict33
    @Raw-addict33 2 роки тому

    What if, at the end, I want to export to Jpg or Jpeg instead of .txt? thanks !!

    • @Joe-rx2lq
      @Joe-rx2lq 2 роки тому +1

      ascii is an format of characters that you type in, like these ones i am so there is no way u can do .jpg or .jpeg

  • @shemkipruto4394
    @shemkipruto4394 7 місяців тому

    Here is a challenge , do it in google colab

  • @hichembenberna4745
    @hichembenberna4745 3 роки тому

    Please tell me how can i get a pathname

  • @redjells5530
    @redjells5530 2 роки тому

    I have an error! it says ' ModuleNotFoundError: No module named ' PIL ' ' - if someone can help me, that would be great. thanks

    • @lolita001
      @lolita001 2 роки тому

      sudo pip install Pillow

  • @IntrestedInPy
    @IntrestedInPy Рік тому +1

    📌⚠Hey guys, I find out a solution for the ERROR: ------ is not a valid pathname to an image. All you have to do is Replace with this line :

  • @sapy4124
    @sapy4124 2 роки тому

    My program is not even opening.....why?

  • @pimysoft2896
    @pimysoft2896 3 роки тому +1

    Wait, i don't understand that //25

  • @kn-uh1zh
    @kn-uh1zh 3 роки тому

    when i try to run code it says ModuleNotFoundError: No module named 'PIL'
    referring to the import PIL image how do i get this to work

    • @jonathanf680
      @jonathanf680 3 роки тому +2

      In the command line write:
      cd [here the path to the folder where your python file is]
      And then:
      pip install PIL

    • @xavierang3186
      @xavierang3186 3 роки тому

      @@jonathanf680 where is the command line

    • @quahmingjun7246
      @quahmingjun7246 3 роки тому

      @@xavierang3186 powershell or CMD

  • @BluGlaxian
    @BluGlaxian 3 роки тому

    am i just slow or something i have him at 0.25 speed and i still cant follow hes so fast

  • @_grayven1202
    @_grayven1202 2 роки тому

    Can I just copy paste all this please? I'm not interested in coding and typing all this myself seems pointless

    • @elmetiu
      @elmetiu 2 роки тому

      write from PIL import Image instead of import PIL

  • @paulboss5524
    @paulboss5524 3 роки тому

    у меня что то не работает я не могу ему скормить картинку которую хочу преобразовать в ascii

  • @philtoa334
    @philtoa334 3 роки тому

    Nice

  • @3taktmotor
    @3taktmotor 3 роки тому +2

    😩 Why dis be complicate just want hampter Text impress meme people🥺

  • @mr.bazuka9756
    @mr.bazuka9756 2 роки тому

    Why I get this error?``` list index out of range```

    • @gecicihesap901
      @gecicihesap901 2 роки тому

      Your ASCII character list doesn't have enough elements
      OR
      You forgot to do floor division

    • @mr.bazuka9756
      @mr.bazuka9756 2 роки тому

      Thanks for replying but i figured out that my list had 1 element short 😅

  • @tomay3000
    @tomay3000 Рік тому

    does kite support Notepad++?

    • @ot8983
      @ot8983 7 місяців тому

      kite has been discontinued

  • @bishowpandey8205
    @bishowpandey8205 4 роки тому +1

    Awesome 👍
    Why not uploaded AI and ML videos

    • @KiteHQ
      @KiteHQ  4 роки тому

      You might enjoy this one! ua-cam.com/video/FE_oAQ5FzMk/v-deo.html

  • @joedew4183
    @joedew4183 3 роки тому

    how do i get PIL

  • @seeforkat
    @seeforkat 3 роки тому

    neat

  • @gmodandhl2experiments849
    @gmodandhl2experiments849 2 роки тому

    i used the one on your git repo, gave it an image and it wont work

    • @elmetiu
      @elmetiu 2 роки тому

      same :(

    • @elmetiu
      @elmetiu 2 роки тому

      solved it write from PIL import Image instead of import PIL, then solve the warning that should appear

  • @mikhrael
    @mikhrael 3 роки тому +1

    asdf.jpg is not a valid pathname to an image.
    Holy fuck I'm going insane

    • @DoubleFL3X
      @DoubleFL3X 3 роки тому +1

      In the first line change
      import PIL
      to
      from PIL import Image
      and in line 29 remove this
      PIL.

  • @krmklx_
    @krmklx_ 2 роки тому

    is not a valid pathname to an image It says this

  • @l.lawliet4584
    @l.lawliet4584 3 роки тому

    can someone give me the python file plz