Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #58796
| From | John Pote <johnhpote@o2.co.uk> |
|---|---|
| Subject | Talking to a 'C' program |
| Date | 2013-11-08 14:23 +0000 |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2220.1383920660.18130.python-list@python.org> (permalink) |
Hi all, I have the task of testing some embedded 'C' code for a small micro-controller. Thought it would be a good idea to test it on the PC first to make sure the algorithm is correct then perhaps test it on the controller via RS232 and an appropriate wrapper round the 'C' functions. On the PC I can use Python's unit test library module and logging to create a nice and easy to use environment (I like Python). So my question is how to communicate from Python to the C module on the PC. What I'd like is simplicity and ease of setting up. All I can think of myself is to use sockets. Any ideas on how to do this would be gratefully appreciated. Also as I don't have any microsoft offerings of a C compiler any suggestions as to a suitable C compiler for a PC appreciated as well. llvm? mingw? gcc? Thanks a lot everyone, John
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Talking to a 'C' program John Pote <johnhpote@o2.co.uk> - 2013-11-08 14:23 +0000
Re: Talking to a 'C' program Grant Edwards <invalid@invalid.invalid> - 2013-11-08 15:00 +0000
Re: Talking to a 'C' program John Pote <johnhpote@o2.co.uk> - 2013-11-08 16:08 +0000
csiph-web