Home
Videos uploaded by user “sentdex”
Python 3 Programming Tutorial - Functions
 
03:05
The idea of a function is to assign a set of code, and possibly variables, known as parameters, to a single bit of text. You can think of it a lot like why you choose to write and save a program, rather than writing out the entire program every time you want to execute it. To begin a function, the keyword 'def' is used to notify python of the impending function definition, which is what def stands for. From there, you type out the name you want to call your function. It is important to choose a unique name, and also one that wont conflict with any other functions you might be using. For example, you wouldn't want to go calling your function print. Sample code for this basics series: http://pythonprogramming.net/beginner-python-programming-tutorials/ Python 3 Programming tutorial Playlist: http://www.youtube.com/watch?v=oVp1vrfL_w4&feature=share&list=PLQVvvaa0QuDe8XSftW-RAxdo6OmaeL85M http://seaofbtc.com http://sentdex.com http://hkinsley.com https://twitter.com/sentdex Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6
Views: 184813 sentdex
What I do for a living - Q&A #1
 
09:49
Sentdex Q&A. To start, I answer how I learned Python initially, as well as how I continue to learn Python. Next, we get into what I do and why.
Views: 541318 sentdex
Python 3 Programming Tutorial - Global and Local Variables
 
06:31
Welcome to another python 3 basics video, in this video we're going to now discuss the concept of global and local variables. When users begin using functions, they can quickly become confused when it comes to global and local variables... getting a the dreaded variable is not defined even when they clearly see that it is... or so they think. These terms of global and local correspond to a variable's reach within a script or program. A global variable is one that can be accessed anywhere. A local variable is the opposite, it can only be accessed within its frame. The difference is that global variables can be accessed locally, but not modified locally inherently. A local variable cannot be accessed globally, inherently. Now, dont worry about committing that to memory right now, I think it makes a lot more sense when you just see and do it, so let's do that. Sample code for this basics series: http://pythonprogramming.net/beginner-python-programming-tutorials/ Python 3 Programming tutorial Playlist: http://www.youtube.com/watch?v=oVp1vrfL_w4&feature=share&list=PLQVvvaa0QuDe8XSftW-RAxdo6OmaeL85M
Views: 159321 sentdex
Python 3 Programming Tutorial - Function Parameters
 
04:00
The idea of function parameters in Python is to allow a programmer who is using that function, define variables dynamically within that function. Sample code for this basics series: http://pythonprogramming.net/beginner-python-programming-tutorials/ Python 3 Programming tutorial Playlist: http://www.youtube.com/watch?v=oVp1vrfL_w4&feature=share&list=PLQVvvaa0QuDe8XSftW-RAxdo6OmaeL85M In this python 3 programming basics tutorial, the topic of function parameters is discussed. http://seaofbtc.com http://sentdex.com http://hkinsley.com https://twitter.com/sentdex Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6
Views: 171326 sentdex
Python Pickle Module for saving objects (serialization)
 
07:44
This Python programming tutorial covers how to pickle objects in Python. The pickle module implements binary protocols for serializing and de-serializing a Python object structure. “Pickling” is the process whereby a Python object hierarchy is converted into a byte stream, and “unpickling” is the inverse operation, whereby a byte stream (from a binary file or bytes-like object) is converted back into an object hierarchy. Pickling (and unpickling) is alternatively known as “serialization”, “marshalling,” [1] or “flattening”; however, to avoid confusion, the terms used here are “pickling” and “unpickling”. Source: https://docs.python.org/2/library/pickle.html sample code: http://pythonprogramming.net http://hkinsley.com https://twitter.com/sentdex http://sentdex.com http://seaofbtc.com
Views: 57124 sentdex
Python 3 Programming Tutorial - Writing to File
 
03:35
Welcome to another Python 3 basics tutorial. In this tutorial we're going to cover the basics of writing to a file. It should be noted that there are two methods for saving data to a file, and those are writing and appending. Writing to a file will write that bit of data, whatever it is, solely, to the file. This means if there was anything there before, it will be gone if you use write. If you use append, then you will basically add to whatever is previously there. I will be showing both methods, but write first. Sample code for this basics series: http://pythonprogramming.net/beginner-python-programming-tutorials/ Python 3 Programming tutorial Playlist: http://www.youtube.com/watch?v=oVp1vrfL_w4&feature=share&list=PLQVvvaa0QuDe8XSftW-RAxdo6OmaeL85M http://seaofbtc.com http://sentdex.com http://hkinsley.com https://twitter.com/sentdex Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6
Views: 139850 sentdex
Python 3 programming tutorial: While Loop
 
