¡@

Home 

python Programming Glossary: alternatives

__lt__ instead of __cmp__

http://stackoverflow.com/questions/1061283/lt-instead-of-cmp

pointed out cmp is disappearing in 3.x. Are there any alternatives that make implementing comparisons as easy as the above __cmp__..

Choosing Java vs Python on Google App Engine

http://stackoverflow.com/questions/1085898/choosing-java-vs-python-on-google-app-engine

coding is far richer and more advanced than Python side alternatives in practice if you choose Python you'll be writing some JS yourself..

How can I perform a ping or traceroute in python, accessing the output as it is produced?

http://stackoverflow.com/questions/1151897/how-can-i-perform-a-ping-or-traceroute-in-python-accessing-the-output-as-it-is

most mature one. The one case where I'd bother looking for alternatives would be if I had to run correctly under Windows too where ping..

Passing Python Data to JavaScript via Django

http://stackoverflow.com/questions/1445989/passing-python-data-to-javascript-via-django

code is suboptimal but as a newbie I don't know the alternatives. I've seen write ups of Django serialization functions but these..

Are there any alternatives to py2exe? [closed]

http://stackoverflow.com/questions/1689086/are-there-any-alternatives-to-py2exe

there any alternatives to py2exe closed Are there any alternatives to py2exe python.. there any alternatives to py2exe closed Are there any alternatives to py2exe python py2exe share improve this question cx_Freeze..

A clean, lightweight alternative to Python's twisted?

http://stackoverflow.com/questions/1824418/a-clean-lightweight-alternative-to-pythons-twisted

This makes it more portable than concurrence and other alternatives. Network I O is done directly with epoll kqueue iocp. share..

Parsing HTML in python - lxml or BeautifulSoup? Which of these is better for what kinds of purposes?

http://stackoverflow.com/questions/1922032/parsing-html-in-python-lxml-or-beautifulsoup-which-of-these-is-better-for-wha

longer actively maintained and the author even recommends alternatives such as lxml. Quoting from the linked page Version 3.1.0 of..

Cleanest & Fastest server setup for Django

http://stackoverflow.com/questions/26025/cleanest-fastest-server-setup-for-django

i feel like Apache is to bloated for me. What about the alternatives @BrianLy Ok I'll check out mod_wsgi some more. But why do i..

raw_input in python without pressing enter

http://stackoverflow.com/questions/3523174/raw-input-in-python-without-pressing-enter

way to build a similar getch function see also several alternatives c in the comment thread of that recipe . share improve this..

Calling Java from Python

http://stackoverflow.com/questions/3652554/calling-java-from-python

compile JPype. Is JPype a dead project Are there any other alternatives Regards David java python share improve this question You..

Questions about Setuptools and alternatives

http://stackoverflow.com/questions/368636/questions-about-setuptools-and-alternatives

about Setuptools and alternatives I've seen a good bit of setuptools bashing on the internets..

What cross-platform GUI libraries are simple, lightweight, and have minimal dependencies?

http://stackoverflow.com/questions/426718/what-cross-platform-gui-libraries-are-simple-lightweight-and-have-minimal-depe

. GUI Programming APIs had some good info on a number of alternatives but this link is now dead. Edit 2 It occurs to me that a dead..

How do you remove duplicates from a list in Python whilst preserving order?

http://stackoverflow.com/questions/480214/how-do-you-remove-duplicates-from-a-list-in-python-whilst-preserving-order

unique share improve this question Here you have some alternatives http www.peterbe.com plog uniqifiers benchmark Fastest one def..

Python super method and calling alternatives

http://stackoverflow.com/questions/5033903/python-super-method-and-calling-alternatives

super method and calling alternatives I see everywhere examples that super class methods should be.. knows about C . So be careful the two are not precisely alternatives. They can yield vastly different results. Using super is not..

python: how to jump to a particular line in a huge text file?

http://stackoverflow.com/questions/620367/python-how-to-jump-to-a-particular-line-in-a-huge-text-file

to a particular line in a huge text file Are there any alternatives to the code below startFromLine 141978 # or whatever line I..

Alternative to execfile in Python 3.2+?

http://stackoverflow.com/questions/6357361/alternative-to-execfile-in-python-3-2

which was removed in Python 3.0. This question discusses alternatives for Python 3.0 but some considerable changes have been made..

How should I log while using multiprocessing in Python?

http://stackoverflow.com/questions/641420/how-should-i-log-while-using-multiprocessing-in-python

let alone for all clients of the framework. Are there alternatives I'm not thinking of python logging multiprocessing share..

How do I execute a string containing Python code in Python?

http://stackoverflow.com/questions/701802/how-do-i-execute-a-string-containing-python-code-in-python

can contain user entered code. You should always look at alternatives first such as higher order functions to see if these can better..

Shortest hash in python to name cache files

http://stackoverflow.com/questions/1303021/shortest-hash-in-python-to-name-cache-files

but the hexdigest is really long if put in a filename. Alternatives with reasonable collision resistance Edit Use case is like this..

Python subprocess.Popen “OSError: [Errno 12] Cannot allocate memory”

http://stackoverflow.com/questions/1367373/python-subprocess-popen-oserror-errno-12-cannot-allocate-memory

an unfavourable overcommit policy you'll soon see ENOMEM . Alternatives to fork that do not have this parent page tables etc. copy problem..

Greenlet Vs. Threads

http://stackoverflow.com/questions/15556718/greenlet-vs-threads

more expensive and more limited than usual due to the GIL. Alternatives to concurrency are usually projects like Twisted libevent libuv..

Pickling a staticmethod in Python

http://stackoverflow.com/questions/1914261/pickling-a-staticmethod-in-python

snag the class when the static method is gotten from it. Alternatives You could use metaclassing to give all your static methods a..

Alternatives to keeping large lists in memory (python)

http://stackoverflow.com/questions/1989251/alternatives-to-keeping-large-lists-in-memory-python

to keeping large lists in memory python If I have a list or..

Memory Efficient Alternatives to Python Dictionaries

http://stackoverflow.com/questions/327223/memory-efficient-alternatives-to-python-dictionaries

Efficient Alternatives to Python Dictionaries In one of my current side projects I..

Alternatives to Python Popen.communicate() memory limitations?

http://stackoverflow.com/questions/6880090/alternatives-to-python-popen-communicate-memory-limitations

to Python Popen.communicate memory limitations I have the following..