- Видео 60
- Просмотров 69 644
Taylor's Software
США
Добавлен 21 янв 2024
Hello and welcome to my RUclips Channel. I am excited to share my knowledge of computer science and technology with you all!
How To Create PowerPoint Presentations Using Python
In this video, I cover how to create PowerPoint Presentations using the Python Programming Language and the python-pptx module. This is useful when you want to automate or convert PowerPoint Presentations from text.
Просмотров: 394
Видео
How To Eject and Close PC's CD/DVD Drive Using Python
Просмотров 16314 дней назад
In this video, I utilize the Python Programming language to eject and close the computer's CD/DVD drive. The modules used in this video are ctypes for Windows and os for Linux. This is useful when you do not want to push the physical button on your DVD/CD Drive.
How To Convert Speech To Text Using Python
Просмотров 97328 дней назад
In this video, I utilize the Python Programming Language to convert spoken speech into text. I use the speech_recognition module to extrapolate the microphone data into text.
How To Convert Any Image Into ASCII Art Using Python
Просмотров 561Месяц назад
In this video I utilize the Python Programming Language to convert an image into an ASCII Art Text File. The module that is used for this is pywhatkit.
How To Use Bitwise Operators in Python
Просмотров 509Месяц назад
In this video, I cover how to use Bitwise operations in Python. Bitwise operations allows us to manipulate individual bits and data types. I show how to encode a string using bit shifting. I mistakenly said we represent one byte with 4 bits, it's actually 8 bits.
How To Compare Files Using Python
Просмотров 887Месяц назад
In this video I utilize the Python Programming Language to compare two files. I use the built in module filecmp. This module allows you to not only compare files but directories as well. This is useful when trying to see if the contents within files are the same.
How To Rename Files Using Python
Просмотров 2492 месяца назад
In this video, I utilize the os module in the Python Programming Language to rename files. This is useful when you have multiple files you need to bulk rename.
Thank You for 1000 Subscribers!
Просмотров 582 месяца назад
Thank you all to my subscribers! You will find the discord link below, see you all there! :) Taylor's Software Discord: discord.gg/MFWcHMT8PX
How To Create a Graph Using Python
Просмотров 4462 месяца назад
In this video, I show how to use the Matplotlib module in the Python Programming Language to graph an array dataset. I generate twenty random numbers that are plotted and graphed using the Python Library. This is useful when you want to visualize your data set and create bar, line, or pie graphs.
How To Use Ollama's API With Python
Просмотров 1,3 тыс.2 месяца назад
In this video I show how to utilize the Ollama's API with Python. Ollama is an Natural Language Artificial Intelligence Model that is locally hosted on your computer and does not require an internet connection after you initially download the AI model. The Python Programming Language can be used to communicate with the AI model with a few built in libraries. This is powerful when you have a ded...
How To Create a QR Code Using Python
Просмотров 4742 месяца назад
In this video, I show how to create a QR code using the Python Programming Language. I utilize the qrcode library that is available in pip. This is great for generating quick scan links for a businesses or personal site. www.patreon.com/posts/how-to-create-qr-110839149?Link&
How To Upload and Download Files From FTP Server Using Python
Просмотров 5383 месяца назад
In this video, I use the Python Programming Language to upload and download files from an FTP Server. This is useful when sending and receiving flat files. I utilized the the ftplib module in Python to connect to the server and run FTP commands.
How To Read Word Documents In Python
Просмотров 3,4 тыс.3 месяца назад
In this video I cover how to read in Microsoft Word documents using the Python Programming Language. This is useful when trying to extract information from a single or multiple documents.
How To Execute Python Programs Using PHP
Просмотров 3783 месяца назад
In this video I cover how to run and execute Python Scripts Program Files using PHP. This is extremely powerful when you want to utilize different programming languages simultaneously.
How To Read PDF Files In Python
Просмотров 1,2 тыс.4 месяца назад
In this video, I cover how to read Adobe PDF files using the Python Programming Language. This is extremely useful when trying to extract text from PDF files.
How To Install Apache and PHP on Linux Server
Просмотров 994 месяца назад
How To Install Apache and PHP on Linux Server
How To Use Multiprocessing In Python
Просмотров 1,4 тыс.4 месяца назад
How To Use Multiprocessing In Python
How To Use Modulo Operations In Python
Просмотров 1974 месяца назад
How To Use Modulo Operations In Python
How To Create An Executable Python Program
Просмотров 7 тыс.5 месяцев назад
How To Create An Executable Python Program
How To Create Your Own Python Modules
Просмотров 6975 месяцев назад
How To Create Your Own Python Modules
How To Run A Python Program At A Specific Time
Просмотров 2,6 тыс.6 месяцев назад
How To Run A Python Program At A Specific Time
How To Create Decorator Functions In Python
Просмотров 10 тыс.6 месяцев назад
How To Create Decorator Functions In Python
How To Use Command Line Arguments In Python
Просмотров 6826 месяцев назад
How To Use Command Line Arguments In Python
How To Generate and Use SSH Key Value Pairs
Просмотров 2247 месяцев назад
How To Generate and Use SSH Key Value Pairs
How To Troubleshoot Errors In Python
Просмотров 3647 месяцев назад
How To Troubleshoot Errors In Python
dude nahh you cant be a real arch user, you gotta flex onus every videos intro 💀
Please tell me why you don't use Pycharm? It's free ! All this virtual environment crap every time is done for you and it all just works with no messing about.. Apart from that, a very interesting vid, TYVM <3 - As a noob who's learning and used Pycharm from the start for its features and simplicity, I'm genuinely interested in why you don't? I feel like I'm doing something wrong lol
Thank you! I appreciate your way to provide useful videos, easy to understand and within short times if possible!
I'm glad it's helpful! Thank you! :)
Python is really becoming a problem. I love it.
Cool! Now i need to find a pc that has cd drive 😅
This channel doesn't get enough appreciation Great video!!❤👍
Thank you so much 😀
How are you getting recognize_google? It will only let me have recognize_google_cloud, and this is making the whole process unworkable for some reason that I can't figure out.
It is a built in function with the speech_recognition module.
@TaylorsSoftware I know, I have that installed and imported. But the recognize_google isn't in the list
The same error
it now requires you to have a credentials file for api access. So the correct format of the command is: print("You Said: {}".format(recognize.recognize_google_cloud, credentials_json="path_to_your_credentials_json_file"))
Hi..thanks for sharing...any other api than chat? I got 404 not found page
Hello, you need to have ollama installed on your local machine or a server that you have access to.
@TaylorsSoftware i did installed and running. Ollama serve and status is running.
@@joeharyar9873 is it on a server or your computer that you are using?
Does this require internet?
The only internet requirement would be for the installation of the module. After the installation, you can run the Python program offline.
You are good Taylor 😅🎉
Thank you so much! :)
@@TaylorsSoftware welcome Do you know Javascript?
Nice tutorial but you can replace the open and close parenthesis with call it as a function. And the space you were saying is not necessary
Ur tone 😅 I like ur vids
Thank you! :)
Another useful nugget of python code info that will come in handy I am sure.
very cool, thanks
pretty solid but you forgot thr 0b bytes format (bytes: int = 0b1011010) , the bytes and byte stream (or whatever it was called) type also the basic logical funcs (and, and, or xor etc.)
Great Job
Thanks ❤
good video boss, but is it possible to compare files based one each line? and then output the commonalities of each file?
dude you died?????? we need you
very useful. I added a final statement "pag.press('enter')" so that it actually ran (Vim in my case, but Notepad in yours) the application
Short and sweet, nice.
Also, list comprehensions are faster!
DISCOOOORD NO WAY IM IN IM IN IM IN
Appreciate the handy sized vids you produce.
Thank you! :)
You made a mistake dude. It must be the shirt.
My shirt is the decorator function haha!
Why are you creating a virtual environment every time you install a module? Is it recommended? Does the virtual environment remove the module installations once you deactivate it?
Excellent question! It's best practice when encapsulating Python dependencies to use virtual environments. When you deactivate the virtual environment, the dependencies will also be deactivated.
I'm going to be rather critical here, but I intend it as feedback. For context: I've programmed for over 10 years, multiple paradigms, multiple languages, but have mostly written Python in the last 4 years. I see myself as intermediate to advanced. For who is this video? Beginners, right? I remember watching videos like these, back when I was a beginner, and they just confused me. I could now plot a graph with random data, but not my own data, nor could I change the graph in any meaningful way. Here's where I would like to see improvements: focus a bit more on the why. Why do I use plot(), and what kinds of data can I pass in there? Why use ylabel()? What is show() for - why does it not show automatically? Which other methods are there? How can I know? Can I somehow easily update the script to experiment and have the window update automatically? We're making a graph, but I don't know what kinds of data goes in there, nor how many. Is the type(s) of input for other kinds of graphs the same, or do I pass them differently? Also please link the code somehow to some documentation (doesn't have to be a literal link - you could make it visual as well) so newbies can learn to read the docs (and help themselves). Remember that this is the age of LLMs, and basic examples like these are better asked to ChatGPT. What YOU can do is provide more helpful information that would fit a newbie (who would barely know what to ask an LLM) so they can learn to ask the right questions. I like that you kept the video short, and your mic and camera (though a tad small - you can easily 2x your face for my phone screen) are good, so those fundamentals are covered.
Thank you for your feedback!
I would have to disagree and I will explain why. I am on the older side and learning to code. These short videos are like video cheat sheets and I find it much more productive having someone showing me the actual code and a brief on what it does. If I want a full explanation of how it works I just paste the code into ChatGPT and tell it to explain this code to a 10 year old. Any age below that I find is doesn't do a good job. ChatGPT is not video and why it is good watching someone actually input the code, even if it is boring for someone with more experience. We all have different ways we learn and I have learnt a lot from these videos, it might be a bit different if I understand how to code a bit more but at the moment these videos are helping me quite a lot while I am learning and I appreciate the effort Taylor puts in.
also congrats on your 1k ım very exited for 1k special
question time: 1) which llama (8b, or 70b) 2) which de you use (plasma gnome, cinnamon, etc.) and which windows manager (x11, wayland etc) 3)not a question but mostly an advice: you should save your important data to cloud or somewhere where it won't get hurt since Arch is arch (ı lost all my notes and practically the most important data of mine in a disk accident and now months of notes are gone and the worst part is ı wasn't the reason my dad reformatted my entire hdd just because windows couldn't read it properly (without even asking me) so ALWAYS AND ALWAYS PUT YOUR IMPORTANT STUFF ON CLOUD YOU CAN NEVER KNOW WHEN THEY WILL DIE (and its not an if question its a when question) edit: nvm my important stuff wasn't deleted but still arch is arch so use cloud 4) also ıd recommend making your tutorials more generalized and little bit more realistic (they are realistic but the while part kinda wasn't very realistic) also you could explain the relevant parts a bit more (you do explain the relevant parts but you could explain how we get the URL instead why we increment the question count (also that wasn't very realistic too like you could make it so its like an easy to use wrapper and explain using that or you could create an imaginary scenario where we need to make a module for a game or smth like that) 5) other than that video was pretty great and definitely deserved more views also ı got an idea you could use "ı use arch btw" on your intro and since its very generic and funny it will make your great videos greater and thanks for reading the whole thing and have a nice day
1) llama3 70b 2) plasma x11 3) I have drank the cloud kool-aid 4) Thank you for the suggestion 5) btw, I use arch
Hi, thanks for your video, it helped me to understand how ftplib works. And I have tried it on a ftp with a virtual machine and it works. The problem is when I want to connect to an ftps server on the internet, with implicit encryption over TLS, but the code does not work. I get this error: ftplib.error_perm: 530 Login incorrect. How can I fix it? Thanks in advance!
Hello, you can try using the FTP_TLS class in the ftplib module. Replace ftp.login() with ftp.FTP_TLS(host="", user="", passwd="", acct='', *, context=None, timeout=None, source_address=None, encoding='utf-8') Source -> docs.python.org/3/library/ftplib.html
Thanks Bro
Thanks
If I create a virtual environment and then compile it into an executable using PyInstaller, will that .exe file be flagged as a virus by antivirus software?
It depends on your antivirus.
Be careful though, because the .exe is recognized afterwards by viruses with 7 virus declarations, these are false positives, but it is to be taken into account :) unless you add a certificate, but it is chargeable
I'm now your regular subscriber 😂
Thank you! :)
@@TaylorsSoftware welcome bros
Can you tell me what you have against proper IDE's like Pycharm? It mystifies me why you don't use it especially as an educational channel since it does away with the to do all this virtual environment crap. Pycharm is free and it just works, so why not use it for an easier life??
2 weeks ago👩🏽💻 wow fresh CS information ℹ️
How do i mail u?
You can message me through the comments. :)
For those experiencing this error: "The term 'vim' is not recognized as the name of a cmdlet..." or in german "Die Benennung "vim" wurde nicht als Name eines Cmdlet..." Here's the fix: Press windows key, search for "environment variables" and then a small window opens. Click on "environment variables", then another window will open. Select the "Path" variable and click edit, then add "C:\Windows" as a path. The restart powershell and you should be good.
Thank you for the effort you put in to making these videos, they are great because they are concise on just one thing and it is like have a video cheat sheet. :)
I'm now your new subscriber
Thank you so much! :)
Thanks Taylor, just what I was going to look for
I'm glad I could help! :)
taylor I saw what you did there (the video you just took down) now everyone knows also what is FTP anyways
I haven't taken any videos down. I just posted a new one, you should check it out! :) -> ruclips.net/video/hqlb-PZj2Gg/видео.html
Great video 🎉, please include how to read .doc files as docx library works only with .docx files.
Thank you! You have two choices, Either save the .doc file as docx or you can utilize the textextract library I hope this helps!
Thanks for a great video. I keep all my code on an external drive. The file is 5 folders down from the root dir. but when I rune the code the print(fd) I get H://Python Code. The file is in H://Python Code/Test File 1/Test File 2/Test file 3/Test File 4/ Recursion In Python.py In the loop it does not get True from if (fd == ""): To then run print("recursion stopped") and then return. Here is my code. import os def rec(fd): if (fd == ""): print("recursion stopped") return else: print(fd) FormatDirectory = fd.rsplit("/", 1) print(os.listdir(fd)) rec(FormatDirectory[0]) if __name__ == "__main__": fullDirectory = os.getcwd() rec(fullDirectory)
I think you're using Windows, the file structure is a little different. Without seeing the error, I believe all you need to do is change the if statement from if (fd == "") to if (fd == "H:/"). I hope this helps!
@@TaylorsSoftware it did and thank you!!
hey taylor you havent bricked your compuer yet, right
Many times haha! JK :)
@@TaylorsSoftware great also just wondering can you kill the init process because in fedora we cant (also when you do it because its the parent process every other process (all of them) becomes zombie and you'll get an kernel panic so a fun way to brick a computer, and yes I tried sudo kiil -9 1 it doesn't work)
please work on your voice if you want people to listen to you
Can you elaborate?
Things sound pretty clear to me
Seems loud and clear enough to me? Are you talking about cadence or something?
He sounds fine
@@TaylorsSoftwareyou sound good 👍🏾. Thanks for sharing your knowledge
Timing on this video couldn't be better, thank you.
I'm glad you found it useful! :)
So you never had us create a text document, if we are following along
You can use any word document you have.
Love these short tutorials Taylor. Because they are so short, concise and directly to the point it is easy to retain what I have just learnt. Thank you the lesson and would love more like these short tutorials
Thanks again Taylor