As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I want to encrypt files before uploading into Dropbox using keys and some encryption standards in Python. How would I do that in code without using any third party tools?
I would suggest using a cryptographic library like pycrypto. Cryptography is hard, and doing it yourself is a sure way to have security holes.
Oh, and you should read this article by Bruce Schneier: Why cryptography is hard.
You may try using pyDes and/or rsa
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I need a noSQL solution that is fast, small, embedded (because I don't have root privilege) and supports Python. For now I just have two names: DyBASE, CodernityDB. Please help me find others and choose the best one. Thank you!!!
ZODB - It is not "small", I guess - but it is fast, it is native to Python - and it can certainly be installed without root privileges using buildout or even only virtualenv -
Here is a blog post showing how ZODB compares against sqlite - (and sqlite, in its turn, for single threaded code, performes quite well against larger SQL database systems - just look for benchmarks):
http://pyinsci.blogspot.com.br/2007/09/zodb-vs-relational-database-simple.html
Here is a link to the tutorial -
for being able to install it as in the tutorial, without adm privileges on the system,
first create a virtualenv and activate it:
http://www.zodb.org/en/latest/documentation/tutorial.html
Here is the link for ZODB and install instructions:
https://pypi.python.org/pypi/ZODB3/3.8.2
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm working on an open source project (Master of Mana, a mod for Civilization 4) which uses Python 2.4.1 for several game mechanics. Is there a chance for a performance improvement if I try to upgrade to Python 2.7.3 or even 3.3.0?
Related to this, has anyone done a performance analysis on different Python versions?
Most newer Python versions bring new features.
Existing code parts are probably updated as well, either for performance or for extended functionality.
The former kind of changes bring a performance benefit, but extended functionality might lead to a poorer performance.
I don't know what is the relationship between these kinds of changes. Probably you will have to do some profiling on yourself.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm working on a project that requires me to bind some C++ libraries to Python. Just today I found out the details about SWIG, and I got excited to use it, but the website:
http://www.swig.org/ seems to be down, and not just for me. I don't know if I just came on a wrong day, or if the project has disappeared. Does anyone know what happened?
I was able to get a copy off of a GitHub mirror repo, and from Homebrew, but I'm not sure I should invest time in using it if the project has been dropped.
Thanks, I hope this is the right place to ask.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I'm looking for a good IDE to programming with Python, I found this http://ninja-ide.org/.
Did anyone try Ninja-IDE to programming Python or Django Apps, any suggestions about its use?
I personally use Netbeans for Python development mostly because I also use it for PHP and Java development. It works quite well for Python.
I prefer Aptana Studio 3, try it here!
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Is there an online interpreter like http://codepad.org/ or http://www.trypython.org/ which uses Python 3?
Answer
Since the question is closed, I give another answer here.
Wandbox offers online REPLs for many languages, including Python 2.x and 3.x, C++ and Java.
Ideone supports Python 2.6 and Python 3
I recently came across Python 3 interpreter at CompileOnline.