Awesome tutorial and I hope you keep going! One thing, GUI is not supposed to be pronounced as a word (at least I don't think). It's G-U-I. That just confused me for a sec.
@murftown Thanks, i thought there was a shorter way, like if u ran python from the same directory as the script, but its just easier to browse to the file and run it form there...
@zerocheese if you want to load a python file as a module, it needs to be in the sys.path. type "import sys" and then "sys.path" to see what directories python looks in when you say "import whatever". if you want to add a certain directory forever and for always you need to add it to the PYTHONPATH environment variable.
@murftown when i say sys.path it does point to the directory i keep my python projects, is there a way i can set up python so from the command line i can just say python myproject.py?
@overlord3069 You can make a variety of things in python, GUIs, user inputs programs, commercial projects. I have a number of tutorials already on my channel and more coming soon. Hope that you check them out and like them :D If you do please subscribe for the next ones :P
Hi, I'm totally new to programming, is your tutorial for people with no programming experience, because I'm not understanding very much, please help, I really want to learn
how do you run the program you've written? what is the point of writing print('hello world') and saving it if you can't actually MAKE the printer do that?
I don't actually know python myself (which is why I'm watching this video :p) but judging from past experience with programming, the 'print' function isn't literal, it would mean to simply display that text on-screen.
hiya can you help me becasue my python files will not open and i save them but they do not re open when i click on then again it just asks me for a program to open it with please help btw good vid
I've found I always love python. No matter how many times I've stopped and learned other programming languages. Been coding a few years, so i'm throwing videos of my own up.
hey, don't forget about portablepython[dot]com. i just found it, it has an interpreter, and fits on a USB stick. I'm learning too, so figure i'd throw it out. Unfortunately, it's only for windows.
not just for working out math problems. A GUI is short for graphical user interface, so it like most programs you are used to, programs without a GUI are command-line.
I'm sorry, but I don't understand what python is. I was told you can use it to make programs/applications. Is that true? Someone please explain this to me.
It's a programming language. I once took a course in C++ years ago and I learned just how great it can be to know how to program. It takes time to learn and time to master, but if you can get the hang of it, not only can you make some very neat stuff, but all those open source programs on the internet will be your oyster! :p
In my opinion, Python is one of the best languages for beginners. Not only is it multi-platform, but it is also very powerful. After learning it, just learn C and use it on Linux or BSD and anything is possible.
i got permission to use clamwin antivirus in my software, but the thing is that i want to change/rename the programs title and other features to the name of my program, but the code is written in python. Can you help me with this?
...No one said that Python is the easiest language to learn at first...
My opinion on the easiest language to learn first is the original, Basic; they are the self-proclaimed elementary school language, as, "Even a five-year-old can learn it!"
Python has a very hassle-free way of coding, allowing the user to focus more on the big picture of his program, as opposed to the little annoying details that you'd get with C++ or similar languages. I've been programming for close to 10 years and Python is the most powerful language I've ever dealt with.
Oh yeah, I just remembered something. for any mac python coders out there that don't know much about wxpython yet (me), here's how you can make your program an executable:
Type a python code in textedit or something, and put '.py' at the end. Double click it. Right click the executable that pops up, and choose "show package contents". Open the 'MacOS' folder, and make an alias of the Unix executable file of the same name of your program. The alias will open in terminal.
Why is it pronounced "gooie?" I'm not contesting it, I'm just wondering; I've just always said the letters or "Graphical User Interface," but I'm just a tinkerer.
That's a good question, I don't actually know off the top of my head. I bet there's some way to compile a script into an .exe, with the necessary parts of Python built in so in will run standalone.
Haha, amazing. He's covered in 8 minutes what my Computer Problem solving teacher has been going over for half a semester already! Granted, we're using Java, and also learning aboout the hardware/software at the same time, but I'm shocked how much more simplistic this is in comparison.
thanks. What's the fib function all about. I've never heard of it before?
\
soho2014 1 week ago
Thanks for posting.
NoseBleedrummer 1 month ago
i wanted to know why i was doing certain things
04munchie 2 months ago
Awesome tutorial and I hope you keep going! One thing, GUI is not supposed to be pronounced as a word (at least I don't think). It's G-U-I. That just confused me for a sec.
imshanedulong 2 months ago
I like steak.
vailmaster5 4 months ago
If i have saved a .py file, how do i run it?
zerocheese 5 months ago
@zerocheese you can run it from the prompt / terminal:
> /whatever/path/to/python /whatever/path/to/your-file-here.py
or you can right click the .py file and see if there's an option to Open with a certain Application, then choose Python.
murftown 5 months ago
@murftown Thanks, i thought there was a shorter way, like if u ran python from the same directory as the script, but its just easier to browse to the file and run it form there...
zerocheese 5 months ago
@zerocheese if you want to load a python file as a module, it needs to be in the sys.path. type "import sys" and then "sys.path" to see what directories python looks in when you say "import whatever". if you want to add a certain directory forever and for always you need to add it to the PYTHONPATH environment variable.
murftown 5 months ago
@murftown when i say sys.path it does point to the directory i keep my python projects, is there a way i can set up python so from the command line i can just say python myproject.py?
zerocheese 5 months ago
@zerocheese hmm well i don't know if you can set it up like that, but you could now probably do:
python -c "import myproject"
and it will run the code in path/to/myproject.py assuming it's in sys.path
murftown 5 months ago
Sex
ubermonkey120 5 months ago
@ubermonkey120 yeah but meditation too
murftown 5 months ago
why is print showing up as a input? O_O
phdddude21 7 months ago
epic vid
jonmaxell 8 months ago
for i in range(10) print fib(i)
doesn't work for me on py3.2. only works with "fib(i)" instead of "print fib(i)"
wtf?
iMPRE7ed 8 months ago
@iMPRE7ed in python 3 you have to put parentheses around whatever you're printing:
so print(fib(i)) instead of print fib(i)
murftown 8 months ago
@murftown thank you
iMPRE7ed 8 months ago
This has been flagged as spam show
@iMPRE7ed in python 3 you have to put parentheses around whatever you're printing:
so print(fib(i)) instead of print fib(i)
murftown 8 months ago
where is the interpreter
vishnudrago99 8 months ago
i was trying to follow it but after the else it doesnt seem to work?
draconisthe0ry 10 months ago
Are you sure your not on Dual Survival?
TheTruthUnraveller 10 months ago
LoL 1:05 Haha
asgerhald 1 year ago
@asgerhald 1:10
asgerhald 1 year ago
radicle!!! DUDE!!!!
TheFricikinTRuth2 1 year ago
Thanks for the basics. Good way to get my feet wet before actually jumping in the deep end, so to speak.. Haha
Xblade1314 1 year ago 3
what does fib mean in code/algorithm thing and why does he keep using it
oreosboy 1 year ago
Sounds like Herbert from family guy
Justinballer1234 1 year ago
scary voice have a cold
PatManAndCWE 1 year ago
What is the basic use for python? Is it only concerning math functions? What all can you do with python?
overlord3069 1 year ago
@overlord3069 You can make a variety of things in python, GUIs, user inputs programs, commercial projects. I have a number of tutorials already on my channel and more coming soon. Hope that you check them out and like them :D If you do please subscribe for the next ones :P
Thanks
-Tekboi
T3kB0i8P 1 year ago
ooooooooooooooooooooh nooooooooooooooooooooooo i forgot my colon
jellybellies132 1 year ago
Hi, I'm totally new to programming, is your tutorial for people with no programming experience, because I'm not understanding very much, please help, I really want to learn
MW2mostwanted 1 year ago
You have a soft and friendly voice with smooth language flow.That is very important aspect of this video.Keep it up !
zerroffff 1 year ago
Thanks for teaching
sadajuyar0 2 years ago
NICE WORK
Thanks man
ShadiAjja 2 years ago
Oh NOOO i forgot my colon lol
bringinhomesara 2 years ago 31
Hi, I have a question:
I downloaded Python 3.1.1
and when I enter print, it doesnt work. Anybody know why?
thx
gharib4ever 2 years ago
could be because your on command line. use the IDLE.
DarkStrado 2 years ago
You can use it from commandline too, e.g., "print ("Blah ")"
SatanicVampireCorpse 1 year ago
print-function is different in python versions 3.0 and above. You should use print ("Something text") instead.
skf1n 2 years ago
Something about the way you talk reminds me of Dr. Evil from Austin Powers. Muha, MUHA, MUHAHAHAHAHAHA.
gsus7125 2 years ago 2
I got a Mr. Burns vibe from him haha
redcthulhu 2 years ago
That's a great tutorial man!
Keep doing this! (I'm making also tutorials for beginners, I'm starting.)
Obiwan
ObiwanKenoobie 2 years ago
Learn RPG Programming basics.
AS400 - RPG . TK
MusicMan208DT 2 years ago
This is a really good introduction thank you
BenTheBozer 2 years ago
thanks, I'm glad you enjoyed it
camurflage 2 years ago
nICE MAN!
cipher10000 2 years ago
thanks
camurflage 2 years ago
Why do you write i ?
hax0rman101 2 years ago
hey qulbadeen2009 i'm not sure but i think u need "hello world" to look like this ("hello world") for it to work right
GothPython 2 years ago
print "hello wold" and print 'hello world' is not working for me AN ANY ONE HELP PLEASE
BUT FUNCTION AND EVERY OTHER THING IS WORKING PROPERLY
qulbadeen2009 2 years ago
This is brilliant! Any more on the way?
ItsConcept3D 2 years ago
yeah ive been trying to learn it but i cant stay focused on it
xwallinx 2 years ago
Im good at C++ too and this seems very similar to like declaring functions. But im just learning Python now and its not being nice to me.
NickelxK5 2 years ago
i am good at C++:)))
Soundtrack1000 2 years ago
good work. i am beginning to learn python and it was useful.
kurinchiblogger 2 years ago
nice vid dude. cheers
GOOB3000 2 years ago
Thanks this video helped.
BlookinBoy 2 years ago
If you are learning python, don't you think it's time to run linux?
There is no better place to use python than linux.
whiteguysamurai 2 years ago
LInuc and Mac are best
Soundtrack1000 2 years ago
hi, i was wondering what is the computer brand for a programmer! Please don't say ACER.
bluefal 2 years ago
any, as long as it is a good computer, you could have dell, acer, hp, apple,
jforce93 2 years ago
Do you know somethink about writing C extensions in python?
artilekt 2 years ago
eww... windows.
ncolgan 2 years ago
I know, the Doors are way better
camurflage 2 years ago
Yea, I love their keyboard player :)
smergibblegibberish 2 years ago
you sound like the guy from super high me
but anywho cool tut cya
phait08 2 years ago
I haven't watched super high me but now I will, thanks.
camurflage 2 years ago
lol@ 5:25.
Great lesson though, I learned a lot.
NoseBleedrummer 2 years ago
thanks
TheBlueDuckMOE 2 years ago
please help every time a try and install python it goes all the way and then stops at publishing producting imformation help mee
merlinmercer 2 years ago
awesome, please post more soon!
leitermann 2 years ago
That was hilarious at 5:25! I was following u and then it didn't work and u said "oh noo!" like in a lame voice!
ArmyTank00 2 years ago
how do you run the program you've written? what is the point of writing print('hello world') and saving it if you can't actually MAKE the printer do that?
EmoIrish37 2 years ago
I don't actually know python myself (which is why I'm watching this video :p) but judging from past experience with programming, the 'print' function isn't literal, it would mean to simply display that text on-screen.
sethiroth100 2 years ago
yeah, try the debug menu or something like that. that's what most languages do.
AwesomeTown21 2 years ago
Someone needs to calm down.
onnet7 2 years ago 2
hiya can you help me becasue my python files will not open and i save them but they do not re open when i click on then again it just asks me for a program to open it with please help btw good vid
dudeofgy 2 years ago
Help!! My phyton always ends up running in cmd.exe.. i cant use it with the one on your demonstration.. im using phyton 2.5.4.. please reply.. Tnx..
access08 2 years ago
ty man
vormanokarol 2 years ago
Hey man, Keep up the good work XD
Vorbis5 2 years ago
Good for beginner thank a lot
wai277 3 years ago
will this work with vista?
kahlilbaddem09 3 years ago
yes, it work also in vista
wai277 3 years ago
epic voice
naldzo 3 years ago 28
Comment removed
eruse 3 years ago
LOL
dcnutter 2 years ago
can't even run hello world, Fuck
Rukawa11kaede 3 years ago
what does IDLE do again?
i can't even start it up
m180322 3 years ago
its for a older version get older its better 2.5
Jacobzoil 3 years ago
i did lol. thanks
m180322 3 years ago
i think phyton is better than C++
kagami89 3 years ago 3
i bought a 700 page on python its cool
jakechapy 3 years ago
my c drive is full can i install it to my second hard drive like this?:
D:\Python25
schetleft 3 years ago
D:\Program Files\Python25
Should work, if not make the python folder first then try again
PerrenEcho 3 years ago
I've found I always love python. No matter how many times I've stopped and learned other programming languages. Been coding a few years, so i'm throwing videos of my own up.
subfuzion 3 years ago
hey, don't forget about portablepython[dot]com. i just found it, it has an interpreter, and fits on a USB stick. I'm learning too, so figure i'd throw it out. Unfortunately, it's only for windows.
arinlares 3 years ago
GUI means Graphical User Interface
atlaschooty 3 years ago
python is a very powerful programing Language
not just for working out math problems. A GUI is short for graphical user interface, so it like most programs you are used to, programs without a GUI are command-line.
macole111 3 years ago
I'm sorry, but I don't understand what python is. I was told you can use it to make programs/applications. Is that true? Someone please explain this to me.
xIceDragonFirex 3 years ago
Python is a programming language, you can make programs, applications, games etc etc
Credlin 3 years ago
It's a programming language. I once took a course in C++ years ago and I learned just how great it can be to know how to program. It takes time to learn and time to master, but if you can get the hang of it, not only can you make some very neat stuff, but all those open source programs on the internet will be your oyster! :p
Hotshotter3000 3 years ago
In my opinion, Python is one of the best languages for beginners. Not only is it multi-platform, but it is also very powerful. After learning it, just learn C and use it on Linux or BSD and anything is possible.
andrewslinuxbox 3 years ago
thanx so much ive searched everywhere for one of these ur a great guy keep it up
pebimandog1 3 years ago
very clear..
plz keep tutoring ,u may even consider making a website for this , :-*
jd1iraq 3 years ago
nice
romeoandjule 3 years ago
Great tut. (No "fib") One of the few I've seen where everything worked!!
Thanks, and I look forward to seeing more tuts
a2zhandi 3 years ago
TY ure have the best basic tut everyone elses sucked hope to see more
beteasta3 3 years ago
hi
i got permission to use clamwin antivirus in my software, but the thing is that i want to change/rename the programs title and other features to the name of my program, but the code is written in python. Can you help me with this?
Thanks
hiyoumate 3 years ago
He didn't tell me what stuff does. Useless.
Dan14159 3 years ago
he dident say he was going to fag
mainmenu120 3 years ago
go take a medicine
denztrivium 3 years ago
which one should I take?
camurflage 3 years ago
This comment has received too many negative votes show
This guy is grade A pedophile...
yoman258 3 years ago
what makes you say that
camurflage 3 years ago 3
don,t give this guy attention you never know what he will do when he does it.....
eternia15 3 years ago
This comment has received too many negative votes show
this isn't a tutorial... this is you showing off that you know the absolute basics of a programming language. fail.
eternalYouth304 3 years ago
do you actually think I'm showing off, or did you just decide to say that for some reason, perhaps to sound a bit cool?
camurflage 3 years ago 2
Everyone turn their volumes up a few seconds before 1:14.
:)
J4ZZH4NDZ 3 years ago
dont you mean 1:12? :P
GOABrooks 3 years ago
Python is an excellent language for people new to programming; after that, download the Linux OS and optimize >:)
Pichounator 3 years ago
No ,th easyiest is BlitzBAsic3d (for Games)
dummknie 3 years ago
...No one said that Python is the easiest language to learn at first...
My opinion on the easiest language to learn first is the original, Basic; they are the self-proclaimed elementary school language, as, "Even a five-year-old can learn it!"
Pichounator 3 years ago 2
Python has a very hassle-free way of coding, allowing the user to focus more on the big picture of his program, as opposed to the little annoying details that you'd get with C++ or similar languages. I've been programming for close to 10 years and Python is the most powerful language I've ever dealt with.
SlapEveryJew 3 years ago
1:14... lol! that scared the hell out of me!
ceciiix 3 years ago 8
lol
nucklsandwich 3 years ago
This comment has received too many negative votes show
you sound like a sex offender
rustyoldbanger 3 years ago
Thanks for shedding some light to understanding how this works. I know very little of how programming worked.
yu2ube09 3 years ago
Oh yeah, I just remembered something. for any mac python coders out there that don't know much about wxpython yet (me), here's how you can make your program an executable:
Type a python code in textedit or something, and put '.py' at the end. Double click it. Right click the executable that pops up, and choose "show package contents". Open the 'MacOS' folder, and make an alias of the Unix executable file of the same name of your program. The alias will open in terminal.
Any better ways though?
Snaily2 3 years ago
Hello, World!
A programmer's first words :)
Snaily2 3 years ago
So true :)
LucasChu10 3 years ago
what is 006.wmv?
dellinspiron710m 3 years ago
Are you really arguing about how to pronounce GUI? Why not to talk about python?
guille1983 3 years ago 2
This comment has received too many negative votes show
DUDE! Omfg I can't beleive you don't know this. Its procounced "Gee You I" not "GOOIE"
for GUI
DUHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
BatchFilePro 3 years ago
acctually you wrong...n00b
ThumperProductions 3 years ago
Actually, you're both wrong.
It's spelled 'pronounced,' not procounced.
And, it's spelled 'Actually,' not acctually.
Go buy a dictionary, you message board losers. By the way, it IS pronounced 'goo-ey'...
LOLn00bzevrEwhere
vastasiwannabe 3 years ago 2
Why is it pronounced "gooie?" I'm not contesting it, I'm just wondering; I've just always said the letters or "Graphical User Interface," but I'm just a tinkerer.
Caellach1215 3 years ago 2
This comment has received too many negative votes show
who gives a fcuk?
cliffordmcgowan 3 years ago
are you sure it's pronounced Gee You I not gooie?
kdmq 3 years ago
BatchFilePro is a faggot XD
596319adrianserrano 3 years ago
can you create actual programs, like exes, with Python?
JaxDragon1 3 years ago
That's a good question, I don't actually know off the top of my head. I bet there's some way to compile a script into an .exe, with the necessary parts of Python built in so in will run standalone.
camurflage 3 years ago
Yes you can, something like #! /usr/bin/env python should do it.
Dejaiin 3 years ago 3
Ok thanks i'll try it!
JaxDragon1 3 years ago
nice video man
I knew most of it but the fib sequence is nice
tomv3nd3774 4 years ago 2
thanks, glad you like it. python seems sweet, but I never got around to really getting to know it...
camurflage 4 years ago 2
^^ That really helped me, 5/5. Thanks dude :)
MINULLA1 4 years ago
Great man, I'm glad it helped.
camurflage 4 years ago
i use python for macs
rstaekwando 4 years ago
this was very helpful. i already know VBScript
i wanna learn python though, then Unix
great vid
ViralManiac 4 years ago
Thanks!
GradeFPoultry 4 years ago
great vid & great work,thanx man
arunmanoj 4 years ago
lol when u were writing the fibinachi sequence. else OH NO I FORGOT MY COLON!!!
kdmq 4 years ago
i'm just a beginner it's too complicated for me :(
xMeaningX 4 years ago
I'm a beginner too. It's not too complicated honestly.
AstroBoy55555 4 years ago
Great exploration of Python.
Devourer09 4 years ago
great video!
keep posting more like this one!
iamjhou 4 years ago
You should make another. It's been 7 months, so I am sure you can teach us some really neat stuff! =D=D=D
FBIRyan 4 years ago
dude are the fibonacci calcs right?
the 8th fib number is 13 not 34. Or did i miss something?
danielsaan1976 4 years ago
I think your counting is off.
BPMontana 4 years ago
Oh, do you mean I'm indexing the Fib sequence wrong? Quite possibly, I don't know what the correct way to do it is for sure...
camurflage 4 years ago
nice video
n4rut4rd 4 years ago
Keep posting videos!
zuruva 4 years ago
ok can someone help me here... why would u use these sort of commands? i thought these programs wer for a totaly different use
diggydd 4 years ago
they are but you gatta start somewhere and why not start with something that most people know like basic maths
KingOfGum 4 years ago
Haha, amazing. He's covered in 8 minutes what my Computer Problem solving teacher has been going over for half a semester already! Granted, we're using Java, and also learning aboout the hardware/software at the same time, but I'm shocked how much more simplistic this is in comparison.
Sawta 4 years ago
I wish we can put Powerpoint Slides on youtube.
az76155 4 years ago
why not just screenshot them? (PrtSc - Print Screen) and then just copy them into moviemaker or w/e... they might not be too readable though...
dbalexamiga 4 years ago
hey what is the meaning of programming?
I mean if you program on python, what is the result of it?
gezerbey 4 years ago
Python is one of the best programming language. Google, Youtube and Nasa are using python.
az76155 4 years ago
so you could make your own OS on it?
gezerbey 4 years ago
Windows? get with the times, everyones using Linux nowadays.
wafflemou 4 years ago
Assumptions? get with the times, everyone uses Facts nowadays.
XooxerX 4 years ago
:) Both good points, both good points.
camurflage 4 years ago
Nice tutorial man,
its gotten me on my feet with the basics
THanks
petze08 4 years ago
Lol, I'm watching Youtube in Info Tech =P
havoce 4 years ago
THANKS MAN! i have no idea what my teacher is talking baout in class i have a hard time understading him but this helped out
XaleTorren 4 years ago
thank u . it is really helpfull .
aboreema 4 years ago
Whew, Sorry. I brashly scored it 3 because you said your a python beginner in the beginning... sorry!
This was an excellent tutorial!
westsan 4 years ago
hey me podrias recomendar un libro para poder aprender a programar (que hable de python claro)
mi interes es modificar los programas
josealejandroabdo 4 years ago
Thanks for a lovely tutorial and thanks for your time :)
SandParticle 4 years ago
Hi murfvillage. Just to say - if you'd like a Python-specific home for your videos, do come take a look at ShowMeDo (dot com).
We have 136 Python tutorials in the site and we're working with the Python Software Foundation to add tutorials to python (dot org).
Cheers,
Ian (co-founder of ShowMeDo)
ianATshowmedo 4 years ago