python
Python: call a function with more arguments on each element of a list
I'm recently working a lot with Python because I understood it perfectly fits my needs being powerful, clean and fast to develop with it.
If you program with it there are good chances that you will end up using lot of lists which are pretty well designed and powerful in Python.
A really useful function in Python is map() which let you execute one function on each element of a list:
L = [0.1, 0.4, 0.7] L2 = map(round, L) print L2 #output [0.0, 0.0, 1.0]
- fabio's blog
- Add new comment
- Read more
- 47 reads
Serial RS232 connections in Python
Here at ULPGC I'm following a Robotics course. In the practical part of the exam we have to write some applications to operating some didactics robots we have (Rhino XR-4 and SCARA Robots).
Each robot is connected to a Controller (Rhino Mark-4) which can be connected to a PC to send commands to the Controller in order to let the robots do things.
The PC to Controller connection is a serial RS-232 connection.
- fabio's blog
- Add new comment
- Read more
- 427 reads
Sudoku resolver in Python
A simple Sudoku resolver written in Python.
Sorry for the Italian code comments. Please add a comment below if you don't get parts of the algorithm.
- fabio's blog
- 1 comment
- Read more
- 850 reads

Recent comments
1 day 9 hours ago
2 days 1 hour ago
3 days 7 hours ago
4 days 14 hours ago
5 days 1 hour ago
5 days 3 hours ago
1 week 10 hours ago
1 week 23 hours ago
1 week 1 day ago
1 week 4 days ago