Added: 4 years ago
From: murfvillage
Views: 73,102
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (206)

Sign In or Sign Up now to post a comment!
  • thanks. What's the fib function all about. I've never heard of it before?

    \

  • Thanks for posting.

  • i wanted to know why i was doing certain things

  • 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.

  • I like steak.

  • If i have saved a .py file, how do i run it?

  • @zerocheese you can run it from the prompt / terminal:

    > /whatever/path/to/python /whatever/path/to/your-file-he­re.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 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?

  • @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

  • Sex

  • @ubermonkey120 yeah but meditation too

  • why is print showing up as a input? O_O

  • epic vid

  • 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 in python 3 you have to put parentheses around whatever you're printing:

    so print(fib(i)) instead of print fib(i)

  • @murftown thank you

  • where is the interpreter

  • i was trying to follow it but after the else it doesnt seem to work?

  • Are you sure your not on Dual Survival?

  • LoL 1:05 Haha

  • radicle!!! DUDE!!!!

  • Thanks for the basics. Good way to get my feet wet before actually jumping in the deep end, so to speak.. Haha

  • what does fib mean in code/algorithm thing and why does he keep using it

  • Sounds like Herbert from family guy

  • scary voice have a cold

  • What is the basic use for python? Is it only concerning math functions? What all can you do with python?

  • @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

  • ooooooooooooooooooooh nooooooooooooooooooooooo i forgot my colon

  • 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

  • You have a soft and friendly voice with smooth language flow.That is very important aspect of this video.Keep it up !

  • Thanks for teaching

  • NICE WORK

    Thanks man

  • Oh NOOO i forgot my colon lol

  • Hi, I have a question:

    I downloaded Python 3.1.1

    and when I enter print, it doesnt work. Anybody know why?

    thx

  • could be because your on command line. use the IDLE.

  • You can use it from commandline too, e.g., "print ("Blah ")"

  • print-function is different in python versions 3.0 and above. You should use print ("Something text") instead.

  • Something about the way you talk reminds me of Dr. Evil from Austin Powers. Muha, MUHA, MUHAHAHAHAHAHA.

  • I got a Mr. Burns vibe from him haha

  • That's a great tutorial man!

    Keep doing this! (I'm making also tutorials for beginners, I'm starting.)

    Obiwan

  • Learn RPG Programming basics.

    AS400 - RPG . TK

  • This is a really good introduction thank you

  • thanks, I'm glad you enjoyed it

  • nICE MAN!

  • thanks

  • Why do you write i ?

  • hey qulbadeen2009 i'm not sure but i think u need "hello world" to look like this ("hello world") for it to work right

  • 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

  • This is brilliant! Any more on the way?

  • yeah ive been trying to learn it but i cant stay focused on it

  • 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.

  • i am good at C++:)))

  • good work. i am beginning to learn python and it was useful.

  • nice vid dude. cheers

  • Thanks this video helped.

  • 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.

  • LInuc and Mac are best

  • hi, i was wondering what is the computer brand for a programmer! Please don't say ACER.

  • any, as long as it is a good computer, you could have dell, acer, hp, apple,

  • Do you know somethink about writing C extensions in python?

  • eww... windows.

  • I know, the Doors are way better

  • Yea, I love their keyboard player :)

  • you sound like the guy from super high me

    but anywho cool tut cya

  • I haven't watched super high me but now I will, thanks.

  • lol@ 5:25.

    Great lesson though, I learned a lot.

  • thanks

  • please help every time a try and install python it goes all the way and then stops at publishing producting imformation help mee

  • awesome, please post more soon!

  • 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!

  • 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.

  • yeah, try the debug menu or something like that. that's what most languages do.

  • Someone needs to calm down.

  • 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

  • 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..

  • ty man

  • Hey man, Keep up the good work XD

  • Good for beginner thank a lot

  • will this work with vista?

  • yes, it work also in vista

  • epic voice

  • Comment removed

  • LOL

  • can't even run hello world, Fuck

  • what does IDLE do again?

    i can't even start it up

  • its for a older version get older its better 2.5

  • i did lol. thanks

  • i think phyton is better than C++

  • i bought a 700 page on python its cool

  • my c drive is full can i install it to my second hard drive like this?:

    D:\Python25

  • D:\Program Files\Python25

    Should work, if not make the python folder first then try again

  • 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.

  • GUI means Graphical User Interface

  • 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.

  • 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.

  • Python is a programming language, you can make programs, applications, games etc etc

  • 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.

  • thanx so much ive searched everywhere for one of these ur a great guy keep it up

  • very clear..

    plz keep tutoring ,u may even consider making a website for this , :-*

  • nice

  • Great tut. (No "fib") One of the few I've seen where everything worked!!

    Thanks, and I look forward to seeing more tuts

  • TY ure have the best basic tut everyone elses sucked hope to see more

  • 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

  • He didn't tell me what stuff does. Useless.

  • he dident say he was going to fag

  • go take a medicine

  • which one should I take?

  • what makes you say that

  • don,t give this guy attention you never know what he will do when he does it.....

  • 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?

  • Everyone turn their volumes up a few seconds before 1:14.

    :)

  • dont you mean 1:12? :P

  • Python is an excellent language for people new to programming; after that, download the Linux OS and optimize >:)

  • No ,th easyiest is BlitzBAsic3d (for Games)

  • ...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.

  • 1:14... lol! that scared the hell out of me!

  • lol

  • Thanks for shedding some light to understanding how this works. I know very little of how programming worked.

  • 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?

  • Hello, World!

    A programmer's first words :)

  • So true :)

  • what is 006.wmv?

  • Are you really arguing about how to pronounce GUI? Why not to talk about python?

  • acctually you wrong...n00b

  • 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

  • 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.

  • are you sure it's pronounced Gee You I not gooie?

  • BatchFilePro is a faggot XD

  • can you create actual programs, like exes, with Python?

  • 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.

  • Yes you can, something like #! /usr/bin/env python should do it.

  • Ok thanks i'll try it!

  • nice video man

    I knew most of it but the fib sequence is nice

  • thanks, glad you like it. python seems sweet, but I never got around to really getting to know it...

  • ^^ That really helped me, 5/5. Thanks dude :)

  • Great man, I'm glad it helped.

  • i use python for macs

  • this was very helpful. i already know VBScript

    i wanna learn python though, then Unix

    great vid

  • Thanks!

  • great vid & great work,thanx man

  • lol when u were writing the fibinachi sequence. else OH NO I FORGOT MY COLON!!!

  • i'm just a beginner it's too complicated for me :(

  • I'm a beginner too. It's not too complicated honestly.

  • Great exploration of Python.

  • great video!

    keep posting more like this one!

  • You should make another. It's been 7 months, so I am sure you can teach us some really neat stuff! =D=D=D

  • dude are the fibonacci calcs right?

    the 8th fib number is 13 not 34. Or did i miss something?

  • I think your counting is off.

  • 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...

  • nice video

  • Keep posting videos!

  • ok can someone help me here... why would u use these sort of commands? i thought these programs wer for a totaly different use

  • they are but you gatta start somewhere and why not start with something that most people know like basic maths

  • 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.

  • I wish we can put Powerpoint Slides on youtube.

  • 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...

  • hey what is the meaning of programming?

    I mean if you program on python, what is the result of it?

  • Python is one of the best programming language. Google, Youtube and Nasa are using python.

  • so you could make your own OS on it?

  • Windows? get with the times, everyones using Linux nowadays.

  • Assumptions? get with the times, everyone uses Facts nowadays.

  • :) Both good points, both good points.

  • Nice tutorial man,

    its gotten me on my feet with the basics

    THanks

  • Lol, I'm watching Youtube in Info Tech =P

  • 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

  • thank u . it is really helpfull .

  • Whew, Sorry. I brashly scored it 3 because you said your a python beginner in the beginning... sorry!

    This was an excellent tutorial!

  • hey me podrias recomendar un libro para poder aprender a programar (que hable de python claro)

    mi interes es modificar los programas

  • Thanks for a lovely tutorial and thanks for your time :)

  • 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)