Tagged Questions
Python is a dynamically and strongly typed programming language whose design philosophy emphasizes code readability. Two significantly different versions of Python (2 and 3) are in use. Please mention the version that you are using when asking a question about Python.
10
votes
0answers
377 views
Can't set value with tkinter/python script when using cxfreeze
I have written a program in Python with a tkinter GUI front-end. When this is run from the script there are no issues.
I packaged it using cx_freeze to an exe file and running it from there works for ...
7
votes
0answers
461 views
django-mutant creating models in django-admin
I started experimenting with django-mutant 0.0.2 (on django 1.4.2), but due to the lack of documentation I got almost nowhere. The way I understood by the project description I could use it to create ...
6
votes
0answers
100 views
How to avoid the 'tlsv1 alert unknown ca' error in Python?
Currently using libmproxy, which in turn uses netlib, to make requests to HTTPS Web pages. However, the following error is raised:
Error: [('SSL routines', 'SSL3_READ_BYTES', 'tlsv1 alert unknown ...
6
votes
0answers
148 views
Changing request method using hidden field _method in Flask
Started picking up Python and Flask as a learning exercise, and coming from PHP/Symfony2, I could add a hidden _method field to a form to override the POST method with either a DELETE or PUT.
It ...
6
votes
0answers
370 views
dev-server HTTP Error 403: Forbidden
After updating from 1.7.5 (where everything worked fine) I'm getting a HTTP Error 403: Forbidden when trying to open any sites via localhost. Strange thing is I have pretty much the same setup at home ...
6
votes
0answers
124 views
Periodic Axes class in matplotlib?
I have a collection of latitude/longitude points that straddle the longitude=0 line. I'd like to plot these using a matplotlib Axes class that "wraps" the horizontal dimension such that, when looking ...
6
votes
0answers
728 views
What setup is need to compile rpy2 on Windows?
I've been able to install rpy2 v2.0.8 from the .msi from source forge, but I'd like to use the latest version that includes the packages code, i.e. v2.1.9.
I'm attempting to compile rpy2 in windows ...
5
votes
0answers
174 views
Custom Authentication for Google Cloud Endpoints (instead of OAuth2)
We are super excited about App Engine's support for Google Cloud Endpoints.
That said we don't use OAuth2 yet and usually authenticate users with username/password
so we can support customers that ...
5
votes
0answers
928 views
Android's MonkeyRunner occasionally throws exceptions
I am running an automated test using an Android emulator driving an app with a Monkey script written in Python.
The script is copying files onto the emulator, clicks buttons in the app and reacts ...
5
votes
0answers
411 views
Google App Engine: Error in bulkloader.yaml
I am currently trying to download and exports tables from a Google App that I inherited. I am using their Python Framework.
Here are the relevant lines in the bulkloader.yaml file:
- kind: KindName
...
5
votes
0answers
233 views
Pydev for Eclipse does not change all reference when renaming package
I would expect the pydev package to rename all references in a project when rafactoring a module name. However, this is not the case. Anyone knows how to fix this?
4
votes
0answers
38 views
Get absolute coordinates for rotation of Inkscape SVG elements
I am using wxPython to prototype some display interfaces for a project that will eventually become an embedded design. Since we are iterating with a graphics designer, it is much easier to let them ...
4
votes
0answers
399 views
Python multiplicative inverse in GF(2) finite field
These 2 functions perform Extended Euclidean Algorithm, and then find the multiplicative inverse. The order seems right, but it's not coming back with what I'm expecting as per this tool from U of ...
4
votes
0answers
125 views
Fibonacci Rabbits Dying After Arbitrary # of Months
Solved. Correct code in it's entirety is at the bottom. The issue was my algorithm entirely. Drawing out the tree to a large number (15 months) helped me see the full case.
So, I've seen a few ...
4
votes
0answers
127 views
Tkinter: Calling a multithreaded instance
I am a beginner at python, and it is my first language. I have been tasked with something that is quickly becoming too large for me to grasp that I need to finish. I am almost done. At this moment, I ...