Love how frequent you post videos, and how they are practical every time. You have quickly became one of my number one resources when getting stuck on projects at home.
I noticed at 10:06, you copied the line of code where the cursor was at with a keyboard shortcut. I can't seem to find how to do the shortcut, if anybody could tell me what that shortcut is, it would be much appreciated!
i have a config file and declared with some variables in it. I would like to use some variables as a parameter in User defined function. For example : f1(config.VAL_PATH,config.DATASET_NAME) . But when i used like this i am getting Attribute Error. Eventhough config.py is available in same working directory. Pls help me to do in colab.
When reading from a config file, is it possible to validate the data? For example, I might expect a certain value to be between 1000 and 2000. If it’s not, I want to raise an exception.
Very cool :) Was thinking this might include Cisco network device configs - but still handy! Thanks for making the font large enough for me to watch on my phone on the way to work
For anyone who doesnt see the "number_guessing.ini" file on the left hand side ... What I did was created a folder on my desktop, dropped the current code file into that folder, then opened the folder via VSCode. Once the folder was open, select my current code file and then run. Once you run the program, the number_guessing.ini file will appear on the left hand side. Not sure why? If anyone can add to this or correct me if I am wrong, that would be great! :)
Completely lost you after the 5mins. Could you just initially do a SIMPLE write read so we can get the jist of what vars/arrays/bits/bytes/tuples/ or whatever can be got out of the file, and show goes where when why and how and then go on to write an RTOS, it really should be KISS Keep It Straight ^ Simple, I have created a data file and cannot get a string from it, python complains wrong format, so will give up and try another way for a 'simple' .ini to save so data. But many thks for you your attempt on this, at least I now know there are possibilities,.
Bro, trust me, if you can't do something with a library, doing it without one isn't going to be any less difficult. The reason people use libraries is because they make things easier. Much easier, in fact. Don't just rely on video tutorials, you'll actually learn more by reading the documentation. Look for configparser in the Python docs and read through the page carefully. If you're having trouble understanding that page then you haven't learned enough of the basics, so start reading the Python docs from the beginning. And be patient, learning programming takes time.
Love how frequent you post videos, and how they are practical every time. You have quickly became one of my number one resources when getting stuck on projects at home.
Lol, I never known there's a library for configs, i was parsing them manually in every single project i have, this saves alot of time
Are you psychic ? I literally started learning about config files and it seemed like you have made this video knowing it. Thank you very much.
Hacker h vo
Thanks man got me through the hardest part of my Rainmeter OS customization.
Ha, bro, literally this is what I got assigned to work on today at work and have never done this before. What amazing timing lol.
Nice! Previously used config parser on my motion detection project to hide my username and password. But this expands further on it’s uses. Thanks!
I believe it would be safer to use a .env file (dotenv) for storing sensitive information like passwords, etc
I noticed at 10:06, you copied the line of code where the cursor was at with a keyboard shortcut. I can't seem to find how to do the shortcut, if anybody could tell me what that shortcut is, it would be much appreciated!
This was a great into into Config files and reinforced with a great example. Thanks!
I've learnt so much Python from you, thank you!
Pls search itz shorts time
@@alien_X1 oO
Feels good to learn something new!
How do you then modify add delete more user with the main program any example?
Can you continue with the C tutorials, they were really interesting.
i have a config file and declared with some variables in it. I would like to use some variables as a parameter in User defined function. For example : f1(config.VAL_PATH,config.DATASET_NAME) . But when i used like this i am getting Attribute Error. Eventhough config.py is available in same working directory. Pls help me to do in colab.
When reading from a config file, is it possible to validate the data? For example, I might expect a certain value to be between 1000 and 2000. If it’s not, I want to raise an exception.
Very cool :)
Was thinking this might include Cisco network device configs - but still handy!
Thanks for making the font large enough for me to watch on my phone on the way to work
Very nice thanks !
Quick question brother how can i convert silverbullet config .svb to .py is there a repo in github that convert .svb or .loli to .py thanks alot
Nice one!
Plz provide intro music link
Really helpful
Thanks a lot 🎉🎉🎉🎉🎉
that was useful tnx
really good
I usually prefer json instead of conf files.
For anyone who doesnt see the "number_guessing.ini" file on the left hand side ...
What I did was created a folder on my desktop, dropped the current code file into that folder, then opened the folder via VSCode.
Once the folder was open, select my current code file and then run. Once you run the program, the number_guessing.ini file will appear on the left hand side.
Not sure why? If anyone can add to this or correct me if I am wrong, that would be great! :)
Muito top. Obrigado
Completely lost you after the 5mins. Could you just initially do a SIMPLE write read so we can get the jist of what vars/arrays/bits/bytes/tuples/ or whatever can be got out of the file, and show goes where when why and how and then go on to write an RTOS, it really should be KISS Keep It Straight ^ Simple, I have created a data file and cannot get a string from it, python complains wrong format, so will give up and try another way for a 'simple' .ini to save so data. But many thks for you your attempt on this, at least I now know there are possibilities,.
Teach me cython decompilation python file.
Doesn't even support lists bro
Don't make the same mistake i did and just use a different library or JSON
I hate it so many people use library's AND THEY NEVER WORK AND JUST MAKE IT HARDER I HATE THIS.
Bro, trust me, if you can't do something with a library, doing it without one isn't going to be any less difficult. The reason people use libraries is because they make things easier. Much easier, in fact.
Don't just rely on video tutorials, you'll actually learn more by reading the documentation. Look for configparser in the Python docs and read through the page carefully.
If you're having trouble understanding that page then you haven't learned enough of the basics, so start reading the Python docs from the beginning. And be patient, learning programming takes time.
cooooooooooool
:)
2nd :)
config file and password in this video
ua-cam.com/video/9m1AemjZg-M/v-deo.html
tooo much talking, bro just show the concept