Search:

Type: Posts; User: wingnut2626; Keyword(s):

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    259

    Re: exception handling in python

    where is the option to mark the thread as solved?
  2. Replies
    7
    Views
    259

    Re: exception handling in python

    Once. I ended up removing the try block

    I added:

    if len(data_for_computations) >= 4

    as a prelude to line 27 on....
  3. Replies
    7
    Views
    259

    Re: exception handling in python

    It raises the Index Error that the index is out of the list range....I know that it will be on program execution, because i have to get to a point where i have enough items in the list to compute...
  4. Replies
    7
    Views
    259

    exception handling in python

    import time


    from sys import exit


    readable_data = []


    data_for_computations = []
  5. Re: What is the 'best' IDE for python development?

    eric, because it is the bomb
  6. Replies
    5
    Views
    239

    Re: Making lists in python

    Thanks guys for the help
  7. Replies
    5
    Views
    239

    Making lists in python

    Isn't there a way to split items in a list into text separated by spaces? Like turn

    [4, 6, 9]
    INTO
    4 6 9
  8. Replies
    1
    Views
    241

    tkinter trying to get a window up

    hi guys here is the code i am working with


    from Tkinter import *


    root = Tk() root.title("Note Taker")


    root.mainloop()
  9. Replies
    5
    Views
    2,140

    Re: best NES emulator

    FCEUX and GFCEU both crash on save state execution for me for some reason. Also FCEUX crashes so much it is practically unuseable. Im actually running a windows VM now to go back to Nesticle. Its...
  10. Replies
    2
    Views
    1,814

    python classes

    Hi guys, here is the code that i am working on today:



    class Song(object):
    #creates a new class of Song that has an object argument



    def __init__(self, lyrics):
  11. Replies
    7
    Views
    1,801

    [SOLVED] Re: python script help

    Thank you! Here is the revised code with the Value and variable conversion:




    from sys import exit

    print "Welcome to My Month extractor. What this does is take the number that you input...
  12. Replies
    7
    Views
    1,801

    [SOLVED] Re: python script help

    I think i may have figured it out. Does it have to do with which_one being a raw_input variable?
  13. Replies
    7
    Views
    1,801

    [SOLVED] Re: python script help

    from sys import exit

    print "Welcome to My Month extractor. What this does is take the number that you input between 1 and 12 and outputs the month.\nPress enter to continue."

    raw_input()
    ...
  14. Replies
    7
    Views
    1,801

    [SOLVED] python script help

    Hi guys. Here is what i have.


    from sys import exit

    print "Welcome to My Month extractor. What this does is take the number that you input between 1 and 12 and outputs the month.\nPress...
  15. Replies
    5
    Views
    2,140

    best NES emulator

    Hi! What is the best nes emulator out there? i.e. one that would allow me to save my game state? Thanks!
  16. Replies
    1
    Views
    2,141

    [ubuntu] dell inspiron M5030 white screen issue

    Hello All! I have an inspiron M5030 that has an odd problem. The screen randomly goes completely white. It will do it while using the laptop, then continue even after a reboot (it starts up with a...
  17. Replies
    12
    Views
    369

    [ubuntu] Re: Why is Ubuntu so slow for me?

    Ram for that system should be uber cheap too, might really want to consider adding some more to that thing. I was running ubuntu on a P4 2.8Ghz (no hyper threading) and had 1.5GB of ram only and...
  18. Replies
    6
    Views
    2,681

    [ubuntu] Re: Wifi won't connect

    I remember having the same problem for a friend of mine, and i used the module iwlwifi to solve it. Do a search on iwlwifi on these forums, and that will give you some groundwork to get this thing...
  19. Replies
    10
    Views
    449

    [SOLVED] Re: pentium d 3.2ghz only shows as 2.4ghz

    Ok thanks guys. I appreciate the help.
  20. Replies
    10
    Views
    449

    [SOLVED] Re: pentium d 3.2ghz only shows as 2.4ghz

    So why is the L2 cache size wrong?
  21. Replies
    10
    Views
    449

    [SOLVED] Re: pentium d 3.2ghz only shows as 2.4ghz

    No. I put the processor in myself. I just bought it. It is a 3.2Ghz pentium D.


    here is the readout on the /proc/cpuinfo

    processor : 0
    vendor_id : GenuineIntel
    cpu family : 15
    model : 6...
  22. Replies
    10
    Views
    449

    [SOLVED] pentium d 3.2ghz only shows as 2.4ghz

    I recently bought a pentium d 3.2ghz with 4 mb l2 cache and when i type in lscpu it tells me that the clock speed is 2400 mhz and i only have a 2 mb l2 cache. any ideas?
  23. Replies
    3
    Views
    1,768

    [SOLVED] Re: python global variables

    Thanks guys. Like i said the problem was with me, and a simple typo. Thank you again! Im learning more from ubuntu forums than I have from years of school!
  24. Replies
    3
    Views
    1,768

    [SOLVED] python global variables

    Hi yet again guys! Here is the issue today with Python (or more realistically, me)

    Here is the code:


    def break_words(stuff):
    """This function will break up words for us."""
    words =...
  25. Replies
    9
    Views
    1,878

    [SOLVED] Re: python return functions incorrect

    whoops! Those function definitions are part of the code too
Results 1 to 25 of 55
Page 1 of 3 1 2 3