Internet Speed Test with Python

  Рет қаралды 30,806

NeuralNine

NeuralNine

Күн бұрын

Пікірлер: 100
@val-tl4lr
@val-tl4lr 2 жыл бұрын
help ! it doesn't work : "error unable to connect to servers to test latency"
@ido9129
@ido9129 Жыл бұрын
AttributeError: module 'speedtest' has no attribute 'Speedtest' Why? Please someone help
@zikobht4623
@zikobht4623 3 жыл бұрын
We can all agree that this dude a legen when it comes to Python 👌
@LearnTermux
@LearnTermux 3 жыл бұрын
yeah😍
@muthurubant5812
@muthurubant5812 3 жыл бұрын
Yeah🔥
@NeuralNine
@NeuralNine 3 жыл бұрын
Thank you brother. Appreciate it! :)
@zikobht4623
@zikobht4623 3 жыл бұрын
@@NeuralNine i am telling facts bro, thanks for the amazing content
@benjamindreyer9884
@benjamindreyer9884 3 жыл бұрын
I think the module is outdated for python 3.9, i get this error: AttributeError: partially initialized module 'speedtest' has no attribute 'Speedtest' (most likely due to a circular import)
@sumerox7746
@sumerox7746 3 жыл бұрын
It works mate, just checked
@sumerox7746
@sumerox7746 3 жыл бұрын
import speedtest test = speedtest.Speedtest() print("Loading server list") test.get_servers() # -> get list of servers print("Choosing the best server") best = test.get_best_server() # -> choose best server print(f"Found: {best['host']} located in {best['country']}") print('Performing download test') download_result = test.download() # bit = Kbit/1024 Kbit = Mbit / 1024 print('Performing upload test') upload_result = test.upload() ping_result = test.results.ping print(f"Download speed: {download_result/1024/1024:.2f} Mbit/sec Upload speed: {upload_result/1024/1024:.2f} Mbit/sec Ping speed: {ping_result:.2f} ms")
@brkmrt2
@brkmrt2 3 жыл бұрын
yeah, i checked the repository and it works with Python 2.4-3.7
@benjamindreyer9884
@benjamindreyer9884 3 жыл бұрын
@@sumerox7746 yes but you must be using a previous version of python 3.9.4
@visuss1
@visuss1 3 жыл бұрын
Did you try changing your file name ? Hope its not speedtest as well
@stevenwoods9403
@stevenwoods9403 3 жыл бұрын
@NeuralNine: It's not often that I comment on videos here on YT, but I watched this video (and a lot of your other videos), and I've used your code for a tiny project of mine (I've credited you in the code). I'm not an avid coder - not by a long shot - but I finally found the "key" to understanding a lot of how coding (and especially Python) works. Most of that understanding is because of your great way of "show and tell" in your videos. Thumbs up! Keep up the good work!
@NeuralNine
@NeuralNine 3 жыл бұрын
I really appreciate your comment thank you! :)
@marcusmar1190
@marcusmar1190 2 жыл бұрын
Hey, can we do that on the mobile app
@kaisj7
@kaisj7 3 жыл бұрын
sorry I get this error throw that I was install sppedtest module ..........""AttributeError: module 'speedtest' has no attribute 'speedtest'
@martingamingstreamhighligts
@martingamingstreamhighligts 3 жыл бұрын
Are you using this library under python 3.9? Because my python compiler sais an error because of the python version.
@g.s.3389
@g.s.3389 3 жыл бұрын
great video as usual, the same python library has a method that can be called and gives back a dictionary. a=test.results.dict()
@dennydavid2606
@dennydavid2606 3 жыл бұрын
How did u made that quick refactor at 5:19 that was awesome what is the trick?
@lingeshwaran
@lingeshwaran 2 жыл бұрын
you're a underrated legend
@zdrTamas
@zdrTamas 3 жыл бұрын
source code?
@Salmankhan-qt8uy
@Salmankhan-qt8uy 2 жыл бұрын
From where can I get those codes in this video????
@gbocarvalho
@gbocarvalho Ай бұрын
this test works in a VPN?
@edwinshabu8378
@edwinshabu8378 3 жыл бұрын
Great channel! Really appreciate your work and teaching skills.
@wko_
@wko_ 3 жыл бұрын
Great video as always! And please keep making more videos like this one. 🇧🇷 ✌
@Zylops
@Zylops 3 жыл бұрын
Great video, whats the intro song you use pls :)
@faizan_khan660
@faizan_khan660 3 жыл бұрын
Also check coding Lifestyle 4u channel for more python projects for beginners 😀
@skipi1982
@skipi1982 3 жыл бұрын
short and very helpful. Really appreciate
@Megaheropap
@Megaheropap 3 жыл бұрын
I keep getting ValueError: invalid literal for int() with base 10: ''
@CrazyAlexer
@CrazyAlexer 3 жыл бұрын
Nice tutorial but isnt dividing by 1024 only for bytes? 1Kilobit has 1000 bits not 1024 bits. 1KiloByte has 1024 Bytes
@arpankumar5007
@arpankumar5007 3 жыл бұрын
It's more just one command in "" "" "python3 -m speedtest --bytes" for get speed in Mbp/s terminal if just quickly want to check speed .... This you have given a great tutorial if we want to add a feature in a project thx... And keep mqking such videos it's always great to learn new things...
@Sabrsulab
@Sabrsulab 2 жыл бұрын
Make it without the module that just reaches out to a third-party though. How would you analyze it locally without relying on a third party?
@vishvajitviswanathan7970
@vishvajitviswanathan7970 3 жыл бұрын
Brother I'm getting error saying invalid literal for int() with base 10: ''. In the line test=speedtest.Speedtest(). Why!?
@litx7054
@litx7054 3 жыл бұрын
Can you please make a video in how to make zoom clone works in the internet?
@marcusmar1190
@marcusmar1190 2 жыл бұрын
Hey, can we do that on the mobile app
@Salmankhan-qt8uy
@Salmankhan-qt8uy 2 жыл бұрын
Great but how these codes comes to ur mind.? Is it because u learned everything in python?
@aikingpin
@aikingpin 3 жыл бұрын
can yu plz make a version with gui
@martyb3783
@martyb3783 3 жыл бұрын
Great Video. It is much simpler that I imagined. Thank you for making this video! I am new to python and you explain things well.
@simon3431
@simon3431 3 жыл бұрын
bro you deserve 1M sub. youre a legend
@piyushpaul467
@piyushpaul467 3 жыл бұрын
I am following all your videos Your videos are awesome.... Love from India
@reubenthomas1033
@reubenthomas1033 3 жыл бұрын
Awesome content!! Please keep uploading
@southisacknova
@southisacknova Жыл бұрын
Great video and tutorial sir thank you
@CODEMANTHEUNDERDARK
@CODEMANTHEUNDERDARK 3 жыл бұрын
keeps saying no module named 'speedtest'
@yourmom-xe2lx
@yourmom-xe2lx 2 жыл бұрын
because you didnt install it.
@minhajhossain337
@minhajhossain337 Жыл бұрын
Where do you live Florian??
@trusaberingo
@trusaberingo 3 жыл бұрын
Great work, keep it up :D
@MathonX
@MathonX 3 жыл бұрын
i was just testing my wifi with opening youtube and now i see this XD. Nice video keep it up
@faizan_khan660
@faizan_khan660 3 жыл бұрын
Also check coding Lifestyle 4u channel for more python projects for beginners 😀
@tsmghost
@tsmghost 3 жыл бұрын
Bro you just read my mind😂😂😂I had just started building it and there comes your video!✨
@錘哥錘哥錘哥
@錘哥錘哥錘哥 3 жыл бұрын
Good content, dude 感謝你
@insertx2k_dev
@insertx2k_dev 3 жыл бұрын
It doesn't seem like to properly function on Python 3.9.x, Please update the module.
@faizan_khan660
@faizan_khan660 3 жыл бұрын
Also check coding Lifestyle 4u channel for more python projects for beginners 😀
@jerryandori299
@jerryandori299 3 жыл бұрын
can you do a video of how to use dustloop in python ?
@GermanTimecrafter
@GermanTimecrafter 3 жыл бұрын
great to hear that apparently Austria doesn't have any better internet speed than Germany 😅
@agentmahone1793
@agentmahone1793 3 жыл бұрын
AttributeError: module 'speedtest' has no attribute 'Speedtest'
@grahammccann8554
@grahammccann8554 2 жыл бұрын
Thank you for making an easy video to follow.
@alibaz1469
@alibaz1469 Жыл бұрын
Thanks I learned a lot❤
@chiragpandit1763
@chiragpandit1763 2 жыл бұрын
hello dear I am using Ubuntu, when I using import speedtest its showing error .. can u assist me ?
@x3roxismygood
@x3roxismygood 2 жыл бұрын
do pip install speedtest
@AKtrooper
@AKtrooper 3 жыл бұрын
im extremely new. hopefully someone can help me out here. when i try to run it, i get the same error that he did, but unlike him i am unable to get it corrected. i downloaded the speedtest in the cmd center. and when i use python IDLE it works, just not when i use PyCharm. any help would be appreciated.
@shamanthrajreddy1230
@shamanthrajreddy1230 2 жыл бұрын
Great tutorial!
@addyaddy5879
@addyaddy5879 3 жыл бұрын
Good stuff, the last line should be ping_result instead of download_result
@HoriRecap
@HoriRecap 2 жыл бұрын
print(upload_result) đi nốt iWork can u please respond
@adaobas
@adaobas 3 жыл бұрын
I was looking for so long how to truncate decimal values using the function string.. such a simple thing lmao... thx
@rahulmalhotra7304
@rahulmalhotra7304 3 жыл бұрын
Was just researching about it this morning. 😄😄😄
@augustosegapeli1020
@augustosegapeli1020 3 жыл бұрын
Great Video
@NeuralNine
@NeuralNine 3 жыл бұрын
thank you :)
@faizan_khan660
@faizan_khan660 3 жыл бұрын
Also check coding Lifestyle 4u channel for more python projects for beginners 😀
@erothiuslol
@erothiuslol 3 жыл бұрын
Great vid. Thank you!
@faizan_khan660
@faizan_khan660 3 жыл бұрын
Also check coding Lifestyle 4u channel for more python projects for beginners 😀
@suwedo8677
@suwedo8677 3 жыл бұрын
hi, looking forward to it as always, your videos are always great !
@avishekacharya7586
@avishekacharya7586 3 жыл бұрын
1st one please reply dear from 🇳🇵🇳🇵🇳🇵 Nepal
@faizan_khan660
@faizan_khan660 3 жыл бұрын
Also check coding Lifestyle 4u channel for more python projects for beginners 😀
@CactusAmigo
@CactusAmigo 3 жыл бұрын
First I love your vids
@NeuralNine
@NeuralNine 3 жыл бұрын
thanks ^^
@CactusAmigo
@CactusAmigo 3 жыл бұрын
@@NeuralNine no problem
@minusharma1738
@minusharma1738 3 жыл бұрын
I was looking this an hour ago only 😂😂
@dofikurniawan3881
@dofikurniawan3881 3 жыл бұрын
Basic oop with python please
@abhinavchoudhary8014
@abhinavchoudhary8014 3 жыл бұрын
Nice info
@Dark-Base
@Dark-Base 2 жыл бұрын
you good man
@vigneshwarannallasamy
@vigneshwarannallasamy 3 жыл бұрын
Is there any possibility of getting speed of best server? Because the download speed is much lesser than the speed I get in speedtest.net..
@jeanmarcel6495
@jeanmarcel6495 2 жыл бұрын
Everyone who is getting this error: AttributeError: module 'speedtest' has no attribute 'Speedtest' do these 2 command "pip uninstall speedtest" and after "pip install speedtest-cli"
@sunilraoalsreenivasan2686
@sunilraoalsreenivasan2686 2 жыл бұрын
'pip' is not recognized as an internal or external command, operable program or batch file. i keep getting this. Do i have to install any file from github? pls help
@jeanmarcel6495
@jeanmarcel6495 2 жыл бұрын
​@@sunilraoalsreenivasan2686 go look a video on how to install pip and after try my command and it will work
@mimurajam1501
@mimurajam1501 3 жыл бұрын
nice video
@faizan_khan660
@faizan_khan660 3 жыл бұрын
Also check coding Lifestyle 4u channel for more python projects for beginners 😀
@holo23
@holo23 3 жыл бұрын
I love you
@Guiestrela.lambert
@Guiestrela.lambert 3 жыл бұрын
Good
@rohiths1325
@rohiths1325 3 жыл бұрын
U can type 1 cmd to know this 🤭🤭🤭🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️
@emr_yasa_
@emr_yasa_ 3 жыл бұрын
+1
@apmihai
@apmihai 3 жыл бұрын
How can be sure that the tests are performed against the "best" server found with *best = test.get_best_server()*. Because you never use the best variable. There is a way to force that? Thanks!
@wexxansmith789
@wexxansmith789 3 жыл бұрын
I guess the line "best = test.get_best_server()" do the thing. It should return information about best server and also it should set the best server to default one to work with.
@apmihai
@apmihai 3 жыл бұрын
Not sure. If I comment that line (and test.get_servers() too, btw) the script works just fine... Maybe defaults to the best server. But how can you choose a specific server from get_servers() list? In cli you have --server option.
@Dark-Base
@Dark-Base 2 жыл бұрын
nice | thank you
@serenadenphoto
@serenadenphoto 3 жыл бұрын
I got this: CERTIFICATE_VERIFY_FAILED
Simple Bluetooth Chat in Python
13:51
NeuralNine
Рет қаралды 45 М.
Connect Python Scripts To Internet With Ngrok
12:34
NeuralNine
Рет қаралды 47 М.
БАБУШКА ШАРИТ #shorts
0:16
Паша Осадчий
Рет қаралды 4,1 МЛН
"Идеальное" преступление
0:39
Кик Брейнс
Рет қаралды 1,4 МЛН
Python's most DISLIKED __dunder__ (and what to use instead)
9:59
How I AUTOMATE my FINANCES USING PYTHON
15:30
Internet Made Coder
Рет қаралды 207 М.
Build a Python Website in 15 Minutes With Streamlit
18:37
Tech With Tim
Рет қаралды 87 М.
Ethical Hacking using Python | Steal Wi-Fi Passwords in Seconds
20:25
The Cyber Mentor
Рет қаралды 479 М.
Coding Encrypted Chat in Python
20:33
NeuralNine
Рет қаралды 51 М.
Memoization: The TRUE Way To Optimize Your Code In Python
7:32
Automating My Life with Python: The Ultimate Guide | Code With Me
11:26
Web Scraping Basics in Python
19:48
NeuralNine
Рет қаралды 19 М.
Progress Bars in Python Terminal
11:54
NeuralNine
Рет қаралды 105 М.
БАБУШКА ШАРИТ #shorts
0:16
Паша Осадчий
Рет қаралды 4,1 МЛН