User Profile

Collapse

Profile Sidebar

Collapse
kttr
kttr
Last Activity: Mar 13 '13, 12:38 AM
Joined: Nov 10 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Using a drop-down form to change the textarea's font-family attribute?

    I have written my question in english, I have used proper grammar, my question is detailed, I have posted code, and the code is formatted in code tags. Finally, I would like to make clear that I only want pointers[/I][/B]in the right direction. Don't do the work for me!!!!!!!! This is not a homework assignment, it is just for my own interest. There is literally no way you could delete this question.

    Here is my question:
    On...
    See more | Go to post

  • What you linked to is great. But that raises another question.

    From what I understand, a WYSIWYG editor allows users to write text in website, format it, etc. How would I let them save their work in a file that is stored by the website? From what I've seen, a WYSIWYG editor is made mainly for making posts easier. So, how would I go about creating a saving system that saves the user's work in a file on the website? Again, I don't want...
    See more | Go to post

    Leave a comment:


  • How to Create a Text Editor in a Website (like google docs)?

    My eventual goal is to create a text editor ina website, like google docs, or this text editor right here: http://writer.bighugel abs.com/#

    My question, then, is this: what are the general steps one would need to take in order to create something like those programs (online text editors)? I don't want actual code, just the general process/idea of what one would need to do, and what programming languages they would need to use....
    See more | Go to post

  • kttr
    replied to Counting words from text file
    I agree with Glenton. Data analysis in real life, especially with finding specific words matching a given meaning is complicated. However, I will assume that you only want to find the number of times "Germany" is found and NOT "Prussia". Either way, this difference should be made clear.

    So far, your code is a little hard to read. Try adding more comments so that readers know what each part of your program is doing....
    See more | Go to post

    Leave a comment:


  • kttr
    replied to How to Press a Webpage Button with Python
    I understand. Here is the code, for anyone who might find it helpful:

    Code:
    from selenium import webdriver
    from selenium.webdriver.common.keys import Keys
    
    #find the id of the button
    
    find_it = browser.find_element_by_id("ctl00_MainPlaceHolder_submitOrder")
    
    #"press" the enter key (with selenium)
    
    find_it.send_keys(Keys.RETURN)
    
    #the
    ...
    See more | Go to post

    Leave a comment:


  • kttr
    replied to Cool Things to Do with Python?
    Oh I see. The display isn't the same for all computers....
    See more | Go to post

    Leave a comment:


  • kttr
    replied to How to Press a Webpage Button with Python
    Ah, well. I figured it out on my own. But thanks for the help....
    See more | Go to post

    Leave a comment:


  • kttr
    replied to Cool Things to Do with Python?
    Tkinter looks interesting, but a little rough-looking. Would it be possible to make clean, polished, pretty GUIs with Tkinter or would you need something else for a better-looking user interface?...
    See more | Go to post

    Leave a comment:


  • kttr
    replied to How to Press a Webpage Button with Python
    Oh. whoops! I'm new to bytes. I already have some code, I guess I'm just being a little lazy. I'll post the python code I already have shortly; thanks for letting me know....
    See more | Go to post

    Leave a comment:


  • kttr
    replied to How to Press a Webpage Button with Python
    EDIT:
    There is a website (called investopedia) that allows you to conduct stock market trades without actually spending money. It is a stock simulator. Here is what I would like to do:
    1. Log in to Investopedia
    2. Make a trade (select 100 shares of APPL)
    3. Execute the trade.
    I can do the first 2 using mechanize or selenium. However, the third part messes me up. In order to execute the trade, you must press the "submit...
    See more | Go to post

    Leave a comment:


  • kttr
    started a topic Cool Things to Do with Python?

    Cool Things to Do with Python?

    I have been teaching myself python for the past year. I have run out of ideas for programs in python. Does anyone have any cool or interesting programs that you could make with python?
    See more | Go to post

  • kttr
    started a topic How to Press a Webpage Button with Python

    How to Press a Webpage Button with Python

    I would like to "press" a button on a webpage using a python script. When I say "press", I mean I would like to initiate all of the actions that would occur if you were to press the button with a mouse. Here is the html code for the button:

    Code:
     <input type="button" 
    name="ctl00$MainPlaceHolder$submitOrder" 
    value="Submit Order >>" 
    onclick="this.disabled
    ...
    See more | Go to post
No activity results to display
Show More
Working...