Python 2.7 Tutorial Part 1

preview_player
Показать описание

Python Tutorial 2.5 - 2.7: I explain how to set up IDE and then explain the basics of programming in Python. By the time this tutorial is done you'll be able be able to work with files, databases, network programming, chat systems, automated websites, GUI's and much more. This will be the definitive Python tutorial. You asked for the best Python tutorial and I'll do my best to give it to you.

Рекомендации по теме
Комментарии
Автор

Hey Derek... I just wanted to say thank you for what you do. I have experience programming in the C family of languages and was having a real hard time finding python tutorials that weren't geared toward complete programming novices and extremely tedious... huge relief when I came across your tutorials. Everything straight to the point. I've learned python so fast because of you. Seriously, thanks for taking the time to make these, from coder to fellow coder I appreciate it.

ssmmtt
Автор

I'm glad you enjoyed it. I edit the videos so that some times it may seem as if eclipse is doing the work for me. Sorry if that was confusing

derekbanas
Автор

@unwireme Glad you liked it. I created tons of tutorials on Python. If you need help just ask.
Thanks

derekbanas
Автор

@lbrtdy Window > Preferences > Pydev > Editor > Code Completion, and check the 'Use Code Completion?' box. If your not using windows check under the Apple logo or elsewhere for Preferences. For syntax highlighting Right-click on the file in the package explorer, go to 'Open With', and make sure you're opening it with the Python Editor, and not the regular Text Editor. Syntax highlighting is on by default

derekbanas
Автор

You're very welcome :) To enable code completion, go to Window > Preferences > Pydev > Editor > Code Completion, and check Use Code Completion box.

Syntax coloring should just work by default. Right-click on the file in the package explorer, go to 'Open With', and make sure you're opening it with the Python Editor, and not the regular Text Editor.

derekbanas
Автор

You can do most anything with Python, or most programming languages. You can automate numerous activities. You can comb through never ending supplies of information to answer any question. You can have a computer solve most any problem while you relax :)

derekbanas
Автор

Thank you :) I've changed a great deal since I started making these. Now I normally draw a sequence diagram with a few notes. I then write the code from the sequence diagram. I like the improvised feeling that comes from doing that. I record the screencasts with camtasia 2. I edit out all of the pauses using iMovie. I think when I made this I was still using a Mac mini

derekbanas
Автор

My Python 3 tutorial may be a better tutorial to start off on. I do my best to explain everything step by step in it. Feel free to ask questions

derekbanas
Автор

Make sure you save the file in the src folder. You can find it in the package explorer part of eclipse. To display package explorer click Window - Show View - Package Explorer

derekbanas
Автор

@Chamerlengo The file you need to download is eclipse-SDK-3.6.2-win32 It's called Eclipse Classic. I'm not sure what you have, but this has an installer

derekbanas
Автор

@MikeslyMontague Yes if that is the location of your compiler. It won't matter normally though because you'll make the program executable

derekbanas
Автор

@TVkeyse I'll do my best to live up to that comment. I'll do my best to get part 2 out tonight :)'

derekbanas
Автор

@lbrtdy You're welcome. Sorry I didn't point that out in the video

derekbanas
Автор

With plugins you can do most anything with Eclipse. It is a great piece of free software :)

derekbanas
Автор

Preferences - General - Editors - Text Editors - Click the the Colors and Fonts link

derekbanas
Автор

Syntax coloring should just work by default. Right-click on the file in the package explorer, go to 'Open With', and make sure you're opening it with the Python Editor, and not the regular Text Editor.

derekbanas
Автор

Make sure PyDev is selected in the upper right hand corner in Eclipse. Try to right click on the program in package explorer and then run. The Juno version of Eclipse doesn't seem to like PyDev. I still use Indigo

derekbanas
Автор

Hey Derek! I wanted to thank you so much for creating this tutorial. Some may think that developing a full multiplayer community based game is hard because you have to keep updates current and new features, keep the game/game server and website online 24/7, patching bugs and exploits, banning hackers, and just in general having someone teach you this stuff. Imagine all of the things I listed before, accept with teaching yourself this stuff. This tutorial really helped me and for everyone else here. Thank you...

maskedicy
Автор

@picorettte I just checked. If you have Windows 7 you must be logged in as an Admin to install Pydev in Eclipse. Then click Help - Install New Software. Type in Pydev and Pydev Extensions & pydev org/updates then next a bunch of times and finish

derekbanas
Автор

You can click ALT - SHIFT to change the keyboard layout. Also if you are in Windows go to Control Panel, Keyboard Settings and remove the layouts that you don't want to use. That way they won't be able to switch. I hope that helps

derekbanas