Simulate Google GCP API Gateway and Cloud Functions for Local Dev with Nginx
Posted on Thu 17 November 2022 in Computing • Tagged with gcp, python, api gateway, cloud functions, nginx
Posted on Thu 17 November 2022 in Computing • Tagged with gcp, python, api gateway, cloud functions, nginx
Posted on Sun 06 December 2015 in Computing • Tagged with python
My very first post on this blog was how to build Python from source. In 2015 it turns out that this is a bit harder that it should be, and having wasted most of the morning working it out I'm posting the solution for future reference.
Building Python in the …
I never really feel like i'm any good at using Python unless I am doing cool things with List Comprehension.
Here's a quick example of nested list comprehension I used today to create a new list from a list containing lists of three items
Visually:-
[['mostly cloudy (day)', 'cloudy3.png …
Having ended up almost solely with Python at the end of a journey of many languages I have learnt and used; style has been something important to me.
Python has pep8 which states something's definitively such as:-
Posted on Tue 29 September 2009 in misc • Tagged with Python
I rarely use anything beyond named parameters, but this post captures what you need to know.
http://kbyanc.blogspot.com/2007/07/python-aggregating-function-arguments.html
Posted on Mon 21 September 2009 in misc • Tagged with Python
How easy it is to install python from source? Very.
./configure --prefix=/usr/local/python2.6/
make #(took 4mins on my x86_64 dc)
make install