05:55
The two distinctive loops we have in Python 3 logic are the "for loop" and the "while loop." Both of them achieve very similar results, and can almost always be used interchangeably towards a goal. Many times it comes down to programmer preference, or is reliant on efficiency. Generally, the for loop can be more efficient than the while loop, but not always. The idea of the While loop is: While something is the case, do the following block of code. Python 3 Programming tutorial Playlist: http://www.youtube.com/watch?v=oVp1vrfL_w4&feature=share&list=PLQVvvaa0QuDe8XSftW-RAxdo6OmaeL85M Sample code for this basics series: http://pythonprogramming.net/beginner-python-programming-tutorials/ This Python 3.3 programming tutorial covers the while loop within Python. http://seaofbtc.com http://sentdex.com http://hkinsley.com https://twitter.com/sentdex Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6
Views: 267169 sentdex
Python 3 Programming Tutorial: If Elif Else
 
04:19
Now we bring the in "elif" statement. The elif allows us to tie multiple if statements together as we might have intended to before with multiple if statements before we learned that the else will only be contingent on the if statement above it. The "elif" statement is a hybrid of the else and the if. The way it works is: We ask if something is the case. If it is, then the elif and the else will not run. If it is not, then the elif will run and question the if statement. If it is True, then it will run and the else will not run. If it is not true, then the else statement will run. Sample code for this basics series: http://pythonprogramming.net/beginner-python-programming-tutorials/ Python 3 Programming tutorial Playlist: http://www.youtube.com/watch?v=oVp1vrfL_w4&feature=share&list=PLQVvvaa0QuDe8XSftW-RAxdo6OmaeL85M In this python 3 programming tutorial video, you are shown how to use the if elif else statements. http://seaofbtc.com http://sentdex.com http://hkinsley.com https://twitter.com/sentdex Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6
Views: 132495 sentdex
Python 3 Programming Tutorial - Making Modules
 
04:58
In this video, we break down modules a bit more, and learn how to make our own. This is probably the easiest way to learn about how modules work and how we can use them in the future to aid our programs, or even work in groups and teams. Sample code for this basics series: http://pythonprogramming.net/beginner-python-programming-tutorials/ Python 3 Programming tutorial Playlist: http://www.youtube.com/watch?v=oVp1vrfL_w4&feature=share&list=PLQVvvaa0QuDe8XSftW-RAxdo6OmaeL85M http://seaofbtc.com http://sentdex.com http://hkinsley.com https://twitter.com/sentdex Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6
Views: 117223 sentdex
Python 3 Programming Tutorial - Appending Files
 
02:42
Now we get to appending a file in python. I will just state again that writing will clear the file and write to it just the data you specify in the write operation. Appending will simply take what was already there, and add the new data to it. That said, when you actually go to add to the file, you will still use ".write." You only specify that you will be appending instead of writing when you open the file and specify your intentions. Sample code for this basics series: http://pythonprogramming.net/beginner-python-programming-tutorials/ Python 3 Programming tutorial Playlist: http://www.youtube.com/watch?v=oVp1vrfL_w4&feature=share&list=PLQVvvaa0QuDe8XSftW-RAxdo6OmaeL85M http://seaofbtc.com http://sentdex.com http://hkinsley.com https://twitter.com/sentdex Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6
Views: 99315 sentdex
Practical Machine Learning Tutorial with Python Intro p.1
 
05:55
The objective of this course is to give you a holistic understanding of machine learning, covering theory, application, and inner workings of supervised, unsupervised, and deep learning algorithms. In this series, we'll be covering linear regression, K Nearest Neighbors, Support Vector Machines (SVM), flat clustering, hierarchical clustering, and neural networks. For each major algorithm that we cover, we will discuss the high level intuitions of the algorithms and how they are logically meant to work. Next, we'll apply the algorithms in code using real world data sets along with a module, such as with Scikit-Learn. Finally, we'll be diving into the inner workings of each of the algorithms by recreating them in code, from scratch, ourselves, including all of the math involved. This should give you a complete understanding of exactly how the algorithms work, how they can be tweaked, what advantages are, and what their disadvantages are. In order to follow along with the series, I suggest you have at the very least a basic understanding of Python. If you do not, I suggest you at least follow the Python 3 Basics tutorial until the module installation with pip tutorial. If you have a basic understanding of Python, and the willingness to learn/ask questions, you will be able to follow along here with no issues. Most of the machine learning algorithms are actually quite simple, since they need to be in order to scale to large datasets. Math involved is typically linear algebra, but I will do my best to still explain all of the math. If you are confused/lost/curious about anything, ask in the comments section on YouTube, the community here, or by emailing me. You will also need Scikit-Learn and Pandas installed, along with others that we'll grab along the way. Machine learning was defined in 1959 by Arthur Samuel as the "field of study that gives computers the ability to learn without being explicitly programmed." This means imbuing knowledge to machines without hard-coding it. https://pythonprogramming.net/machine-learning-tutorial-python-introduction/ https://twitter.com/sentdex https://www.facebook.com/pythonprogra... https://plus.google.com/+sentdex
Views: 1296994 sentdex
Enumerate - Intermediate Python Programming p.7
 
