Design review of my CNC project so far.
This will be a 3 axis CNC router, controlled by a Raspberry Pi.
I am waiting for components, SBR16 rails, at the moment and redesigning the Solidworks model.
Check out the Minimalist online python IDE :
https://epyco.herokuapp.com/
https://epico.herokuapp.com/
Buy Dr Pi a Coffee...or Tea! : https://www.buymeacoffee.com/DrPi
...
https://www.youtube.com/watch?v=kxEcJvAst4s
Shows the Raspberry Pi inside a coffee can, getting the live share prices for Hurricane Energy "HUR", Sirius Minerals "SXX" and Greene King, "GNK".
Fritzing diagram at end.
#Pi #SharePrice #RaspberryPi #Alexa
Check out the Minimalist online python IDE :
https://epyco.herokuapp.com/
https://epico.herokuapp.com/
Buy Dr Pi a Coffee...or Tea! : https://www.buymeacoffee.com/DrPi
...
https://www.youtube.com/watch?v=qIKHZg46798
Waste my time, I'll waste yours! - Fonejack a nuisance caller for lols!
Like this, send it to your friends, and do it to your enemies!
If you ever get a day when you feel like mischief is the way to go, then make the most of it when you get a cold caller.
I put my mobile on speakerphone, fired up Audacity, I already had my microphone plugged in, so I thought let's have some fun!
#fonejacker #coldcaller #nuisance
Check out the Minimalist online python IDE :
https://epyco.herokuapp.com/
https://epico.herokuapp.com/
Buy Dr Pi a Coffee...or Tea! : https://www.buymeacoffee.com/DrPi
...
https://www.youtube.com/watch?v=2M6K5pZd6hE
Hello, this video shows how to convert text to an image
We will use Python with the Python Imaging Library 'Pillow'
The goal is to maximize the size of the text and crop the image to match, with user specified margin around it.
https://pypi.org/project/Pillow/
pip install Pillow
Proxies
=================================================
If you need a good, easy to use proxy, I was recommended this one, and having used ScraperAPI for a while I can vouch for them. If you were going to sign up anyway, then maybe you would be kind enough to use the link and the coupon code below?
You can also do a full working trial first as well, (unlike some other companies). The trial doesn't ask for any payment details either so all good! ?
? 10% off ScraperAPI : https://www.scraperapi.com?fpr=ken49
◼️ Coupon Code: DRPI10
(You can also get started with 1000 free API calls. No credit card required.)
-------------------------------------------------------------------------
You can buy bitcoin here ???
? https://www.swanbitcoin.com/python360
+ get $10 in BTC when you join Swan !!
--------------------------------------------------------------------------
? Become a patron ?
? https://www.patreon.com/drpi
Buy Dr Pi a coffee (or Tea)
☕ https://www.buymeacoffee.com/DrPi
Thumbs up yeah? (cos Algos..)
#pillow #texttoimage #python
...
https://www.youtube.com/watch?v=lhQb6h5hkzM
How to run pdf2docx using Python 3.10 to convert PDF to WORD docx
Code and demonstration
(uses local pip install of the pdf2docx module)
Free PDF to DOCX converter
Download land install locally : https://github.com/dothinking/pdf2docx
? 10% off ScraperAPI : https://www.scraperapi.com?fpr=ken49
◼️ Coupon Code: DRPI10
(You can also get started with 5000 free API calls. No credit card required.)
? Become a patron ?
? https://www.patreon.com/drpi
Buy Dr Pi a coffee (or Tea)
☕ https://www.buymeacoffee.com/DrPi
Proxies
=================================================
If you need a good, easy to use proxy, I was recommended this one, and having used ScraperAPI for a while I can vouch for them. If you were going to sign up anyway, then maybe you would be kind enough to use the link and the coupon code below?
You can also do a full working trial first as well, (unlike some other companies). The trial doesn't ask for any payment details either so all good! ?
? 10% off ScraperAPI : https://www.scraperapi.com?fpr=ken49
◼️ Coupon Code: DRPI10
Thumbs up yeah? (cos Algos..)
#pdf2word #tutorial #python
...
https://www.youtube.com/watch?v=oZqp2J14mnY
Asking questions on Stackoverflow can be intimidating, but sooner or later if you ask the correct question and provide details of what you have tried so far and explain what you want to achieve then it is invaluable.
I discuss some posts on Stackoverflow in this video and whilst not a "tutorial" I hope this gives you some inspiration to use, contribute and explore it more frequently.
Watch as I show examples of successful questions and not so successful questions...
== chapter times ==
___________________________________________________________________________
0:00 Intro
02:15 Pandas Merge Dataframe, Keep duplicate index values consecutive
04:28 Add summary row in Pandas
08:12 The annual survey
10:43 response.follow
14:17 looking at jobs
___________________________________________________________________________
Visit redandgreen blog for more Tutorials
=========================================
? http://redandgreen.co.uk/about/blog/
Subscribe to the YouTube Channel
=================================
? https://www.youtube.com/c/DrPiCode
Follow on Twitter - to get notified of new videos
=================================================
? https://twitter.com/RngWeb
Buy Dr Pi a coffee (or Tea)
☕ https://www.buymeacoffee.com/DrPi
Proxies
=================================================
If you need a good, easy to use proxy, I was recommended this one, and having used ScraperAPI for a while I can vouch for them. If you were going to sign up anyway, then maybe you would be kind enough to use the link and the coupon code below?
You can also do a full working trial first as well, (unlike some other companies). The trial doesn't ask for any payment details either so all good! ?
? 10% off ScraperAPI : https://www.scraperapi.com?fpr=ken49
◼️ Coupon Code: DRPI10
(You can also get started with 1000 free API calls. No credit card required.)
Thumbs up yeah? (cos Algos..)
#stackoverflow #python
...
https://www.youtube.com/watch?v=KpK5C1cpmXU
How to parse response.text from Scrapy, (or requests, or Beautiful Soup).
(No regular expressions needed, just split, strip, replace).
If you find that you are trying to scrape comments from a page, and they're inside javascript then you will need a way to get the values/text some other way. CSS or XPATH won't help you.
Here I show how to parse the javascript to pick out the JSON, and then load the JSON into a dictionary. Once the key:values are there, you can work with them very easily.
◉ 1:26 looking for JSON
◉ 2:19 view source
◉ 2:55 found JSON.parse
◉ 4:45 found comments inside JSON
◉ 5:29 print(response.text)
◉ 6:09 x = response.text.split('JSON.parse')[2].replace("\\u0022","\"").lstrip("\(").split(" ")[0].replace("}\");","\"").replace("\"{","\""})
◉ 8:43 json.loads
◉ 12:27 final output
Read about the process of extracting a dict from json from javascript on my redandgreen.co.uk website : https://redandgreen.co.uk/extracting-json-from-javascript-in-a-web-page/
RTFM ? :
https://docs.scrapy.org/en/latest/
https://docs.scrapy.org/en/latest/topics/shell.html
☕️☕️☕️ Buy Dr Pi a Coffee...or Tea! : https://www.buymeacoffee.com/DrPi ☕️☕️☕️
Thanks for watching.
See you around yeah?
Dr P.
...
https://www.youtube.com/watch?v=G_WY3XFuDXY
Programming using global variables in Python to solve the Collatz sequence.
Automate the boring stuff : https://amzn.to/2MEEmlK
Check out the Minimalist online python IDE :
https://epyco.herokuapp.com/
https://epico.herokuapp.com/
Buy Dr Pi a Coffee...or Tea! : https://www.buymeacoffee.com/DrPi
...
https://www.youtube.com/watch?v=1o0SrLDBvTk
A quick intro to a project I am experimenting with. A minimalist GUI for testing ARM assembly code. This is an early version using a Python Emulator for ARM Assembly and my Flask front end. If I develop this further I'll add more standard blocks of code to chose from the drop down and also look to compile and run some of the code on a Raspberry Pi.
Become a patron : ? https://www.patreon.com/drpi
Buy me a coffee (or Tea) ☕ https://www.buymeacoffee.com/DrPi
If you want a fast VPS server with Python installed check out :
https://webdock.io/en?maff=wdaff--170
https://webdock.io/en/black-friday-cyber-monday-weekend-2022
Pytest with FastAPI course on "TestDriven.io":
-------------------------------------------------------------------------
https://testdriven.io/courses/tdd-fastapi/?utm_source=python360
https://testdriven.io/courses/scalable-fastapi-aws/?utm_source=python360
https://testdriven.io/courses/fastapi-celery/?utm_source=python360
Thumbs up yeah? (cos Algos..)
#AssemblyASM #flask #pythonprogramming
...
https://www.youtube.com/watch?v=Qg6OxDIwhNo