Let's try one of these again
Python General - a general to answer questions about Python as well as discuss the language's features, libraries and everything else Python related.
What are you working on /g/?
How can python scale when everything just gets loaded into memory in order to do anything?
>>57807590
Generators
>>57807590
This isn't specific to Python, but:
1) Don't load *everything* it into memory
2) Distribute the load across multiple machines.
>>57807621
What does it not load?
What's the best resource to learn Python from that isn't kiddie tier shit or just printing for about 10 exercises in a row?
>>57807590
it doesn't really scale, at least not the same way a concurrent language like Go or even nodejs does.
>>57807684
Serious post.
https://docs.python.org/3/tutorial/
>>57807684
Learning by doing.
Just think of a project and start coding and googling.
>>57807684
The tutorial on the official website is quite good. It starts with the language syntax and then goes through Python's standard library
https://docs.python.org/3/tutorial/index.html
>>57807705
>>57807708
Thanks dudes.
Is Python a good first language to learn?
>>57807748
It's the best option to learn as the first language.
https://www.udemy.com/complete-python-bootcamp/
https://www.udemy.com/the-python-bible/
Which one /pyg/? any other good vidcourses?
>>57807748
Absolutely. The syntax really helps introduce general coding logic to a programmer just getting their feet wet.
using Tkinter, is there a way to dinamically change sizes of widgets?
I mean, to let the user drag and drop a border of the widget and change the size.
this is for a non-TopLevel widget, btw.
>>57807748
Yes, the best thing about it is that you can make something useful quite quickly.
>>57807806
Why use Tkinter instead of something like PySide? Just because it's part of the standard library?
>>57807839
Is PySide still maintained? Wouldn't PyQt be a better option in this case?
>>57807839
actually, yes.
as a kind of self-imposed challenge, I only want to use the standar library, so the fictional end-user doesn't have to install dependencies at all.
Anyways, do you recommend to just give up and switch to PySide?
>>57807865
>Is PySide still maintained?
I havent really looked into it, it seems like it's a year since last release. But there is a fork of it:
https://wiki.qt.io/PySide2
which is supported by the Qt Company.
>Wouldn't PyQt be a better option in this case?
Not if you want to actually earn money from what you code. The license for PyQt costs tons of money.
>>57807886
>as a kind of self-imposed challenge, I only want to use the standar library
Which is cool as fuck and likely a better way to do it in a lot of ways.
>Anyways, do you recommend to just give up and switch to PySide?
It's easier and you can easily make advanced GUIs which would take a lot of effort to make with Tkinter. Also trivial to port it to whatever OS you want.