04:48
Welcome to part 7 of the intermediate Python programming tutorial series. In this part, we're going to talk about the built-in function: enumerate. A somewhat common task might be to attempt to attach an index value, or some other unique value to list items. It may be temping to use something a for loop over range(len(your_variable)), but this is usually not quite the right way. https://pythonprogramming.net https://twitter.com/sentdex https://www.facebook.com/pythonprogramming.net/ https://plus.google.com/+sentdex
Views: 25988 sentdex
Multiprocessing - Intermediate Python Programming p.10
 
11:30
Welcome to part 10 of the intermediate Python programming tutorial series. In this part, we're going to talk about the built-in library: multiprocessing. Let us take a moment to talk about the GIL. The GIL stands for Global Interpreter Lock. What the GIL does for us is... hmm... well it serves as a sort of memory management safeguard. Sounds like a good idea I guess, but not really. The real problem is that, since the GIL has existed, people have built infrastructure around it. There are better options today, but ripping out the GIL would be catastrophic. Alright, so the GIL is here to stay for probably a while. What's that mean? Python is single threaded. Even if you use threading, Python runs on a single CPU. If you have 4 physical cores, your computer probably thinks you have 8, and you're using 1 of those 8, including when threading. All threading really lets you do is access idle threads, and nothing more. It's not using more power, its just using idle power. If you monitor your CPU %, you might see that you're only using 10 or 15%, instead of the desired 100%, or at least close to it. Well that stinks! What can we do?! Enter multiprocessing! https://pythonprogramming.net https://twitter.com/sentdex https://www.facebook.com/pythonprogramming.net/ https://plus.google.com/+sentdex
Views: 34359 sentdex
Zip - Intermediate Python Programming p.8
 
07:23
Welcome to part 8 of the intermediate Python programming tutorial series. In this part, we're going to talk about the built-in function: zip (https://docs.python.org/3/library/functions.html#zip) The zip function iterates through multiple iterables, and aggregates them. Consider you have two lists, and you instead want them to be one list, where elements from the shared index are together. While simple, there are a few important notes to make when working with it! https://pythonprogramming.net https://twitter.com/sentdex https://www.facebook.com/pythonprogramming.net/ https://plus.google.com/+sentdex
Views: 23472 sentdex
Entrepreneurship, support, & finance - Q&A #5
 
10:11
In this Q&A, I discuss the topic of entrepreneurship, support from friends and family, and finance.
Views: 20969 sentdex
Python 3 Programming Tutorial - OS Module
 
05:01
In this video, we cover the OS module with Python 3. The main purpose of the OS module is to interact with your operating system. The primary use I find for it is to create folders, remove folders, move folders, and sometimes change the working directory. Sample code for this basics series: http://pythonprogramming.net/beginner-python-programming-tutorials/ Python 3 Programming tutorial Playlist: http://www.youtube.com/watch?v=oVp1vrfL_w4&feature=share&list=PLQVvvaa0QuDe8XSftW-RAxdo6OmaeL85M http://seaofbtc.com http://sentdex.com http://hkinsley.com https://twitter.com/sentdex Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6
Views: 93272 sentdex
Introduction - Django Web Development with Python 1
 
13:37
Welcome to a Django web development with Python tutorial series. Django is a Python web development framework, aimed at rapid development and deployment. One of the more common questions people have is "which framework" they should use. There are quite a few for Python, with Django and Flask being the two most popular. Flask is more of what we call a "micro" web framework. It is much "lower level" than Django is. This allows for more customization and control for the developer. Django is much more of a higher-level framework, and imposes a set structure on the developer. Thus, with Flask you can create systems your way, which is probably not most efficient, fastest, or secure way. With Django, you are a bit more constrained, but you are going to most likely do it the best way possible. As with almost all questions people ask me regarding which to use, the answer is: Try a few, and choose the one you like best. In the end, Django and Flask can be used to make the exact same websites! To try Django, you need to get Django first (you will also need Python installed). This is exceptionally simple: pip install Django Text-based tutorial and sample code: https://pythonprogramming.net/django-web-development-with-python-intro/ https://pythonprogramming.net https://twitter.com/sentdex https://www.facebook.com/pythonprogramming.net/ https://plus.google.com/+sentdex
Views: 829142 sentdex
Python 3 Programming Tutorial - Statistics (Mean, Standard Deviation)
 
