{"id":874,"date":"2013-05-21T02:03:45","date_gmt":"2013-05-21T00:03:45","guid":{"rendered":"https:\/\/www.opengis.ch\/?p=874"},"modified":"2020-04-29T16:06:08","modified_gmt":"2020-04-29T14:06:08","slug":"getting-closer-to-taming-the-snake","status":"publish","type":"post","link":"https:\/\/www.opengis.ch\/it\/2013\/05\/21\/getting-closer-to-taming-the-snake\/","title":{"rendered":"Getting closer to taming the snake"},"content":{"rendered":"<p>very geeky but I have to post this:<br \/>\n<code>D\/Qt      (27512): src\/python\/qgspythonutilsimpl.cpp: 188: (runString) COMAND OK: import sys<br \/>\nD\/Qt      (27512): src\/python\/qgspythonutilsimpl.cpp: 188: (runString) COMAND OK: import os<br \/>\nD\/Qt      (27512): src\/python\/qgspythonutilsimpl.cpp: 188: (runString) COMAND OK: sys.path = [\"\/data\/data\/org.qgis.qgis\/files\/share\/python\",\"\/data\/data\/org.qgis.qgis\/files\/\/python\",\"\/data\/data\/org.qgis.qgis\/files\/\/python\" + \"\/plugins\",\"\/data\/data\/org.qgis.qgis\/files\/share\/python\/plugins\"] + sys.path<br \/>\nD\/Qt      (27512): src\/python\/qgspythonutilsimpl.cpp: 91: (initPython) newpaths: \"\/data\/data\/org.qgis.qgis\/files\/share\/python\",\"\/data\/data\/org.qgis.qgis\/files\/\/python\",\"\/data\/data\/org.qgis.qgis\/files\/\/python\" + \"\/plugins\",\"\/data\/data\/org.qgis.qgis\/files\/share\/python\/plugins\"<br \/>\nD\/Qt      (27512): src\/python\/qgspythonutilsimpl.cpp: 188: (runString) COMAND OK: from sip import wrapinstance, unwrapinstance<br \/>\nD\/Qt      (27512): src\/core\/qgsmessagelog.cpp: 45: (logMessage) 2013-05-21T01:57:20 [0] Python support ENABLED :-)<br \/>\n<\/code><br \/>\n<a href=\"https:\/\/i0.wp.com\/www.opengis.ch\/wp-content\/uploads\/2013\/05\/wpid-Screenshot_2013-05-21-02-10-29.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" title=\"Screenshot_2013-05-21-02-10-29.png\" class=\"alignnone size-full\" alt=\"image\" src=\"https:\/\/i0.wp.com\/www.opengis.ch\/wp-content\/uploads\/2013\/05\/wpid-Screenshot_2013-05-21-02-10-29.png?w=750&#038;ssl=1\" \/><\/a><a href=\"https:\/\/i0.wp.com\/www.opengis.ch\/wp-content\/uploads\/2013\/05\/wpid-Screenshot_2013-05-21-01-58-01.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" title=\"\" class=\"alignnone size-full\" alt=\"image\" src=\"https:\/\/i0.wp.com\/www.opengis.ch\/wp-content\/uploads\/2013\/05\/wpid-Screenshot_2013-05-21-01-58-01.png?w=750&#038;ssl=1\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>very geeky but I have to post this: D\/Qt (27512): src\/python\/qgspythonutilsimpl.cpp: 188: (runString) COMAND OK: import sys D\/Qt (27512): src\/python\/qgspythonutilsimpl.cpp: 188: (runString) COMAND OK: import os D\/Qt (27512): src\/python\/qgspythonutilsimpl.cpp: 188: (runString) COMAND OK: sys.path = [&#8220;\/data\/data\/org.qgis.qgis\/files\/share\/python&#8221;,&#8221;\/data\/data\/org.qgis.qgis\/files\/\/python&#8221;,&#8221;\/data\/data\/org.qgis.qgis\/files\/\/python&#8221; + &#8220;\/plugins&#8221;,&#8221;\/data\/data\/org.qgis.qgis\/files\/share\/python\/plugins&#8221;] + sys.path D\/Qt (27512): src\/python\/qgspythonutilsimpl.cpp: 91: (initPython) newpaths: &#8220;\/data\/data\/org.qgis.qgis\/files\/share\/python&#8221;,&#8221;\/data\/data\/org.qgis.qgis\/files\/\/python&#8221;,&#8221;\/data\/data\/org.qgis.qgis\/files\/\/python&#8221; + &#8220;\/plugins&#8221;,&#8221;\/data\/data\/org.qgis.qgis\/files\/share\/python\/plugins&#8221; D\/Qt [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_themeisle_gutenberg_block_has_review":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[30,14],"tags":[125],"class_list":["post-874","post","type-post","status-publish","format-standard","hentry","category-android-qgis","category-python","tag-qgis-org"],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":15596,"url":"https:\/\/www.opengis.ch\/it\/2025\/05\/28\/qgis-industry-solutions-developer\/","url_meta":{"origin":874,"position":0},"title":"QGIS &amp; Industry Solutions Developer\u00a0| 80 \u2013 100% (Remote)","author":"Marco Bernasocchi","date":"28 Maggio 2025","format":false,"excerpt":"\ud83d\udda5\ufe0f\ud83d\ude80 Join OPENGIS.ch as a QGIS & Industry Solutions Developer! We\u2019re seeking a skilled C++ and Python developer to contribute to QGIS core, build plugins, and deliver custom geospatial solutions. Work remotely with a dynamic, open-source-focused team. Apply now to help shape the future of geospatial technology!","rel":"","context":"In &quot;Job Postings Archive&quot;","block_context":{"text":"Job Postings Archive","link":"https:\/\/www.opengis.ch\/it\/category\/jobs\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.opengis.ch\/wp-content\/uploads\/2025\/03\/image.png?fit=1200%2C1167&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.opengis.ch\/wp-content\/uploads\/2025\/03\/image.png?fit=1200%2C1167&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.opengis.ch\/wp-content\/uploads\/2025\/03\/image.png?fit=1200%2C1167&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.opengis.ch\/wp-content\/uploads\/2025\/03\/image.png?fit=1200%2C1167&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.opengis.ch\/wp-content\/uploads\/2025\/03\/image.png?fit=1200%2C1167&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":3691,"url":"https:\/\/www.opengis.ch\/it\/2018\/04\/13\/porting-qgis-plugins-to-api-v3-strategy-and-tools\/","url_meta":{"origin":874,"position":1},"title":"Porting QGIS plugins to API v3 &#8211; Strategy and tools","author":"Marco Bernasocchi","date":"13 Aprile 2018","format":false,"excerpt":"The Release of QGIS 3.0 was a great success and with the first LTR (3.4) scheduled for release this fall, it is now the perfect time to port your plugins to the new API. QGIS 3.0 is the first major release since September 2013 when QGIS 2.0 was released. During\u2026","rel":"","context":"In &quot;Featured&quot;","block_context":{"text":"Featured","link":"https:\/\/www.opengis.ch\/it\/category\/featured\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2074,"url":"https:\/\/www.opengis.ch\/it\/2016\/05\/04\/qgis-qt5-and-python3-migration-current-state\/","url_meta":{"origin":874,"position":2},"title":"QGIS: Qt5 and Python3 migration, current state","author":"Matthias Kuhn","date":"4 Maggio 2016","format":false,"excerpt":"Behind the scenes a lot has happened to get ready for Qt5 and Python3. On the same codebase that is becoming the next release QGIS 2.16. This is really a great thing since we can focus work on a single master branch and I'm very happy that we got so\u2026","rel":"","context":"In &quot;C++&quot;","block_context":{"text":"C++","link":"https:\/\/www.opengis.ch\/it\/category\/programming\/cpp\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":147,"url":"https:\/\/www.opengis.ch\/it\/2010\/12\/01\/qgis-globe-plugin-installer-script\/","url_meta":{"origin":874,"position":3},"title":"QGis Globe Plugin installer script","author":"Marco Bernasocchi","date":"1 Dicembre 2010","format":false,"excerpt":"Lately, thanks to ma Master Thesis, I've been co-working on the Globe Plugin for QGis here my install script for a threaded version of QGis with the Globe Plugin. By now the Globe has stereo 3D support, keyboard navigation (try all the num key), mouse navigation, a gui to control\u2026","rel":"","context":"In &quot;C++&quot;","block_context":{"text":"C++","link":"https:\/\/www.opengis.ch\/it\/category\/programming\/cpp\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1668,"url":"https:\/\/www.opengis.ch\/it\/2016\/09\/07\/using-threads-in-qgis-python-plugins\/","url_meta":{"origin":874,"position":4},"title":"Using threads in QGIS python plugins","author":"Marco Bernasocchi","date":"7 Settembre 2016","format":false,"excerpt":"Here an example on how to work with threads in a consistent and clean manner in QGIS python plugins","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/www.opengis.ch\/it\/category\/programming\/python\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2059,"url":"https:\/\/www.opengis.ch\/it\/2016\/03\/23\/prepare-your-plugins-for-qgis-3\/","url_meta":{"origin":874,"position":5},"title":"Prepare your plugins for QGIS 3","author":"Matthias Kuhn","date":"23 Marzo 2016","format":false,"excerpt":"QGIS 3 is not yet there and there is still plenty of time to prepare and migrate. But I thought I would give some advice about things that you can keep in mind while working on your plugins to make your life easier when you will have to actually do\u2026","rel":"","context":"In &quot;Uncategorised&quot;","block_context":{"text":"Uncategorised","link":"https:\/\/www.opengis.ch\/it\/category\/uncategorised\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_shortlink":"https:\/\/wp.me\/pbdBtI-e6","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.opengis.ch\/it\/wp-json\/wp\/v2\/posts\/874","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.opengis.ch\/it\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.opengis.ch\/it\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.opengis.ch\/it\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.opengis.ch\/it\/wp-json\/wp\/v2\/comments?post=874"}],"version-history":[{"count":1,"href":"https:\/\/www.opengis.ch\/it\/wp-json\/wp\/v2\/posts\/874\/revisions"}],"predecessor-version":[{"id":11169,"href":"https:\/\/www.opengis.ch\/it\/wp-json\/wp\/v2\/posts\/874\/revisions\/11169"}],"wp:attachment":[{"href":"https:\/\/www.opengis.ch\/it\/wp-json\/wp\/v2\/media?parent=874"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.opengis.ch\/it\/wp-json\/wp\/v2\/categories?post=874"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.opengis.ch\/it\/wp-json\/wp\/v2\/tags?post=874"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}