Top "Python-2.7" questions

Python 2.7 is the last major version in the 2.x series, and is no longer maintained since January 1st 2020.

How to write to an existing excel file without overwriting data (using pandas)?

I use pandas to write to excel file in the following fashion: import pandas writer = pandas.ExcelWriter('Masterfile.xlsx') data_…

python excel python-2.7 pandas
How do I install Keras and Theano in Anaconda Python on Windows?

I am trying to work on neural networks in Python using the following Keras packages: from keras.utils import np_…

python-2.7 python-3.x anaconda theano keras
Dead simple example of using Multiprocessing Queue, Pool and Locking

I tried to read the documentation at http://docs.python.org/dev/library/multiprocessing.html but I'm still struggling with …

python python-2.7 multiprocessing
What is the most efficient way of finding all the factors of a number in Python?

Can someone explain to me an efficient way of finding all the factors of a number in Python (2.7)? I can …

python algorithm python-2.7 performance factorization
python error: no module named pylab

I am new to Python and want to use its plot functionality to create graphs. I am using ubuntu 12.04. I …

python python-2.7 ubuntu-12.04 matplotlib
Reading serial data in realtime in Python

I am using a script in Python to collect data from a PIC microcontroller via serial port at 2Mbps. The …

python python-2.7 serial-port pyserial
How can I prevent a window from being resized with tkinter?

I have a program which creates a window where a message is displayed according to a check box. How can …

python python-2.7 tkinter
Reading a huge .csv file

I'm currently trying to read data from .csv files in Python 2.7 with up to 1 million rows, and 200 columns (files range …

python python-2.7 file csv
Division in Python 2.7. and 3.3

How can I divide two numbers in Python 2.7 and get the result with decimals? I don't get it why there …

python python-2.7 python-3.3 division
In Flask, What is request.args and how is it used?

I'm new in Flask. I can't understand how request.args is used. I read somewhere that it is used to …

python python-2.7 flask pagination