02:36
In this Python 3 programming tutorial, we cover the statistics module. This module is a built-in module that comes with Python's installation, and it lets you do some basic statistic calculations. These include: Mean (average), median, mode, standard deviation, and variance. Sample code for this basics series: http://pythonprogramming.net/beginner-python-programming-tutorials/ Python 3 Programming tutorial Playlist: http://www.youtube.com/watch?v=oVp1vrfL_w4&feature=share&list=PLQVvvaa0QuDe8XSftW-RAxdo6OmaeL85M http://seaofbtc.com http://sentdex.com http://hkinsley.com https://twitter.com/sentdex Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6
Views: 92495 sentdex
Web scraping and parsing with Beautiful Soup & Python Introduction p.1
 
09:49
Welcome to a tutorial on web scraping with Beautiful Soup 4. Beautiful Soup is a Python library aimed at helping programmers https://i9.ytimg.com/vi/aIPqt-OdmS0/0.jpg?sqp=CMTBuMAF&rs=AOn4CLCCdxLaQ0UDTyvhX3N87Txa2iGDZQ&time=1477320913969who are trying to scrape data from websites. To use beautiful soup, you need to install it: $ pip install beautifulsoup4. Beautiful Soup also relies on a parser, the default is lxml. You may already have it, but you should check (open IDLE and attempt to import lxml). If not, do: $ pip install lxml or $ apt-get install python-lxml. To begin, we need HTML. I have created an example page for us to work with: https://pythonprogramming.net/parsememcparseface/ Tutorial code: https://pythonprogramming.net/introduction-scraping-parsing-beautiful-soup-tutorial/ Beautiful Soup 4 documentation: https://www.crummy.com/software/BeautifulSoup/bs4/doc/ https://pythonprogramming.net https://twitter.com/sentdex https://www.facebook.com/pythonprogramming.net/ https://plus.google.com/+sentdex
Views: 172660 sentdex
Why Python 3? Python 2 vs Python 3
 
07:36
This video covers why one is encouraged to try Python 3. This is whether you are a complete noob to Python and programming, or if you are a Python veteran that just sees no reason to ever budge from Python 2. Choosing a version of python can be hard, especially as a noob, since you wish to have the proper support and documentation to learn. Python 2, however, seems to be a sort of "rut" that people, myself included, easily get stuck in. Hopefully we can change that and help the Python language move forward. http://seaofbtc.com http://sentdex.com http://hkinsley.com https://twitter.com/sentdex Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6
Views: 478649 sentdex
Intro and Getting Stock Price Data - Python Programming for Finance p.1
 
09:34
Welcome to a Python for Finance tutorial series. In this series, we're going to run through the basics of importing financial (stock) data into Python using the Pandas framework. From here, we'll manipulate the data and attempt to come up with some sort of system for investing in companies, apply some machine learning, even some deep learning, and then learn how to back-test a strategy. I assume you know the fundamentals of Python. If you're not sure if that's you, click the fundamentals link, look at some of the topics in the series, and make a judgement call. If at any point you are stuck in this series or confused on a topic or concept, feel free to ask for help and I will do my best to help. https://pythonprogramming.net https://twitter.com/sentdex https://www.facebook.com/pythonprogramming.net/ https://plus.google.com/+sentdex
Views: 224821 sentdex
Goroutines - Go Lang Practical  Programming Tutorial p.18
 
07:25
Welcome everyone to part 18 of the Go Language programming tutorial series, where we'll be talking about concurrency in Go. First, let's acknowledge what concurrency is, and what it isn't. Concurrency is dealing with multiple things at once, and it is not actually doing multiple things simultaneously (parallelism). Text tutorials and sample code: https://pythonprogramming.net/go/ https://twitter.com/sentdex https://www.facebook.com/pythonprogramming.net/ https://plus.google.com/+sentdex
Views: 11561 sentdex
Python 3 Programming Tutorial - Dictionaries
 
07:11
In this Python 3 programming tutorial, we cover Python dictionaries. Dictionaries are a data structure in Python that are very similar to associative arrays. They are unordered and contain "keys" and "values." Each key is unique and the values can be just about anything. Dictionaries are sets and they are defined with {} curly braces. Sample code for this basics series: http://pythonprogramming.net/beginner-python-programming-tutorials/ Python 3 Programming tutorial Playlist: http://www.youtube.com/watch?v=oVp1vrfL_w4&feature=share&list=PLQVvvaa0QuDe8XSftW-RAxdo6OmaeL85M http://seaofbtc.com http://sentdex.com http://hkinsley.com https://twitter.com/sentdex Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6
Views: 125997 sentdex
Methods - Value Receivers - Go Lang Practical Programming Tutorial p.7
 
