Тёмный

Python ASCII Converter (Lab 5 // CS University) 

Noah Rubin
Подписаться 23 тыс.
Просмотров 3,1 тыс.
50% 1

In this episode, we write a simple Python programmer to convert to and from ASCII/Unicode.

Опубликовано:

 

17 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 6   
@georgezolla4580
@georgezolla4580 5 лет назад
Good stuff! It wets the appetite for If Then, Try/Catch blocks and lists!
@fernefer1071
@fernefer1071 5 лет назад
best tutorials for Python !
@MilanKarakas
@MilanKarakas 3 года назад
Oh, it remains ASCII after saving. For example, number 1 in file is 0x30, not 0x01.
@nro337
@nro337 5 лет назад
I love this ❤️
@frenzy9741
@frenzy9741 5 лет назад
You could use the len(), you overcomplicate things by NOT using it. just build a list called letters[] and drop all the letters you need, as strings. is WAY EASIER to do it like that and I'm sure beginners won't have trouble with it because believe me, you gonna use that as much as print() for this type problems.
@frenzy9741
@frenzy9741 5 лет назад
Also, you could also introduce for loops easily. Instead of doing that WET example you could make a for loop and make the code more modular (so the user can play with) and also add an infinite number chr() instead of being limited to four. You may also need to create lists and empty list sooo, ok maybe I end up expanding it too much, soooo, yeah, the code is gud.
Далее
CUDA Programming on Python
21:34
Просмотров 1,1 млн
How To Use Functions In Python (Python Tutorial #3)
14:55
How principled coders outperform the competition
11:11
11 Tips And Tricks To Write Better Python Code
11:00
Просмотров 605 тыс.
If __name__ == "__main__" for Python Developers
8:47
Просмотров 387 тыс.
Convert Characters into ASCII | Python (2020)
1:32
Просмотров 7 тыс.
How To Predict Random Numbers Generated By A Computer
13:54