Skip to main content

Search

Items tagged with: python


The new #LocatePress book "Earth Engine & Geemap - Geospatial data science with Python" by @giswqs has arrived! Looking forward to learn great stuff! #gee #Geemap #Python #GIS #DataScience https://blog.locatepress.com/new-release-earth-engine-geemap-by-qiusheng-wu/


#PyQGIS always seems to save the day - this morning it was updating unnamed fields in a vector layer to have more descriptive metadata accurate fieldnames🗺️ #QGIS #GIS #Python #GISChat


Oh hm now I wish I could do #CRTP in #Python. I guess I've been ruined by C++ forever.

#CPlusPlus


Anyway, I've now completed a full “solitaire” game of the #Python reimplementation of my #Ruby #IRC #bot #Machiavelli plugin (hashtag galore yeah), so I believe the logic itself to be robust enough. The next step would be to start interfacing it with Mastodon. One thing that worries me is that the table can get rather largish, which may trip the character limit.


So I've started porting my #Machiavelli #Ruby #IRC #bot #plugin (how's that for hashtags, uh?) to #Python, which has been a rather frustrating experience so far. I'm much more comfortable with Ruby than Python, but the languages are similar enough that the differences fall into that grating #uncannyValley experience. Also lots of bugs due to syntactical and behavioral differences (e.g. index() raising an exception instead of returning the null type). But things are moving forward.


Meanwhile I've discovered @halcy has written a #Python library for interfacing with Mastodon
https://github.com/halcy/Mastodon.py
that looks like a *much* better fit for writing the bot, especially since it supports the streaming API which is rather essential in this case. So I'm guessing it's time to start porting my #Ruby code to Python …


I've been thinking that something like @ihabunek `toot` could work as a basis for the bot. I haven't checked yet if it can be used as a #Python library, but worst case scenario I can probably shell out to it and use it literally as just I would any other CLI tool (bonus: I wouldn't have to port the #Ruby code of my #Machiavelli #IRC‌ #bot to Python 8-D).


Noob or “just” oldish?
Young Jedi Anmol Tomar, your pythoninc knowledge lacks historical viewpoint. List Comprehensions were the Python Enhancement Proposals( PEP) 202.

In fact Anmol Tomar wrote on medium.com "9 Python Mistakes That Reveal You’re a Nooby! Move away from noob status!". Too bad he want to be read only by people in medium walled garden. The fist is readable:

1. Neglecting Pythonic Idioms

https://monodes.com/predaelli/2023/08/13/noob-or-just-oldish/
#Python


Hello, I'm an environmental engineer, PhD, focused on #remotesensing and #gis .
Developer of the open source "Semi-Automatic Classification Plugin" (https://github.com/semiautomaticgit/SemiAutomaticClassificationPlugin) for #QGIS and "Remotior Sensus" (https://github.com/semiautomaticgit/remotior_sensus) package for #python
#introductions


The Semi-Automatic Classification Plugin for #qgis will be released in October 2023.

This new version will improve the capabilities of Semi-Automatic Classification Plugin, based on a completely new #python processing framework that is Remotior Sensus, developed for image classification such as #landsat #sentinel2 , #machinelearning and #gis spatial analyses.

https://fromgistors.blogspot.com/2023/07/Semi-AutomaticClassificationPluginReleaseDate.html

This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website.