06:14
Welcome to part 7 of the Go programming tutorial series. We've been talking about structs, and we saw how to create a struct in the previous tutorial, along with accessing values from the struct. Now, we're curious about how methods might work. While Go doesn't have classes, it does have methods. The methods are not defined within the struct, however. Instead, they're associated with the struct. Here, you can either let these methods just access data via working as a copy of the struct, or you can actually point through and modify the object. Methods that just access values are called value receivers and methods that can modify information are pointer receivers. Text tutorials and sample code: https://pythonprogramming.net/go/ https://twitter.com/sentdex https://www.facebook.com/pythonprogramming.net/ https://plus.google.com/+sentdex
Views: 24681 sentdex
Python 3 Programming Tutorial: If Else
 
03:20
The If-Else statement is designed to build on the if statement's logic. Here, we ask if something is the case, and, if it is we do something. Then we say otherwise, which is contingent on the previous if statement, do something else. If the previous if statement is true, then the else will not run. If the if statement is false, then the else statement will run. Sample code for this basics series: http://pythonprogramming.net/beginner-python-programming-tutorials/ Python 3 Programming tutorial Playlist: http://www.youtube.com/watch?v=oVp1vrfL_w4&feature=share&list=PLQVvvaa0QuDe8XSftW-RAxdo6OmaeL85M In this python programming tutorial video you are shown how to use the if-else statements together. http://seaofbtc.com http://sentdex.com http://hkinsley.com https://twitter.com/sentdex Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6
Views: 129318 sentdex
Education and College Value - Q&A #2
 
14:08
After an eventful first Q&A session, here's the 2nd, covering mainly my personal education as well as my thoughts on the value of a college education and specifically a Computer Science degree.
Views: 60578 sentdex
Python 3 Programming Tutorial: Variables
 
04:26
In almost every single Python program you write, you will have variables. Variables act as placeholders for data. They can aid in short hand, as well as with logic, as variables can change, hence their name. Variables help programs become much more dynamic, and allow a program to always reference a value in one spot, rather than the programmer needing to repeatedly type it out, and, worse, change it if they decide to use a different definition for it. Variables can be called just about whatever you want. You wouldn't want them to conflict with function names, and they also cannot start with a number. Python 3 Programming tutorial Playlist: http://www.youtube.com/watch?v=oVp1vrfL_w4&feature=share&list=PLQVvvaa0QuDe8XSftW-RAxdo6OmaeL85M Sample code for this basics series: http://pythonprogramming.net/beginner-python-programming-tutorials/ Welcome to another Python 3.3 basics tutorial video. In this video you are shown the basics regarding variables in Python 3. http://seaofbtc.com http://sentdex.com http://hkinsley.com https://twitter.com/sentdex Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6
Views: 163669 sentdex
Pickling and Scaling - Practical Machine Learning Tutorial with Python p.6
 
06:25
In the previous Machine Learning with Python tutorial we finished up making a forecast of stock prices using regression, and then visualizing the forecast with Matplotlib. In this tutorial, we'll talk about some next steps. I remember the first time that I was trying to learn about machine learning, and most examples were only covering up to the training and testing part, totally skipping the prediction part. Of the tutorials that did the training, testing, and predicting part, I did not find a single one that explained saving the algorithm. With examples, data is generally pretty small overall, so the training, testing, and prediction process is relatively fast. In the real world, however, data is likely to be larger, and take much longer for processing. Since no one really talked about this important stage, I wanted to definitely include some information on processing time and saving your algorithm. While our machine learning classifier takes a few seconds to train, there may be cases where it takes hours or even days to train a classifier. Imagine needing to do that every day you wanted to forecast prices, or whatever. This is not necessary, as we can just save the classifier using the Pickle module. https://pythonprogramming.net https://twitter.com/sentdex https://www.facebook.com/pythonprogramming.net/ https://plus.google.com/+sentdex
Views: 97286 sentdex
Python 3 Programming Tutorial  - Getting user input
 
01:43
In this video, we cover how to get user input. For a simple text-based GUI (graphical user interface), it can sometimes be useful to allow for a user to enter some input into the program while it runs. Using Python 3's "input" function, we can do that. Sample code for this basics series: http://pythonprogramming.net/beginner-python-programming-tutorials/ Python 3 Programming tutorial Playlist: http://www.youtube.com/watch?v=oVp1vrfL_w4&feature=share&list=PLQVvvaa0QuDe8XSftW-RAxdo6OmaeL85M http://seaofbtc.com http://sentdex.com http://hkinsley.com https://twitter.com/sentdex Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6
Views: 130442 sentdex
Python 3 Programming Tutorial: If Statement
 
