Added: 2 years ago
From: ryanmshea
Views: 3,447
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (13)

Sign In or Sign Up now to post a comment!
  • Great for one liners.. :')

  • Ah, not being a Linux user I wondered what the #! line I sometimes saw was about. Thanks for clearing that up. :)

  • Quick question but wth is this even used for?

  • how do you change the input name from NameError to something else?

  • how to you download the pdb module on ubuntu?

    because when I type python -m pdb foo.py it says foo.py does not exist

    BTW sorry for being a noob :(

  • @TheGibberishGlitcher pdb is in the standard library as far as I know. Does foo.py exist? If you call a module that does not exist it should look more like this...

    [ryan@python]~$ python -m fart

    /usr/bin/python: No module named fart

  • humoreffect, I don't have Windows around but I'm sure you'll figure it out.

  • humoreffect, I don't have Windows around but I'm sure you'll figure it out.

  • I'm using python 3.2 on windows XP and none of the commands word for me, they all return a syntax error. For instance, when I try: python -c 'print "hello world"'

    it highlights the last apostrophe and says syntax error. I'm sure I'm making some stupid mistake, any thoughts?

  • @humoreffect You get syntax error because your python version is different from what he is using. Try using python 2.7.1

  • Python is cross platform. This is based on the official Python tutorial, so these will be useful if you're on Windows, Android, BeOS, QNX, IRIX (I wonder if there is a Python for IRIX).

  • this is only for python on unix?

  • very good lessons.

    I will watch all he series.

    Thank you

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more