Zoom Logo

Autobots - Gallery view
Carlos Kidman
21:33
Feel free to ask questions by coming off mute or writing it here
Divya
22:59
I don't see it
Alotaibi, Mazen Nasser A
23:22
I think you need ">" then "code"
Carlos Kidman
24:18
Fortunately, all this does is make it so you can run the code command in a terminal to open a folder. You can also just use File > Open in VS Code
Mazen
36:36
I don't use autosave because I like to spam ctrl+s
Mazen
45:01
for i=start; i<stop; i+=step
Mazen
45:48
for anyone familiar with JavaScript or C++
Divya
46:23
Thanks Mazen, this helps
Mazen
49:17
I do this a lot when I want to split my list/matrix into multiple parts. It is pretty powerful
Mazen
49:25
I am not there
Mazen
49:29
:p
Carlos Kidman
49:51
@Mazen you hangout on my stream so you good ;) lol
Carlos Kidman
52:13
Just like a regular dictionary, when you look through it, you find a word (aka KEY) and then read its definition (aka VALUE)
Carlos Kidman
55:25
Ask for a KEY and you get the VALUE

user[KEY] => VALUE
Carlos Kidman
55:42
user[“age”] # prints 37
Sri
55:46
Does anybody have the link to slack channel?
Peak
56:13
user["favorite_food"][2])
Carlos Kidman
56:19
Visit our website and click JOIN QA UTAH SLACK
Carlos Kidman
56:20
https://www.qap.dev/contact
Carlos Kidman
57:35
Good job, @Peak!
Peak
58:46
@carlos, could you please repeat the immutable part about dictionary? I missed parts of the whole sentence. :)
Daniel Floyd
59:03
https://jsonplaceholder.typicode.com/
Carlos Kidman
01:00:00
When it comes to dictionaries, the KEY can be any immutable type like strings, numbers, and even some objects! The VALUE can be any type including Lists and even other Dictionaries!
Peak
01:00:11
Thanks!!
Sri
01:00:49
You can install json formatter in chrome
Mazen
01:09:34
PyCharm consumes more RAMs than any known blackhole tho
Carlos Kidman
01:09:50
LOL srsly… it’s one of the main reasons I don’t use it
Dmitrii Kilishek
01:09:50
:) Nothing beats CHrome :)
Carlos Kidman
01:12:36
FUNCTION: a reusable block of code that does something
Carlos Kidman
01:13:10
MODULE: A python file with the .py extension. Python files can have functions, classes, objects, etc. All the good stuff!
Carlos Kidman
01:13:32
PACKAGE: A directory/folder that has one more python files (aka modules)
Carlos Kidman
01:14:13
*one or more
Daniel Floyd
01:18:14
https://pypi.org/
Daniel Floyd
01:20:11
https://docs.python.org/3/tutorial/venv.html
Mazen
01:26:01
I think MacOS and every Linux distro use Python 2.7 by default
Carlos Kidman
01:26:19
☝🏽
Mazen
01:26:42
@Carlos I use Linux so I can't see the icon, sadly
Carlos Kidman
01:27:03
It was just a hand pointing up meaning +1 to what you said haha
Mazen
01:27:31
oh nice, what I see is ascii, lol
Carlos Kidman
01:29:05
python —version
Carlos Kidman
01:29:19
python —version
Carlos Kidman
01:29:24
omg...
Mazen
01:29:57
python --version
Carlos Kidman
01:30:09
python3 —version
Mazen
01:30:21
Poor Mac users
Daniel Floyd
01:30:34
https://gleek-dan.gitbook.io/dev-info/python/virtual-environments
Mazen
01:30:39
-- != —
Carlos Kidman
01:30:40
Use python or python3, depending on which one prints out version 3.x
Divya
01:30:54
include, Lib, scripts on windows
Carlos Kidman
01:31:00
I hate Zoom’s chat… haha
Peak
01:31:10
:)
Carlos Kidman
01:31:32
Hate is a strong word. I dislike Zoom’s chat
Mazen
01:33:04
where python
Mazen
01:33:06
for windows
Dmitrii Kilishek
01:33:39
where python doesn't work in PS 7 :)
Mazen
01:34:46
It is cutting out a lot from my side
Jason Fairchild
01:35:01
same
Jacob Sparks
01:35:10
yes^
Dmitrii Kilishek
01:35:20
Yep.. can barely hear anything
Mazen
01:36:07
yup!
Carlos Kidman
01:36:13
Thanks for calling it out!
Dmitrii Kilishek
01:36:40
That's why I'm using wired headphones :) still... old school :)
Mazen
01:36:55
really?
Dmitrii Kilishek
01:37:17
Yep.. wired :) one a wired eithernet :)
Peak
01:37:20
really? I still get it.. maybe i'm in older version. I'm on window.
Carlos Kidman
01:37:55
Yeah, it’s from the Python extension. I think it changed a month or two ago?
Carlos Kidman
01:38:40
Not a big deal, but a lot of feedback was that the settings.json might be shared between people and having the environment path as a string would always cause a merge conflict
Divya
01:41:00
I didn't get the Successfully installed message
Carlos Kidman
01:41:24
Was there an error? What’s the last few lines it says?
Dmitrii Kilishek
01:41:33
pytest, requests
Carlos Kidman
01:41:38
$ pip instal pytest
Carlos Kidman
01:41:42
$ pip install requests
Mazen
01:43:10
better, python3 -m pip install [package]. Because pip might be mapped to a different python version (in macos case, python 2.7)
Peak
01:43:32
__init__.py
Carlos Kidman
01:43:34
If you’re in the venv, you are guaranteed to be in the correct version
Dmitrii Kilishek
02:03:20
File "c:\AllLearning\AllPython\autobots-fastapi-class\python_playground\tests\test_math_utils.py", line 1, in <module>from utils.math_utils import addModuleNotFoundError: No module named 'utils'Getting this :)
Sri
02:03:38
This is really great. Thanks a bunch.
Divya
02:04:12
Thanks so much. This was a really good session.
Carlos Kidman
02:04:44
Thanks for coming, everyone! Please feel free to ask any questions related to Python, the class, quality, testing, or anything else in general :)
Peak
02:05:42
Thank you @Daniel and @Carlos
Carlos Kidman
02:07:00
❤️
Coretta
02:11:00
Thanks