04:54
The if statement is one of the most basic forms of logic that can be introduced into your program. The idea of the if statement is to assess whether something is the case, and, if it is, then to perform the following block of code within the statement. Sample code for this basics series: http://pythonprogramming.net/beginner-python-programming-tutorials/ Python 3 Programming tutorial Playlist: http://www.youtube.com/watch?v=oVp1vrfL_w4&feature=share&list=PLQVvvaa0QuDe8XSftW-RAxdo6OmaeL85M In this tutorial you are shown how to use the if statement in python 3.3. http://seaofbtc.com http://sentdex.com http://hkinsley.com https://twitter.com/sentdex Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6
Views: 165130 sentdex
Raspberry Pi camera module streaming video to another computer
 
05:07
In this video tutorial, we cover how to stream the Raspberry Pi's camera module to another computer using HTTP protocol and the lovely VLC media player. raspivid -o - -t 0 -hf -w 800 -h 400 -fps 24 |cvlc -vvv stream:///dev/stdin --sout '#standard{access=http,mux=ts,dst=:8160}' :demux=h264 If you need to vertically flip the video, do -vf http://seaofbtc.com http://sentdex.com http://hkinsley.com https://twitter.com/sentdex Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6
Views: 134754 sentdex
Stop Words - Natural Language Processing With Python and NLTK p.2
 
07:49
One of the largest elements to any data analysis, natural language processing included, is pre-processing. This is the methodology used to "clean up" and prepare your data for analysis. One of the first steps to pre-processing is to utilize stop-words. Stop words are words that you want to filter out of any analysis. These are words that carry no meaning, or carry conflicting meanings that you simply do not want to deal with. The NLTK module comes with a set of stop words for many language pre-packaged, but you can also easily append more to this list. Playlist link: https://www.youtube.com/watch?v=FLZvOKSCkxY&list=PLQVvvaa0QuDf2JswnfiGkliBInZnIC4HL&index=1 sample code: http://pythonprogramming.net http://hkinsley.com https://twitter.com/sentdex http://sentdex.com http://seaofbtc.com
Views: 128039 sentdex
Python 3 Programming Tutorial - Sockets simple port scanner
 
05:08
In this Python 3 tutorial, we cover using our newly found knowledge on sockets to create a port scanner. It's a pretty slow scanner, but allows us to see it in practice. Sample code for this basics series: http://pythonprogramming.net/beginner-python-programming-tutorials/ Python 3 Programming tutorial Playlist: http://www.youtube.com/watch?v=oVp1vrfL_w4&feature=share&list=PLQVvvaa0QuDe8XSftW-RAxdo6OmaeL85M http://seaofbtc.com http://sentdex.com http://hkinsley.com https://twitter.com/sentdex Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6
Views: 62161 sentdex
Structs - Go Lang Practical Programming Tutorial p.6
 
07:10
In the programming language of Go, there are no Classes. Instead, we can create custom types called Structs, which we then associated methods with. Text tutorials and sample code: https://pythonprogramming.net/go/ https://twitter.com/sentdex https://www.facebook.com/pythonprogramming.net/ https://plus.google.com/+sentdex
Views: 28878 sentdex
Args and Kwargs - Intermediate Python Programming p.25
 
11:58
Welcome to part 25 of the intermediate Python programming tutorial series. In this tutorial, we're going to cover *args and **kwargs. The idea behind *args and **kwargs is that there may be times when you have a function and you want to be able to handle an unknown number of arguments. The *args will handle for any number of parameters, and **kwargs will handle for any number of keyword arguments (hence kwargs). https://pythonprogramming.net https://twitter.com/sentdex https://www.facebook.com/pythonprogramming.net/ https://plus.google.com/+sentdex
Views: 18010 sentdex
Matplotlib Tutorial 1 - Introduction and Line
 
09:27
Welcome to a Matplotlib with Python 3+ tutorial series. In this series, we're going to be covering most aspects to the Matplotlib data visualization module. Matplotlib is capable of creating most kinds of charts, like line graphs, scatter plots, bar charts, pie charts, stack plots, 3D graphs, and geographic map graphs. First, in order to actually use Matplotlib, we're going to need it! If you have a later version of Python installed, you should be able to open cmd.exe/terminal and then run: pip install matplotlib Note: You may need to do C:/Python34/Scripts/pip install matplotlib if the above shorter version doesn't work. sample code: http://pythonprogramming.net http://hkinsley.com https://twitter.com/sentdex http://sentdex.com http://seaofbtc.com
Views: 333932 sentdex
Decorators - Intermediate Python Programming p.18
 
