MrDevKnown

SELECT * FROM world WHERE humanity IS NOT NULL;

  • Home
  • About
  • Contact Us

Presently, Pyhton is one of the most popular languages in the world. Its design philosophy emphasizes code readability with its use of significant indentation. Python is an interpreted high-level general-purpose programming language. Its language constructs as well as its object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects. Thus it is widely used in many fields such as data science, AI, ML. Python frameworks such as django and flask are also a good choice for designing the backend side of a website. Also there are frameworks such as Tkinter and PyQt5 for designing apps gui.

July 17, 2021, 4:33:43 PM (MrDev in a deep thought)

If you have used Python, you must be aware of the Python shell (the IDLE). We have one place where we write the code and to run the code, we need to switch between the windows. Some brilliant mind will say (with a sarcastic sound) "He calls himself a programmer and he is talking about IDLE... Lol hahaha."

Shut up! Okay? I use IDEs but something that you have made, even its worse than what you think that was worse, you will like that! And a programmer builds things. This is his work.

Now in this project, I created my own IDE with python using Tkinter.

Now let me assume that some of you are from Mars and they don't know what IDEs actually are? So basically, IDE stands for Integrated Development Environment. It provides a collection of different things needed for coding and creates an environment for coding fast. Well its obvious that I could not make something at once that can directly challenge VS code (one of the leading IDEs in). But I can make something more similar to a text editor (like Notepad). And basically, what we actually want in programming is a section to run the program and display the output. So, can't we combine the output and the editor part in the same window. So, it reduces our work to switch between the windows like we do in IDLE.

Well, that's all about the idea. I am going to create a new notepad. But don't laugh. Okay. It would have some more features than notepad. Believe me! Let's start!

>>> Test 1: ✔
>>> Test 2: ✔
>>> Test 3: ✔
>>> Test 4: ✔
...

Code Link


Tuesday, ‎July ‎20, ‎2021, ‏‎3:01:27 PM (MrDev in a deep thought)

Finally, after adding a few things that clicked on my mind, I completed the IDE. This is the final look :)

So, I think that's it! If you want the code of this project, do let me know in the comments below! Right now, the link might not work.


If you want more like this, do let me know in the comments below... And Subscribe to this blog because I would be sharing more such projects of mine in future on this blog. Also, if you didn't see, check out my last project of a Music Player web app made in JavaScript. Click here

Then Bye Bye!
Thanks for reading... :)
See you!



# Not For Copy paste coders



Code Link

So, just if the case you are not aware of the chrome Dino game, let me tell you it is a chrome game. You must have seen this game once in your lifetime. If not, then may I ask you a question? Answer in the comments if you want, else ignore. I would like to ask "Are you from Mars?" No, it's not a silly question. It's very important. I want to know the answer. I am really serious. The Dinosaur Game is a built-in browser game in the Google Chrome web browser. The player guides a pixelated Tyrannosaurus rex across a side-scrolling landscape, avoiding obstacles to achieve a higher score. Search chrome://dino on Chrome browser and you will see the game.

Well, I think I am talking too much let's get straight to the topic...

Alert: Don't panic while running the code, just go to the python shell or the terminal (cmd/bash or anything on which the code is currently running) and press Ctrl+C to stop the running code.

So, for the project, the python modules/libraries I used in this project are pillow and pyautogui. Well, I think that pyautogui is one among few important libraries for automation of anything in python. Pyautogui allows you to automate the keys of your keyboard and even mouse. Just for an example, if you are going to subscribe this blog, then you can use Pyautogui to take your mouse and click on it. Isn't it awesome that this library makes that so easy. Also the other library I used is for image processing. Pillow is a image processing library.

Well, I also used time module to give a variation in hte project.

Let's understand the logic of the code to know the use of Pillow. The logic of the code is that the system takes few screenshots and then, just for easy processing, with the help of Pillow module, we convert the screenshots to grayscale image and then process for a particular color pixel in a space.

Basically, I have made a rectangular region with the coordinates of the screen. Now lwt's suppose, a dark black pixel comes in that rectangular region. The code will detect that and suddenly, with the help of pyautogui, we press the "up" arrow key. That's it. Now the point where the code becomes complicated is that, it depends on your systems processing power on how much time it would take after getting the input, processing it and return the output (hit a key). So, may be on your system, this code will not work properly.

The other case is, due to some variations in device resolution and pixel sizes of different devices, the data for the coordinates of square region may vary on different devices. So, there are a lot of chances that *this code is not for Copy paste coders*

Well, I think I am talking too complicated. This blog is feeling like a professional coder. Isn't it? So, that's all for this project.

If you want more like this, do let me know in the comments below... And Subscribe to this blog because I would be sharing more such projects of mine in future on this blog. Also, if you didn't see, check out my last project of a Music Player web app made in JavaScript. Click here

Then Bye Bye!
Thanks for reading... :)
See you! (If you subscribe)

Hey there, Mr.Known here... This is the first post on this blog but not my first project. I started to code back in 2019, when I learnt basics of html, css and I should not say but I saw PHP...

# Dare not ask Why? Okay! :')

So basically, my story begins from ... Error 500

