Coding Grace at GDG's Google Women TechMakers

That was a whirlwind of a ride yesterday evening. After being bedazzled by  the newer looking Google building, we arrived just in time to set up, wave and say quick hello to Ursula (who was giving the Intro to HTML5 that evening) and settled down for a short presentation by Raphael followed by me (Vicky) about Coding Grace.

Here are the presentation slides. The upcoming events can be found on Slide #5.

I proceeded on to the training room, great setup. We had WiFi, power source for each participant, projector that works, mics, and what I like most, the twin LCD tvs overhead in front of me so I can see what others can see via the projector.

There were a couple of beginner programmers, but most were curious about Python. I was glad to have Mick with me to push the class along as I was wary of the beginners and not to bore the programmers.

Some tidbits:

One of the main questions was to use Python 2 or 3. A re-cap that most major libraries have been ported to Python 3, however, there are lots of third party libraries that haven’t, but you can generally fork that code (normally on github or bitbucket) and patch it yourself on your own branch. A wee pain, but that’s if you want to use Python 3.

Here’s a bit of reading about it, as I said, it’s an age-old question: 
https://wiki.python.org/moin/Python2orPython3

And if you want to find out about porting from Python 2 to 3: 
http://docs.python.org/3/howto/pyporting.html

I do highly suggest use pip and virtualenv.
virtualenv is like sandbox, once you activate the virtual environment, you can install and play with libraries to your hearts content without mangling your system libraries. You can create Python 2 or a Python 3 virtual environments, which is great when trying out new libraries, or when development on projects using various versions of Python.  

What do you use Python for?

I have used it for small scripts to help me out in mundane tasks to websites to writing web apps.

Easier to show then list more:

Testing

Python has its own built-in unit test framework called unittest
http://docs.python.org/2/library/unittest.html

An alternative and nicer testing tool to use is pytest:
http://pytest.org/latest/ 

Best Practices

But do have a read through PEP 8 for best programming style and practices. The bone of contention for me when working on team projects has to be the inconsistencies with spaces for indentation. So make sure everyone on the team agrees what is the best practice to avoid future grievances in code reviews. :-)

I want to thank all those who came along to the workshop, apologies for boring some of ye (still chuckling after pulling up someone’s variable and printing out “bored guy”). It is a chance for people to ask questions, the workshop revolves in interaction between participants and mentors, and it’s not a conventional training workshop.

I want to thank Raphael for inviting me, and GDG & Google for running and host the event, Mick and Ursula for running the workshops. It was still enjoyable on my end, and I still learn something new with each experience mentoring as each group is so unique and different.

Us mentors had a couple of pints afterwards and brainstormed on how we can run more fun-filled workshops, and we have tapped an idea that will be announced in the coming weeks.

Coding Grace is always on the look out for volunteer mentors (Python, Ruby/RoR, functional programmers, opendata, game designers/artists/devs, web designers/developers and more).

We are also on the look out for fun ideas to base topics on as well, and we run workshops based on demand.

How to find out more:

Questions? Email: codinggrace@gmail.com

About Author

Vicky Twomey-Lee

Pythonista, but normally found organising various tech events, and now heavily involved in diversity initiatives like Coding Grace, PyLadies Dublin, and Women in Technology and Science (WITS Ireland).
👉 http://about.me/whykay

💖 Our Sponsor/Partner(s)

A huge thanks to following sponsor(s). If you like to support us, get in touch with us.

fourTheorem
Get involved

Interested? Talk to us.

Dublin City  Council PPN

Partner