08:50
Welcome to part 18 of the intermediate Python programming tutorial series. In this tutorial, we are going to be discussing decorators, which can be used to sort of wrap or quite literally add some "decoration" to functions and methods. https://pythonprogramming.net https://twitter.com/sentdex https://www.facebook.com/pythonprogramming.net/ https://plus.google.com/+sentdex
Views: 18335 sentdex
Data Analysis with Python and Pandas Tutorial Introduction
 
10:26
Pandas is a Python module, and Python is the programming language that we're going to use. The Pandas module is a high performance, highly efficient, and high level data analysis library. At its core, it is very much like operating a headless version of a spreadsheet, like Excel. Most of the datasets you work with will be what are called dataframes. You may be familiar with this term already, it is used across other languages, but, if not, a dataframe is most often just like a spreadsheet. Columns and rows, that's all there is to it! From here, we can utilize Pandas to perform operations on our data sets at lightning speeds. Sample code: http://pythonprogramming.net/data-analysis-python-pandas-tutorial-introduction/ Pip install tutorial: http://pythonprogramming.net/using-pip-install-for-python-modules/ Matplotlib series starts here: http://pythonprogramming.net/matplotlib-intro-tutorial/
Views: 443755 sentdex
Lemmatizing - Natural Language Processing With Python and NLTK p.8
 
04:55
A very similar operation to stemming is called lemmatizing. The major difference between these is, as you saw earlier, stemming can often create non-existent words. So, your root stem, meaning the word you end up with, is not something you can just look up in a dictionary. A root lemma, on the other hand, is a real word. Many times, you will wind up with a very similar word, but sometimes, you will wind up with a completely different word. sample code: http://pythonprogramming.net http://hkinsley.com https://twitter.com/sentdex http://sentdex.com http://seaofbtc.com
Views: 50249 sentdex
SSL for HTTPS with nginx - Django Web Development with Python 12
 
08:55
Using LetsEncrypt, we cover how to acquire and utilize an SSL certificate with Django and nginx. https://letsencrypt.org Digital Ocean Server: https://www.digitalocean.com/?refcode... Text-based tutorial and sample code: https://pythonprogramming.net/django-web-server-https-lets-encrypt-ssl/ https://pythonprogramming.net https://twitter.com/sentdex https://www.facebook.com/pythonprogra... https://plus.google.com/+sentdex
Views: 70241 sentdex
Python 3 Programming Tutorial - Parsing Websites with re and urllib
 
07:29
In this video, we use two of Python 3's standard library modules, re and urllib, to parse paragraph data from a website. As we saw, initially, when you use Python 3 and urllib to parse a website, you get all of the HTML data, like using "view source" on a web page. This HTML data is great if you are viewing via a browser, but is incredibly messy if you are viewing the raw source. For this reason, we need to build something that can sift through the mess and just pull the article data that we are interested in. Sample code for this basics series: http://pythonprogramming.net/beginner-python-programming-tutorials/ Python 3 Programming tutorial Playlist: http://www.youtube.com/watch?v=oVp1vrfL_w4&feature=share&list=PLQVvvaa0QuDe8XSftW-RAxdo6OmaeL85M http://seaofbtc.com http://sentdex.com http://hkinsley.com https://twitter.com/sentdex Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6
Views: 129588 sentdex
Deep Learning with Python, TensorFlow, and Keras tutorial
 
20:34
An updated deep learning introduction using Python, TensorFlow, and Keras. Text-tutorial and notes: https://pythonprogramming.net/introduction-deep-learning-python-tensorflow-keras/ TensorFlow Docs: https://www.tensorflow.org/api_docs/python/ Keras Docs: https://keras.io/layers/about-keras-layers/ Discord: https://discord.gg/sentdex
Views: 94024 sentdex
Python 3 Programming Tutorial - For loop
 
09:05
The next loop is the For loop. The idea of the for loop is to "iterate" through something. For each thing in that something, it will do a block of code. Most often, you will a for loop's structure very much like for eachThing in thisThing: do this stuff in this block So, again, why would someone use each type of loop? Typically, you will see the while loop being used for finite tasks that have predetermined length, and the for loop being used for tasks that have uncertain and variable time-frames. That said, the for loop can be used for the exact same tasks as the while loop. For this reason, I prefer the for loop myself, but again, it comes down to personal preference. Python 3 Programming tutorial Playlist: http://www.youtube.com/watch?v=oVp1vrfL_w4&feature=share&list=PLQVvvaa0QuDe8XSftW-RAxdo6OmaeL85M Sample code for this basics series: http://pythonprogramming.net/beginner-python-programming-tutorials/ This python 3 tutorial covers the for loop in python 3.3.3 http://seaofbtc.com http://sentdex.com http://hkinsley.com https://twitter.com/sentdex Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6
Views: 278113 sentdex
Mean Shift Intro - Practical Machine Learning Tutorial with Python p.39
 