That was 26 July, 2021. I wanted to improve my front end development skills. So I decided to make something that would also help me in Javascript. Because seriously, I am worse at it! At the end, I sat on my computer and started looking for an idea. Suddenly, I don't know why but one line said by Mark Zuckerberg hit me on my mind. Mark has once said during his speech at Harvard, "Facebook was not the first thing that I built... I also built games, chat systems, study tools and music players. I’m not alone. JK Rowling got rejected 12 times before publishing Harry Potter. Even Beyonce had to make hundreds of songs to get Halo. The greatest successes come from having the freedom to fail."

Well I know that's very motivating line... But I am not talking about that! Well, I know you got what I am talking about, but I need to explain this...

Did you notice, he said Music Players... Well, That's where the idea came from... Thank you Zuck! :)

So, first things first, I did what's every web dev's first step, that is to create a index.html file... Then it all started... Firstly I created the basic structure of the website in html then added some css in it...

Then after I was satisfied with the design { Well, that saisfaction is temporary... } I created script.js file and started with my javascript part for the project.

After a few google searches and a few video tutorials, I completed the player in 3 hours. Well, thanks to the gods of developers, w3schools, stackoverflow, geeksforgeeks, youtube, ...

Note: But, you should keep in mind that there's no program made which doesn't have bugs.

The most important part of a programmers life is debugging of code. That's where we spend most time staring at our code looking for a silly error that we committed.

Finally, managing with my studies and taking out some time for debugging, I guess today I completed it... Not today actually, I meant to say the day I uploaded this post. See on the top.



This is the final look of the music player:

If you want the code of the music player, then you are just one comment away...

Right now, I am not providing the code because i think as of now, no one other than me is reading this...

Please let me know in the comments below that you are reading this post...

Code Link: Github

This link might not work right now... :(

This is how the player looks like...




Okay Bye Bye!

See you...

Newer Posts Home

ABOUT ME

Web developer, designer. A self taught programmer. Don't hesitate to come for say a small "hello!"
Shivesh Tiwari

POPULAR POSTS

  • How to create a shining / glowing effect around the cursor on mouse hover over a div? Glassmorphism Tutorial
  • Javascript code to display a welcome message after accepting the name of the user using a prompt box
  • How to make Windows 11 Website Design | Adding Working App Windows | Dark Mode and other things
  • How to test your typing speed with Python - Make a Python app
  • Top must have windows software for a developer
  • Make a Windows 11 themed Website - HTML, CSS Windows 11 design
  • Qt Designer UI to python file export
  • Python PyQt5 complete Setup Windows
  • PyQt5 draggable Custom window code
  • Make your own Python IDE + Text Editor (Pykachu)

Categories

  • best javascript project 12
  • code 5
  • dino game 1
  • dislike 1
  • easy python projects 9
  • flask 1
  • free python code 10
  • game 2
  • git 1
  • github 1
  • hack 2
  • hack chrome dino game 1
  • hack game 1
  • html best website 4
  • javascript website 6
  • learn javascript 9
  • learn programming 13
  • learn python 15
  • like 1
  • like dislike system php 1
  • mrdevknown 5
  • music player 1
  • notification 1
  • php 2
  • programming 9
  • project 9
  • pyqt5 4
  • python 16
  • python IDE 2
  • python projects 8
  • React 5
  • react js 6
  • software 5
  • Tkinter 2
  • web app 4
  • website 4
Powered by Blogger
MrDevKnown

Search This Blog

Archive

  • August 20231
  • March 20231
  • December 20221
  • September 20222
  • August 20221
  • June 20221
  • March 20221
  • January 20226
  • December 20211
  • November 20213
  • October 202111
  • September 20213
  • August 20213
Show more Show less
  • Home
  • About
  • Contact Us

Subscribe

Posts
Atom
Posts
All Comments
Atom
All Comments

Subscribe

Posts
Atom
Posts
All Comments
Atom
All Comments

Categories

  • React5
  • Tkinter2
  • best javascript project12
  • code5
  • dino game1
  • dislike1
  • easy python projects9
  • flask1
  • free python code10
  • game2
  • git1
  • github1
  • hack2
  • hack chrome dino game1
  • hack game1
  • html best website4
  • javascript website6
  • learn javascript9
  • learn programming13
  • learn python15
  • like1
  • like dislike system php1
  • mrdevknown5
  • music player1
  • notification1
  • php2
  • programming9
  • project9
  • pyqt54
  • python16
  • python IDE2
  • python projects8
  • react js6
  • software5
  • web app4
  • website4

Translate

Pages

  • Home
  • Privacy Policy

Popular Posts

Music Player web app made in HTML, CSS, Javascript

Music Player web app made in HTML, CSS, Javascript

August 03, 2021
Top must have windows software for a developer

Top must have windows software for a developer

September 17, 2022
Javascript code to display a welcome message after accepting the name of the user using a prompt box

Javascript code to display a welcome message after accepting the name of the user using a prompt box

August 20, 2022

Trending Articles

  • How to create a shining / glowing effect around the cursor on mouse hover over a div? Glassmorphism Tutorial
  • Javascript code to display a welcome message after accepting the name of the user using a prompt box
  • How to make Windows 11 Website Design | Adding Working App Windows | Dark Mode and other things
  • How to test your typing speed with Python - Make a Python app

Popular Posts

  • Top must have windows software for a developer
  • Javascript code to display a welcome message after accepting the name of the user using a prompt box
  • How to create a shining / glowing effect around the cursor on mouse hover over a div? Glassmorphism Tutorial

Labels

Distributed By Gooyaabi | Designed by OddThemes