@lyse@lyse.isobeef.org I’m a big fan of using PyCharm and IntelliJ on large Python and Java codebases respectively. In my personal life, I mostly use Emacs (because I don’t hack much Java outside of work), but I do wonder what GoLand is like.
@movq@www.uninformativ.de
I’m not a Python programmer, so please bear with me.
The doc about encodings does also mention:
If you require a different encoding, you can manually set the Response.encoding property
Wouldn’t that be a one liner like (Ruby example)?
'some text'.force_encoding('utf-8')
I understand that you do not want to interfere with requests. On the other hand we know that received data must be utf-8 (by twtxt spec) and it does burden “publishers” to somehow add charset property to content-type header. But again I’m not sure what “the right thing to do” ™ is.
@movq@www.uninformativ.de I would not mind keeping a diff, if you tell me where to make the changes! I know nothing of Python, and I have spent already a couple of hours trying to make sense. I know it is there, in front of me, if only I knew Python. 😩
python 程式中的 sys.path 會自動隨 python 執行檔的所在位置改變而改變。這是好是壞呢…
Modern Tools
⌘ Read more
Really cool collection of Python Programming Tutorials ⌘ Read more…
https://www.youtube.com/watch?v=YXPyB4XeYLA python tkinter
https://python-poetry.org/ pipenv poetry python
https://github.com/coleifer/sqlite-web DB python sqlite
https://www.youtube.com/watch?v=jFCNu1-Xdsw code python tuto
https://code-maven.com/slides/python-programming/sort-dictionary-by-value dictionnary python sort
https://www.tutorialspoint.com/How-to-sort-a-Python-date-string-list datetime python sort
https://cjolowicz.github.io/posts/hypermodern-python-01-setup/ cli click poetry pyenv python
https://pandas.pydata.org/pandas-docs/stable/getting_started/tutorials.html data_analysis panda python
https://github.com/nuance/smarter-todo/blob/master/todo.py python todotxt
https://github.com/abztrakt/ya-todo-py python todotxt
https://tahe.developpez.com/tutoriels-cours/python-flask-2020/ code flask python
https://pythonbooks.revolunet.com/ books python
https://python-forum.io/ forum python
https://www.youtube.com/playlist?list=PLhTjy8cBISEpobkPwLm71p5YNBzPH9m9V android kivy python
https://blog.engineering.publicissapient.fr/2020/06/04/packaging-python-setup-py-et-setuptools/ pypi python setuptools
http://www.nltk.org/book/ch03.html nltk python text_analysis
https://docs.python.org/3/library/pathlib.html pathlib python
https://www.learnpyqt.com/ pyqt python
https://www.excelpython.org/ excel python
https://jdridgeway.com/python-3-generators/ generators python
https://github.com/nikhilkumarsingh/python-curses-tut curses python
https://zestedesavoir.com/tutoriels/1294/des-bases-de-donnees-en-python-avec-sqlite3/ BDD documentation python sqlite
https://github.com/shaarli/python-shaarli-client cli python shaarli
https://dabeaz-course.github.io/practical-python/Notes/Contents documentation python
https://pythontips.com/2015/06/06/why-should-you-use-namedtuple-instead-of-a-tuple/ namedtuples python
https://github.com/danialgoodwin/minimal–static-blog-generator generator python static
https://www.pythonanywhere.com/ cloud python pythonanywhere
http://datatrucmuche.com/memo-python-pour-la-data-science/ data_analysis data_science python
https://book.pythontips.com/en/latest/index.html documentation python pythontips tips
https://python-guide-fr.readthedocs.io/fr/latest/index.html code documentation python
https://github.com/python-mode/python-mode python vim
https://blog.tecladocode.com/pythons-namedtuples/ namedtuples python
https://www.mltut.com/python-tutorial/ python tuto