Tagged Questions
0
votes
0answers
20 views
Programmatically logging into site.net returns gibberish response
I try logging into the site I'm not sure if my request call is wrong and I'm failing to login properly, or something else.
I adapted many other folks code, I'm messing up somewhere and ...
0
votes
3answers
69 views
Command line input in Python
Is it possible to run first the program then wait for the input of the user in command line.
e.g.
Run...
Process...
Input from the user(in command line form)...
Process...
0
votes
0answers
16 views
python calg library in windows x64
when i run python in windows 7 for x64,see this
[-]calg library: http://c-algorithms.sourceforge.net
why this and how do i can??
python calg library for w3af in windows x64
any body don't konw?
...
0
votes
0answers
9 views
Jaccard index missing possible matches for edit distance
Developing an OCR correction module, I'm experimeting in Python. The idea is to try to correct each word in OCR based on dictionary(vocab) using bigrams,Jaccard index and edit distance.
Sample vocab:
...
2
votes
2answers
19 views
Python, how to use __setattr__ on dictionary object that is part of the class that overloads the method?
As illustrated in the code below, why can't I use __setattr__ to set values on a dict that is part of the class that overloads the method? I expected that b.hello would not exists.
class MyClass():
...
0
votes
2answers
21 views
Django Urls regex to suport old php pages
I'm migrating a system from PHP to Python/Django.
From the old website I shuld keep the most visited urls for a while, but I'm trying and I did'nt find a way.
The old format is:
...
0
votes
2answers
53 views
Trouble installing pycurl on Mac OS X 10.6.8
I am working on a python project (I have python 2.7) that uses the eBay SDK module found here: https://github.com/timotheus/ebaysdk-python
I was able to install ebaysdk but had trouble when running ...
1
vote
3answers
79 views
os.walk creates a kernel panic [closed]
The directory I'm trying to walk has about 400k files in it according to
$ find . -type f | wc -l
Every time I run the script that uses os.walk, it sends my laptop into a kernel panic. It's very ...
2
votes
3answers
88 views
Parralelized code runs much slower in Python than in Matlab
I have a piece of code that does the following:
for each file (already read in the RAM):
call a function and obtain a result
add the results up and disply
Each file can be analyzed in parallel. ...
0
votes
1answer
28 views
Is there a library in python which can validate fields so that I won't need to write my own regex or to create Form instance?
I'm building a simple web app using python and Flask. I'm adding a simple form and trying to avoid using all these Form instances; I want to validate client-side and server-side separately and to ...
0
votes
0answers
27 views
Enthought Canopy 1.0 missing Python.h and other includes
I installed the Canopy distribution from Enthought for Mac OSX 64 bit and the include/python-2.7 folder is missing.
I couldn't find a package that includes this, has anyone had this problem and a ...
0
votes
1answer
27 views
cannot send email with attachment from python?
import smtplib
from email.MIMEMultipart import MIMEMultipart
from email.MIMEText import MIMEText
from email.MIMEImage import MIMEImage
msg = MIMEMultipart('multipart/related')
fromaddr = ...
-1
votes
1answer
35 views
Parsing HTML page into CSV - python
I am trying to transfer all the data i parsed from a website into a csv file but i have run into a couple of problems:
1.Even though i have added the character encoding, it still prints out as HTML ...
0
votes
0answers
12 views
how to make minepy.MINE run faster?
I have a numerical matrix of 2500*2500. To calculate the MIC (maximal information coefficient) for each pair of vectors, I am using minepy.MINE, but this is taking forever, can I make it faster?
-2
votes
2answers
42 views
Is there a Python interface like Windows Buider Editor in Eclipse? [duplicate]
I want to develop a Python program but I dont know much about UI. Do you know some UI editor like Windows Builder Editor or Java/Eclipse?