Find the answer to your Linux question:
Results 1 to 10 of 10
im learning python from this book How to Think Like a Computer Scientist: 4. Conditionals and i just got to the part about gasp but when i enter the first ...
  1. #1
    Linux Newbie thesimplecreator's Avatar
    Join Date
    Jun 2007
    Location
    washington , USA
    Posts
    229

    problem with gasp in python

    im learning python from this book How to Think Like a Computer Scientist: 4. Conditionals
    and i just got to the part about gasp

    but when i enter the first command it tells me to, i get
    >>> from gasp import *
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    ImportError: No module named gasp
    >>>
    do i need to download something extra?if so then what?
    plz help i need to learn this
    Microsoft isn't evil, they just make really crappy operating systems.
    Linus Torvalds

    Personal and politically centrist blog.--->
    http://www.deathnerd.com

  2. #2
    Linux User
    Join Date
    Aug 2006
    Posts
    458
    Google for python gasp.
    On a side note, i would suggest you learn from the creator of Python himself, here.

  3. #3
    Linux Newbie thesimplecreator's Avatar
    Join Date
    Jun 2007
    Location
    washington , USA
    Posts
    229
    this book seems more freindly if i need to ill read his too
    Microsoft isn't evil, they just make really crappy operating systems.
    Linus Torvalds

    Personal and politically centrist blog.--->
    http://www.deathnerd.com

  4. #4
    Linux Newbie thesimplecreator's Avatar
    Join Date
    Jun 2007
    Location
    washington , USA
    Posts
    229
    i cant find anything on google for it i need someone who knows python to help me
    i just want to figure this out before i go to bed
    Microsoft isn't evil, they just make really crappy operating systems.
    Linus Torvalds

    Personal and politically centrist blog.--->
    http://www.deathnerd.com

  5. #5
    Linux User
    Join Date
    Aug 2006
    Posts
    458
    I have already said, google for "Python gasp", or be more creative "Python gasp how to think like scientist"... simple?

  6. #6
    Linux Newbie thesimplecreator's Avatar
    Join Date
    Jun 2007
    Location
    washington , USA
    Posts
    229
    ive googled it it doesnt work i could use some "help" not you telling me to google it
    Microsoft isn't evil, they just make really crappy operating systems.
    Linus Torvalds

    Personal and politically centrist blog.--->
    http://www.deathnerd.com

  7. #7
    Linux User nalg0rath's Avatar
    Join Date
    Sep 2004
    Location
    Stockholm
    Posts
    303
    To me it seems like gasp isn't installed. If you use Ubuntu (as you claim in sig):
    Code:
    sudo apt-get install python-gasp

  8. #8
    Linux Newbie thesimplecreator's Avatar
    Join Date
    Jun 2007
    Location
    washington , USA
    Posts
    229
    when i did that i got this
    cody@cody-kubuntu:~$ sudo apt-get install python-gasp
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Couldn't find package python-gasp
    cody@cody-kubuntu:~$
    Microsoft isn't evil, they just make really crappy operating systems.
    Linus Torvalds

    Personal and politically centrist blog.--->
    http://www.deathnerd.com

  9. #9
    Linux User nalg0rath's Avatar
    Join Date
    Sep 2004
    Location
    Stockholm
    Posts
    303
    I'm sorry about that. Apparently they no longer have a Apt repository. You might want to try to google around and find some old file or maybe you could try:
    Code:
    $ bzr branch http://dc.ubuntu-us.org/bazaar/gasp
    For this you will nedd bzr, if you haven't installed it you can do so with
    Code:
    $ sudo apt-get install bzr
    If this does not work I'm out of ideas.

  10. #10
    Linux Newbie thesimplecreator's Avatar
    Join Date
    Jun 2007
    Location
    washington , USA
    Posts
    229
    dude your awesome it works now thx
    Microsoft isn't evil, they just make really crappy operating systems.
    Linus Torvalds

    Personal and politically centrist blog.--->
    http://www.deathnerd.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...