No video

Learn TOML in 10 Minutes (Tutorial)

  Рет қаралды 25,541

Indently

Indently

Күн бұрын

Пікірлер: 28
@eksortso
@eksortso Жыл бұрын
This is a pretty good introduction to TOML. But I need to point out that single and double quotes in TOML work differently. Single quotes are used to write literal strings, which work like a strict version of Python's raw strings. Good for things like Windows paths. For that reason, you don't need to be consistent. Use what is best for your text.
@Indently
@Indently Жыл бұрын
And I made a YAML tutorial for monday :)
@user-gy7hs9xl5u
@user-gy7hs9xl5u 3 ай бұрын
The explanation is as clear as TOML syntax.
@AWriterWandering
@AWriterWandering Жыл бұрын
It’s like ini format on steroids.
@untakble
@untakble Жыл бұрын
true
@bartvandenpoel8568
@bartvandenpoel8568 7 ай бұрын
It's an ini file, structured as a good progammer would have done it 25 years ago.
@generalawareness101
@generalawareness101 Жыл бұрын
Load the TOML then modify a value in it how do we do that effectively?
@ccuny1
@ccuny1 Жыл бұрын
Thank you Frederico.I am using the latest version of VSC but not getting the the autocomplete/Intellisense or what you call the Copilot code completion. I did install the Intellisense (PyLance) extension recommended inside VSC, but I gloss over it as if it has been talked about elsewhere?do not get the same level of autocomplete and zero autocompletion inside the toml file. I suspect I need to "install" Copilot. Did I miss a video on that, as you seem to glass over it here, indicating maybe that is has been covered elsewhere? Anyway, great tut so thank you once again.
@Indently
@Indently Жыл бұрын
If you want code prediction, you will need to install copilot as an add on :)
@TheZazatv
@TheZazatv Жыл бұрын
thanks really thorough guide now i wonder should i use toml instead of yamls
@Indently
@Indently Жыл бұрын
I personally enjoyed TOML more, but I don't know if TOML is lacking in anything compared to YAML since I've used neither of them in big projects.
@higiniofuentes2551
@higiniofuentes2551 Жыл бұрын
Thank you for this very interesting video!
@mariocortes2670
@mariocortes2670 Жыл бұрын
Great tutorial.
@rishabhtomar7071
@rishabhtomar7071 10 ай бұрын
Its great to use toml but can't i just use normal json files and import those directly as dict. If there is no functional difference, logically with respect to python both are exactly same. I believe it is a matter of personal choise here.
@kunalsoni7681
@kunalsoni7681 Жыл бұрын
Fascinating 🤩🤩
@hlubradio2318
@hlubradio2318 3 ай бұрын
What is tomorrow used for
@kdshare6765
@kdshare6765 Жыл бұрын
hi, would you tell me what's the theme of your ide
@neo-sc6bf
@neo-sc6bf 3 ай бұрын
how do you do that '->'?
@principleshipcoleoid8095
@principleshipcoleoid8095 11 ай бұрын
When it comes to parsing, is it faster than json?
@dryoldcrabman6890
@dryoldcrabman6890 Жыл бұрын
cool thank you!
@Robbi9over
@Robbi9over Жыл бұрын
Is it possible to manipulate the toml file with python code?
@Indently
@Indently Жыл бұрын
Yeah, pretty much it converts dicts to TOML and you can do the same thing backwards.
@steelcock
@steelcock Жыл бұрын
Awesome 👍
@allokay3781
@allokay3781 Жыл бұрын
YAML fans say YAML is much easier to read than TOML. In this case I can give you these simple tips: 1. Indend the text in TOML This will improve readability a lot. 2. Split TOML into multiple files. If you do this readability in TOML is far better than before and not that much behind YAML anymore. In case of indending text you have even more possibilities as with YAML.
@higiniofuentes2551
@higiniofuentes2551 Жыл бұрын
But is this better than Yaml file?
@Indently
@Indently Жыл бұрын
Don't really know how companies decide, but I prefer TOML for I found it FAAARR more simple. To the point that I could make this video in 10 minutes vs the YAML video in 17.
@allokay3781
@allokay3781 Жыл бұрын
Yaml is easier to read, but far more complex. I would use TOML and split it into multiple files, so it's easier to read.
@MarioPanzer
@MarioPanzer 3 күн бұрын
Ich drin
Learn YAML in 17 Minutes (Tutorial)
17:52
Indently
Рет қаралды 14 М.
5 Good Python Habits
17:35
Indently
Рет қаралды 517 М.
مسبح السرير #قصير
00:19
سكتشات وحركات
Рет қаралды 11 МЛН
拉了好大一坨#斗罗大陆#唐三小舞#小丑
00:11
超凡蜘蛛
Рет қаралды 16 МЛН
"TypedDict" In Python Is Actually AWESOME!
7:32
Indently
Рет қаралды 29 М.
5 Useful Python Decorators (ft. Carberra)
14:34
Indently
Рет қаралды 99 М.
The most important Python script I ever wrote
19:58
John Watson Rooney
Рет қаралды 192 М.
Everything about TOML format
6:43
Orchard Dweller
Рет қаралды 45 М.
10 Important Python Concepts In 20 Minutes
18:49
Indently
Рет қаралды 86 М.
why are switch statements so HECKIN fast?
11:03
Low Level Learning
Рет қаралды 407 М.
How I'd Learn AI (If I Had to Start Over)
15:04
Thu Vu data analytics
Рет қаралды 790 М.