I am currently coding a browser right now in pure Python. Let me explain all the steps it has taken at 300+ lines of code except in no particular order because I need to reorganize.
Fernet Encryption
SSL Certificate Check
Implementing a UI - Chose PyQt because its a prettier layout than Tkinter.
Implementing a toolbar for the UI
Implementing browsing history + browsing history tab + a clear button to clear the history - Done in the GUI / UI as well.
Adding a privacy browsing mechanism - routed through Tor
Added PyBlocker for Ad Blocking and Anti-Tracking on websites
Added a feature to make Google not track your searches because fuck you Google you nosey assholes.
Added a sandbox to avoid user getting infected with viruses
Added additional functionalities including optimization that way the browser wasn't slow as fuck:
Using JavaScript v 8 engine to load JavaScript
Using slight mem caching <100mb to avoid slowing the computer but also let the program browse quicker
Using one http request to send multiple http requests - need to set limit.
Encrypted global security features.
I am at over 300 lines of code. I am ready to pay someone to debug this shit when I am finished with it (lol)
May the force be with you my #Pythonistas
129 notes
·
View notes
#malin_root #cppedit #Javascript #developer #java #linux #python3 #vscode #node #github #bash #bug #git #memecoding #cpptutorial #webdev #gamedevelopment #softwaredeveloper #coding #malinroot #android #cplusplusprogramming ] @malin_root #pythoncode #codingdecoding #hacker #programming #programmerlife #programminglife #codinglife #usa (at Москва • Moscow) https://www.instagram.com/p/Cmok63lDC_b/?igshid=NGJjMDIxMWI=
98 notes
·
View notes
Python Projects with Tutorials, Video Demos and Source Codes
Read More In Detail: 70+ Python Projects with Tutorials, Video Demos and Source Codes
131 notes
·
View notes
Sort Dictionaries by Key, or Value, in Python – Asc, Desc
Python includes a built-in function, the sorted() function, that we can utilize for efficiently sorting dictionaries by keys or values(in Asc or Desc order).
2 notes
·
View notes
🆕 🚀 Aprende a realizar #Deploy de tu Proyecto #Django varias #Plataformas #VPS | 🏷 Cupón de USD 9.99 o menos 🎒 #Python3 #VPS #DevOps #Ubuntu #Apache2 #nginx #gunicorn #postgresql #git #gitlabrunner #gitlabcicd y mucho más 👉 https://www.udemy.com/course/despliegue-de-aplicaciones-django-en-varias-plataformas-vps/?couponCode=NAVIDAD-2022-1 👈 https://www.instagram.com/p/CoNEcUSLnuD/?igshid=NGJjMDIxMWI=
2 notes
·
View notes
Visual Studio Code got offended because I used PyCharm to code and now refuses to push files to git… 😭
7 notes
·
View notes
Using Cython to Optimize Python Code
Python is a popular and versatile programming language, but it can be slow compared to other languages like C or C++. This is where Cython comes in. Cython is a tool that allows you to write Python-like code, but compiles it to C, resulting in faster performance.
Cython is particularly useful for scientific and numerical computing, where performance is critical. It can be used to optimize existing Python code, or write new code in Cython for improved performance. In this article, we’ll take a look at how to use Cython and why it’s valuable for Python programmers to learn.
Getting started with Cython is easy. You can install it using pip, the Python package manager, by running the following command in your terminal:
Once you have Cython installed, you can start using it to optimize your Python code. The basic idea is to write your code in Cython, then compile it to C, which can then be imported and used in your Python code.
Here’s a simple example that demonstrates how to use Cython. Let’s say we have a Python function that calculates the sum of squares of numbers in a list:
We can optimize this function by writing it in Cython, then compiling it to C. Here’s the Cython version:
In this example, we’ve added a cdef statement to declare the variables as C data types, which results in faster performance. We can then compile this Cython code to C using the following command in our terminal:
This will generate a .c file that can be imported and used in your Python code.
Cython is a powerful tool that allows you to write Python-like code and optimize it for performance. Whether you’re working on scientific and numerical computing or just looking to improve the performance of your code, Cython is worth learning.
Some great resources for learning Cython include the official documentation, tutorials and example code on the Cython website, and the “Cython: A Guide for Python Programmers” book by Kurt Smith.
Here is the Cython Wiki:
As well as the ReadTheDocs for Cython:
There is also a great tutorial series on using Cython by Pythonist on Youtube
By using Cython, you can take your Python skills to the next level and achieve faster performance for your code. Give it a try and see the results for yourself!
7 notes
·
View notes
#malin_root #cppedit #Javascript #developer #java #linux #python3 #vscode #node #github #bash #bug #git #memecoding #cpptutorial #webdev #gamedevelopment #softwaredeveloper #coding #malinroot #android #cplusplusprogramming ] @malin_root #pythoncode #codingdecoding #hacker #programming #programmerlife #programminglife #codinglife (at Texas,US) https://www.instagram.com/p/CfW7wMfj9WF/?igshid=NGJjMDIxMWI=
194 notes
·
View notes
40 projects idea for web developer. . 🔁Use #openprogrammer in your Awesome code-related content and get a free feature. 👉 Follow @openprogrammer for more educational content ❤️ 🤝Join Our Telegram Channel 🛒Visit Our website 🔗Link In The Bio!! 👉Don't Forget To Like ♥️ | Share 📲 | Save 📥 🔛Turn On Your Post Notifications🔔 #knowprogram #programming #python3 #computerscience #computerprogramming #programminglanguage #programminglanguages #coders #fullstack #programmingislife #programmingquotes #machinelearning #programmerindonesia #codingbootcamp #html #programminglife #learnpython #pythonprogrammer #pythondeveloper #fullstackdev #codingchallenge #codingquotes #webdevelopment #pythonprogram #pythontutorial #programmingtutorial #datatype #pythondev #pythonbeginner (at India) https://www.instagram.com/p/CkTN4PPvwyV/?igshid=NGJjMDIxMWI=
5 notes
·
View notes
#python code and three pie chart plot for size comparison in our #solarsystem.
For reference, the Sun has ~99.87% of the solar system's total mass.
Ignoring the Sun, Jupiter takes up ~71% of the mass of all the planets combined.
Ignoring the Sun, and gas giant planets, the Earth is the most massive planet, taking up ~51% of the combined mass of terrestrial planets.
2 notes
·
View notes