These are chat archives for FreeCodeCamp/DataScience
discussion on how we can use statistical methods to measure and improve the efficacy of http://freeCodeCamp.com
Could this be of help, possibly related?
b'0101010'something like this?
b' 'we were talking about later. I ended up with the string unchanged and null interspaced between every other character
@Evaderei you could either send your code to me or better asking in python room. It is strange that the message is embedded in a binary and still being string. Anyway: you can easily parse the binary into a string, I think it is str(msg), I haven't check. Just look for how to get binary into string.
Also let know what library you are using to open the message. If you are not using a known python library specifically for twitter you might find yourself dealing with more low level transformations.
Also if you want to let me know what are you at to? I have been working with python's twitter libraries recently. We could start a project together if you are interested?
evalfor your case BUT please keep in mind that
evalshouldn't be used in production otherwise you run the risk of facilitating certain types of malware attacks.
@Evaderei Depends... He goes through Twitter as the main topic of the book but then there are code that is not commented in some advanced parts of the book if the code was already commented previously, so you can get lost with cross references...
You have to combine that with the Twitter API info too. I think Russell was the author of the python Twitter API, I don't remember; but check for updates: his last edition is 2014.
@SamAI-Software @erictleung and me are working on separate forks before adding the transformed file. You can see some progress with the code used to create that file at:
The file is still being worked locally, but it could be useful to start checking a few discrepancies. If you would like to verify some of them, your help will be welcome.