@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...
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?
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).
Great for one liners.. :')
FragZz 5 days ago in playlist Python Osmosis
Ah, not being a Linux user I wondered what the #! line I sometimes saw was about. Thanks for clearing that up. :)
basmithtx 4 months ago
Quick question but wth is this even used for?
cadenme 8 months ago
how do you change the input name from NameError to something else?
fremefreak 9 months ago
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 11 months ago
@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
ryanmshea 11 months ago
humoreffect, I don't have Windows around but I'm sure you'll figure it out.
ryanmshea 11 months ago
humoreffect, I don't have Windows around but I'm sure you'll figure it out.
ryanmshea 11 months ago
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 1 year ago
@humoreffect You get syntax error because your python version is different from what he is using. Try using python 2.7.1
Sanakreon 11 months ago
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).
ryanmshea 1 year ago
this is only for python on unix?
kahlaflowerear24 1 year ago
very good lessons.
I will watch all he series.
Thank you
SunSolaris2008 2 years ago