11:42
Mean Shift is very similar to the K-Means algorithm, except for one very important factor: you do not need to specify the number of groups prior to training. The Mean Shift algorithm finds clusters on its own. For this reason, it is even more of an "unsupervised" machine learning algorithm than K-Means. The way Mean Shift works is to go through each featureset (a datapoint on a graph), and proceed to do a hill climb operation. Hill Climbing is just as it sounds: The idea is to continually increase, or go up, until you cannot anymore. We don't have for sure just one local maximal value. We might have only one, or we might have ten. Our "hill" in this case will be the number of featuresets/datapoints within a given radius. The radius is also called a bandwidth, and the entire window is your Kernel. The more data within the window, the better. Once we can no longer take another step without decreasing the number of featuresets/datapoints within the radius, we take the mean of all data in that region and we have located a cluster center. We do this starting from each data point. Many data points will lead to the same cluster center, which should be expected, but it is also possible that other data points will take you to a completely separate cluster center. https://pythonprogramming.net https://twitter.com/sentdex https://www.facebook.com/pythonprogramming.net/ https://plus.google.com/+sentdex
Views: 23928 sentdex
Creating App - Django Web Development with Python 2
 
17:21
Welcome to the second Django web development with Python tutorial. This tutorial picks up from the previous one, and is focused on getting a simple page to render some text. After you did the startproject command, a new directory is created, called whatever you named it. We called it mysite. Change directory into your new directory cd mysite. Next, we create a new app for this: python manage.py startapp webapp Now a new directory exists, called webapp. In here, we see a lot of similar files, and some new ones: webapp/ migrations/ __init__.py admin.py apps.py models.py tests.py views.py The app is indeed treated as its own package, with its own __init__.py, along with other files. For now, we will concern ourselves with views.py, and we're actually going to add another file urls.py. http://pythonprogramming.net https://twitter.com/sentdex
Views: 365462 sentdex
Python Tutorial: How to Rename Files and Move Files with Python
 
03:33
Sentdex.com Facebook.com/sentdex Twitter.com/sentdex How to rename and move files in Python using os.
Views: 31722 sentdex
Remote Access with SSH and Remote Desktop - Raspberry Pi and Python tutorials p.3
 
08:31
In this Raspberry Pi tutorial, we're going to cover how we can remotely access our Raspberry Pi, both with SSH and with a remote desktop client. We want to eventually be able to remotely access our Raspberry Pi because much of the "value" of the Raspberry Pi is its size, and that it can be put in a variety of places that we might not want to have a keyboard, mouse, and monitor attached to it at all times and we probably don't want to have to carry over all of this stuff when we do want to access it. Text-based version of this series: https://pythonprogramming.net/introduction-raspberry-pi-tutorials/ https://twitter.com/sentdex https://www.facebook.com/pythonprogramming.net/ https://plus.google.com/+sentdex
Views: 84071 sentdex
Save Classifier with Pickle  - Natural Language Processing With Python and NLTK p.14
 
06:18
As you will likely find with any form of data analysis, there is going to be some sort of processing bottleneck, that you repeat over and over, often yielding the same object in Python memory. Examples of this might be loading a massive dataset into memory, some basic pre-processing of a static dataset, or, like in our case, the training of a classifier. In our case, we spend much time on training our classifier, and soon we may add more. It is a wise choice to go ahead and pickle the trained classifer. This way, we can load in the trained classifier in a matter of milliseconds, rather than waiting 3-5+ minutes for the classifier to be trained. To do this, we use the standard library's "pickle" module. What pickle does is serialize, or de-serialize, python objects. This could be lists, dictionaries, or even things like our trained classifier! Playlist link: https://www.youtube.com/watch?v=FLZvOKSCkxY&list=PLQVvvaa0QuDf2JswnfiGkliBInZnIC4HL&index=1 sample code: http://pythonprogramming.net http://hkinsley.com https://twitter.com/sentdex http://sentdex.com http://seaofbtc.com
Views: 32756 sentdex
How to send an email with Python
 
07:04
This tutorial covers how to send a basic email within Python. Sentdex.com Facebook.com/sentdex Twitter.com/sentdex
Views: 102006 sentdex
Programming languages, Sentdex history, and more - Q&A #6
 
08:54
A few quick questions, the history of Sentdex (both the website and channel), and programming language choices. https://pythonprogramming.net https://twitter.com/sentdex https://www.facebook.com/pythonprogramming.net/ https://plus.google.com/+sentdex
Views: 17558 sentdex

Termios sample cover letter
Cover letter for foreman position
Essay writing service best
Looking for a new career cover letter
Vedanta newsletter formats