I am making my internship on communications eng. and my
programming skills are not very good. My task is porting sender-part
of a C code to python (the code is making video transportation over IP
using FLUTE protocol). I have never done such a thing before
(translating a code) I read some documents about C and try to remember
(I used it 7 years ago at school) and also read about Python ( used 5
years ago very basic things at school).
Has someone done this kind of tasks before? if yes could you please tell me What is the starting point that you can advice me?
What One should think first, if she wants to make a simple prototype?
What are the steps to make a simple prototype (not exactly the same C
code but something similar in Python)?
Is it very necessary to know the foresaid languages? Can I make it
without knowing the languages very well? [I have dawdled and now I have got a few days for the draft…]
If someone contact me and give time for helping me I would be really thankful (:
You have some c code that transmits video using the flute protocol.
You have to write the python equivalent for this c - code
If the code isn’t c++ but straight c and you have enough familiarity with the c-code to understand what it is doing it shouldn’t be to difficult. You should be able to write your port almost as a line by line translation. You have to know enough basic python syntax to loop, create functions etc. and then it is just a matter of looking up the equivalent commands.
If the code is object oriented c++ its a little trickier – you have to write and/or find python classes that have the same functionality as the c++ classes. If you are a poor coder and have no experience with object oriented code you probably have left the project too late.