Search code examples
How do I specify a range of unicode characters...


regexunicodepython-2.x

Read More
How to reinstall python@2 from Homebrew?...


pythonmacoshomebrewpython-2.x

Read More
Clean way to read a null-terminated (C-style) string from a file?...


pythonstringnullpython-2.xc-strings

Read More
Why doesn't exec work in a function with a subfunction?...


execpython-2.x

Read More
Converting "yield from" statement to Python 2.7 code...


pythongeneratorpython-2.xyieldyield-from

Read More
What is __future__ in Python used for and how/when to use it, and how it works...


pythonpython-2.x

Read More
Setting the correct encoding when piping stdout in Python...


pythonencodingterminalstdoutpython-2.x

Read More
Python2: Why does the int class not have rich comparison operators like `__lt__()`?...


pythonpython-2.xlanguage-designlanguage-history

Read More
Why does ENcoding a string result in a DEcoding error (UnicodeDecodeError)?...


pythonpython-2.7unicodepython-2.xpython-unicode

Read More
How to determine if a string is escaped unicode...


pythonunicodepython-2.x

Read More
Python 2 assumes different source code encodings...


pythoncharacter-encodingpython-2.xpython-internals

Read More
Why is it when I print something, there is always a unicode next to it? (Python)...


python-2.x

Read More
How do I prevent a C shared library to print on stdout in python?...


pythonctypespython-2.x

Read More
unicode().decode('utf-8', 'ignore') raising UnicodeEncodeError...


unicodepython-2.x

Read More
What is the best way to remove accents (normalize) in a Python unicode string?...


pythonpython-3.xunicodepython-2.xdiacritics

Read More
Copy file with pathlib in Python...


pythonfilecopypython-2.xpathlib

Read More
How to cast to long depending on Python version?...


pythonpython-2.x

Read More
Print skipping newline...


pythonmultithreadingnewlinepython-2.x

Read More
Python insert UTF8 string into SQLite...


pythonsqliteencodingutf-8python-2.x

Read More
Getting SyntaxError for print with keyword argument end=' '...


pythonpython-2.x

Read More
Converting number in scientific notation to int...


type-conversionintegerpython-2.xscientific-notation

Read More
Convert an excel or spreadsheet column letter to its number in Pythonic fashion...


pythonexcelgoogle-sheetspython-2.x

Read More
How to pick just one item from a generator?...


pythoniteratorgeneratorpython-2.x

Read More
Seemingly trivial issue calling int's __init__ in python...


pythonclassinheritancepython-2.x

Read More
How to implement different levels for specific modules in Python...


loggingmodulepython-2.x

Read More
What exactly do "u" and "r" string prefixes do, and what are raw string literals...


pythonunicodepython-2.xrawstring

Read More
Difference between object and instance in Python 2?...


ooppython-2.x

Read More
how do I install python2 on centos 9 stream?...


pythoncentospython-2.x

Read More
How do you temporarily run your code as 'root'?...


pythonmultiprocessingpython-2.xpython-multiprocessing

Read More
Python code with Input() given syntax error in Sublime REPL, but works with Python Shell...


pythonsublimetext3sublimetextpython-2.x

Read More
BackNext