Top "Python-2.6" questions

For issues that are specific to Python 2.6. If your question applies to Python in general, use the tag [python].

No module named _cffi_backend

I have python2.6 in my Linux rhel-5. I have installed pip and required CFFI packages. When i try to run …

python-2.6
How to check whether a jpeg image is color or gray scale using only Python stdlib

I have to write a test case in python to check whether a jpg image is in color or grayscale. …

python image-processing python-2.6
Random strings in Python 2.6 (Is this OK?)

I've been trying to find a more pythonic way of generating random string in python that can scale as well. …

python random python-2.6
"UnicodeEncodeError: 'ascii' codec can't encode character"

I'm trying to pass big strings of random html through regular expressions and my Python 2.6 script is choking on this: …

regex unicode python-2.6 non-ascii-characters
How to run multiple commands synchronously from one subprocess.Popen command?

Is it possible to execute an arbitrary number of commands in sequence using the same subprocess command? I need each …

python subprocess python-3.5 python-2.6
Calling app from subprocess.call with arguments

I'm a beginner in Python, and I've been trying to call a command line app, but it fails: >>&…

python process python-2.6 raspberry-pi
Difference between python - getmtime() and getctime() in unix system

Can someone please specify what is the difference between os.path.getmtime(path) and os.path.getctime(path) in unix …

python python-2.6
exe-file created by pyinstaller, not find self-defined modules while running

I create two python files, and the directory/file relations is as follows: mytest--- |---mycommon.py |---myMainDir--- |----myMain.py In …

python python-2.7 python-3.x python-2.6 pyinstaller
Sending TLS 1.2 request in Python 2.6

I am stuck using Python 2.6 and I need to send a post request using TLS 1.2. Does Python 2.6's requests library …

python ssl request python-requests python-2.6
Remove whitespaces in XML string

How can I remove the whitespaces and line breaks in an XML string in Python 2.6? I tried the following packages: …

python xml xml-serialization python-2.6 elementtree