Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. nvhuser

    Manipulating the name of lists and using them - Python

    Hello everyone, I would like to use a list while I am changing its name. I have the following lists defined label_SUB1, label_SUB2, label_SUB3 and label_SUB4. for j in range(1,4): for i in range(0,205): print "AAA," + str(i+12000027+10000*j) + "," + label_SUB[j][i] + ",33,"...
  2. nvhuser

    Internet explorer - Automation/Scripting

    Thank you guys, I spoke with the company and they inserted a feature that allows me to export it with only a couple of clicks. Thank you for your support!
  3. nvhuser

    Internet explorer - Automation/Scripting

    No, actually I want to extract the information that the publisher is providing. Well, the main question is: Does the publisher allow the exportation with only one click or not? Since I can get exactly the same information just doing the same repetitive task for a couple of hours. So, I am...
  4. nvhuser

    Internet explorer - Automation/Scripting

    Ok, I see... Sadly it seems that next time I need to spend another 3 hours exporting images :( Thank you for your support anyway!
  5. nvhuser

    Internet explorer - Automation/Scripting

    Hi Chris! Thank you for your tip! Wget seems to be very powerful :) Although I am wondering if there is any other language already installed on a normal windows machine that can perform the same task in a easy way. I am looking for something that either interact with internet explorer (maybe...
  6. nvhuser

    Internet explorer - Automation/Scripting

    Thank you for your reply Chris! I agree with you, but if I want to save the images with a given name, probably it will not be the best method, or if I want to grab a info that is on a table always in the same position. which language do you think is the most suitable to do it? I was...
  7. nvhuser

    Internet explorer - Automation/Scripting

    Hello everyone, Yesterday I faced a difficulty and I would like that someone give me a very good piece of advice in order to never have this problem again. Here is the description: I was working on the computer of my client using a webpage that he logged in (i.e., I was using his account)...
  8. nvhuser

    Dictionary into a table format - Python

    Thank you for your suggestion! However, I am getting a problem with the space, the attribute end=" " is no longer available for append I have the following error message: TypeError: append() takes no keyword arguments
  9. nvhuser

    Dictionary into a table format - Python

    Thank you so much, you have found "the cat"! I have another question: since I am not very familiar with python, what I normally do when I have a python script it consists into send the output to a file (in linux), like this: >> ./script.py > output.txt or >>python script.py > output.txt...
  10. nvhuser

    Dictionary into a table format - Python

    Hi mikron, I am getting this: "matrix (3 x 4) 2.10 0.00 0.00 0.10 0.00 0.00 0.00 0.00 0.00 0.40 0.00 0.00 " Here is your code adapted to the version 3.3: def main(): DBG=False sep="," dic={} for line in open('matrix.txt'): if...
  11. nvhuser

    Dictionary into a table format - Python

    As attachment to this post, follows my inputdata. What I would like to have is a matrix 31x31 with zeros and using the information in "out_matrix2.txt" populate the matrix (substitute the value "0" for the value that is specified by the txt file). I think I am not going in the correct...
  12. nvhuser

    Dictionary into a table format - Python

    Sorry but I need to use python 3.3, it is sadly mandatory =(
  13. nvhuser

    Dictionary into a table format - Python

    I am using python 3.3, but I don't have access to libraries like "numpy" and so. - Company policy Here is my code. Unfortunately I am not having the same result as you had: def main(): file_object=open('out_matrix2.txt','r') x=[] y=[] z=[] for line in...
  14. nvhuser

    Dictionary into a table format - Python

    Thank you for your posts, but in my python version the command: >>print dic[i, j], does not work. I think I need to write something like this: print(dic[i,j]+",")
  15. nvhuser

    Dictionary into a table format - Python

    Hello Mikrom, Thank you very much for your reply, could you also help me to get the number of rows and columns of a dictionary? How do I do that? I am used to do "size(matrix)" in matlab to get this information. Thank you!
  16. nvhuser

    Dictionary into a table format - Python

    Hello everyone, I am having some problems trying to print the following dictionary: {('31', '3'): '2.85124e-05', ('31', '23'): '2.85124e-05', ('31', '17'): '2.85124e-05', ('31', '30'): '2.85124e-05', ('31', '19'): '2.85124e-05', ('31', '31'): '2.85124e-05', ('31', '26'): '2.85124e-05'...
  17. nvhuser

    Python Binary File

    No, in fact it has an extension *.pyb (python binary) If I open in notepad, I don't see any human readable text.
  18. nvhuser

    Python Binary File

    Hi IPGuru, well, I have this script from an old employe that didn't left the instructions to use this file. That is why I would like to decrypt the code in order to know how to use it. I don't have any intention to do reverse engineering.
  19. nvhuser

    Python Binary File

    Hello, could anyone tell me if is it possible to translate a python binary file into a python ASCII script? thanks
  20. nvhuser

    Python Code - Eliminate all the duplicated occurences

    Wow, I tested the Python code using with dictionary and it is really fast. Thank you both of you! Is SQL easy to use? I have some experience with MySQL, will it help?

Part and Inventory Search

Back
Top