Make a Notepad with Python | Python Project

  Рет қаралды 29,540

Coding With Evan

Coding With Evan

Күн бұрын

Пікірлер: 87
@habiborrahaman4531
@habiborrahaman4531 4 жыл бұрын
awesome brother, i want more python video tutorial
@HighCaliber20
@HighCaliber20 3 жыл бұрын
Too good ..make more videos on python..as a project.. Good job... Thanks for make this.
@ImH3nryy
@ImH3nryy 2 жыл бұрын
This is the best channel in the world
@CodingWithEvan
@CodingWithEvan 2 жыл бұрын
Thank you so much ❤️
@goodluckgoody1366
@goodluckgoody1366 Жыл бұрын
I must confess that you are simply the best
@Ergasiesmono
@Ergasiesmono 3 жыл бұрын
i made this in pycharm , i add "from tkinter import *" but it stills says wrong in the line " new_file = asksaveasfile(mode......) " do you know why? i would really appreciate it if you could help me
@devtadeo
@devtadeo 3 жыл бұрын
Some times when i make something importing The entire module vscode auto complete importing instead of just simply take that func or something but i dont use PYCHARM
@avengerous_avi
@avengerous_avi 4 жыл бұрын
Great videos bro... Keep it up.
@ambiencerockstar4645
@ambiencerockstar4645 3 жыл бұрын
Hey there @ Coding With Evan. Love ur videos, keep uploading more pls I have a question which python version do u use I use python 3.10
@digitalmachine0101
@digitalmachine0101 9 ай бұрын
Good information
@simon_ammi
@simon_ammi 2 жыл бұрын
Wonderful tutorial, I nearly subscribed again 😆
@aya2222
@aya2222 3 жыл бұрын
your videos are very useful for beginners. Thank you.
@planetsk6753
@planetsk6753 4 жыл бұрын
Ur Videos r amazing keep going! Do u hv a patreon?
@s.devadathan4476
@s.devadathan4476 3 жыл бұрын
I liked all your videos that I watched and subscribed to your channel........... Thanks a lot for your videos...........
@CodingWithEvan
@CodingWithEvan 3 жыл бұрын
❤️
@ora0racatuno636
@ora0racatuno636 2 жыл бұрын
Great vid. Thx for help! Have a nice day!
@varunreddy4779
@varunreddy4779 4 жыл бұрын
Make more videos on python projects
@musicnotes29
@musicnotes29 3 жыл бұрын
the "open" button and "save" button are not working
@mrkartik7597
@mrkartik7597 3 жыл бұрын
bro my command "open file" is saying that its not defined
@sridhargumpula
@sridhargumpula 3 жыл бұрын
Your the best Evan I did the clock from you your the best again!👍👍👍
@miyamura3382
@miyamura3382 2 жыл бұрын
God, nice vídeo. I loved it
@fugiyamaleni5129
@fugiyamaleni5129 2 жыл бұрын
Can I writ this code in python ide?
@ikechukwuokonkwo3861
@ikechukwuokonkwo3861 3 жыл бұрын
Pls how do I get this exact code I’m having issues opening a file I saved. Help!
@aayushshrestha5517
@aayushshrestha5517 3 жыл бұрын
What are the required packages for this?
@hkkrishna207
@hkkrishna207 3 жыл бұрын
hey which ide are u using...???
@happyintend.8604
@happyintend.8604 4 жыл бұрын
At 4th loc, it shows Traceback . . tkinter.TclError: bad geometry specifier "240000" What's that Sir!
@nodiraarslanova2941
@nodiraarslanova2941 3 жыл бұрын
If I am not mistaken you did not give def for exit sp exit is not working
@gora5276
@gora5276 4 жыл бұрын
Are you somehow Kruzer ?
@eath3715
@eath3715 2 жыл бұрын
please can you give me the name of text editor..
@GTT_Official
@GTT_Official 2 ай бұрын
IF I Write buttons code that says error because "name Button is not defined" PLEASE HELP
@cryptosurviv3943
@cryptosurviv3943 3 жыл бұрын
line 25, in top = Frame(canvas) NameError: name 'Frame' is not defined Can u help me
@CodingWithEvan
@CodingWithEvan 3 жыл бұрын
Try top = tk.Frame()
@jithinv3957
@jithinv3957 3 жыл бұрын
@@CodingWithEvan thanks its working now 🙂
@drawwithaadhi8309
@drawwithaadhi8309 2 жыл бұрын
In entry.pack(padx = 10, pady = 5, expand = TRUE, fill = tk.BOTH) it says Traceback (most recent call last): File "c:\Users\user\Notepad", line 28, in entry.pack(padx = 10, pady = 5, expand = TRUE, fill = tk.BOTH) File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\tkinter\__init__.py", line 2396, in pack_configure self.tk.call( _tkinter.TclError: expected boolean value but got "I01 when i run it pls help
@coldsavagegod7101
@coldsavagegod7101 3 жыл бұрын
So the program works and when I run the program it does everything, but it says that there is an error in line 18 (it would be line 16 in your code). It says that "UnboundLocalError: local variable 'content' referenced before assignment" This is in the last line of the function we made called openFile. Does it really matter and do I need to fix anything? If I do, what is there to fix?
@shalinibaranwal5449
@shalinibaranwal5449 3 жыл бұрын
It comes for me too, but it doesn't break the notepad, it still works fine for me.
@supernex7822
@supernex7822 3 жыл бұрын
maybe this is because you needed to create a variable named 'content' maybe your ide think of it as a keyword, try changing the variable name to something else such as 'cntnt' or something
@hetzzbot8203
@hetzzbot8203 3 жыл бұрын
how do i set to save with a filenaame as log with date and time
@CodingWithEvan
@CodingWithEvan 3 жыл бұрын
Use strftime to get current date as string. Then add it to filename.
@bryanxu9451
@bryanxu9451 3 жыл бұрын
frame is not defined tf
@frequency0_0
@frequency0_0 3 жыл бұрын
can i run this code in python 2.7.15 ??
@musicnotes29
@musicnotes29 3 жыл бұрын
it is saying TypeError: 'bg' is an invalid keyword argument for str() for line 23
@markvincentgallemit9894
@markvincentgallemit9894 3 жыл бұрын
Entry=tk.Text(canvas, bg = "yellow", font=("poppins", 15))
@AK-hm7ls
@AK-hm7ls 3 жыл бұрын
A little late but try using background instead of bg
@digitey
@digitey 2 жыл бұрын
@@markvincentgallemit9894 Thank you!!
@koiosdatavisualizations2241
@koiosdatavisualizations2241 4 жыл бұрын
What version of Python are you using? The source code is giving me errors. I'm using version 3.9. (NameError: name 'Frame' is not defined...NameError: name 'LEFT' is not defined...)
@CodingWithEvan
@CodingWithEvan 4 жыл бұрын
Try using "from tkinter import *" Let me know if it worked. 😊
@koiosdatavisualizations2241
@koiosdatavisualizations2241 4 жыл бұрын
@@CodingWithEvan That worked! Can you briefly tell me why my code required 'from tkinter import *' while you didn't need it for your code? I'm new to Python. Thanks!
@CodingWithEvan
@CodingWithEvan 4 жыл бұрын
For that I have to see your code. You can share your code in my facebook inbox or here.
@Torpedo4C
@Torpedo4C 3 жыл бұрын
@@CodingWithEvan Hey I am using Mac OS, but here m not able to run the program. it mention (To update your account to use zsh, please run `chsh -s /bin/zsh?)
@Torpedo4C
@Torpedo4C 3 жыл бұрын
I followed all the steps but can't able to run the notepad. 🤯
@ccoloured
@ccoloured 3 жыл бұрын
For some reason when I try to run the code with the button code it says "Unown deffinition "button" Can you tell me how to fix it?
@CodingWithEvan
@CodingWithEvan 3 жыл бұрын
Share your code here. I'll check.
@ccoloured
@ccoloured 3 жыл бұрын
@@CodingWithEvan ok i'll get it in a moment
@ccoloured
@ccoloured 3 жыл бұрын
@@CodingWithEvan from tkinter.filedialog import * import tkinter as tk canvas = tk.Tk() canvas.geometry("800x600") canvas.title("PythonNotes") canvas.config(bg = "white") b1 = Button(canvas, text="Open", bg = "white") b1.pack(side=LEFT) canvas.mainloop()
@emranevan
@emranevan 3 жыл бұрын
@@ccoloured try , b1 = tk.Button(canvas, text="Open", bg = "white")
@dtdax2552
@dtdax2552 3 жыл бұрын
@@emranevan thx
@aakankshaaj
@aakankshaaj 3 жыл бұрын
It shows name error for askopenfile and asksaveasfile .I am using python3.9 pls help someone to resolve issue
@sharvaripatil7261
@sharvaripatil7261 3 жыл бұрын
Hello i m actually getting an error as bad geometric specifierin the line Canvas.geometry("400*600") Can u help me
@CodingWithEvan
@CodingWithEvan 3 жыл бұрын
It will be (400x600) not (400*600)
@kadaliakshay6770
@kadaliakshay6770 2 жыл бұрын
your code includes an error: Traceback (most recent call last): File "..\Notepad\main.py", line 25, in top = Frame(canvas) NameError: name 'Frame' is not defined [Finished in 0.471s]
@sammohamed7980
@sammohamed7980 2 жыл бұрын
from tkinter import Frame
@aleksandriapetrosyan4965
@aleksandriapetrosyan4965 Жыл бұрын
i don't know if you still need help but anyways, instead of "from tkinter.filedialog import *" write "from tkinter import *"
@syedsaba8922
@syedsaba8922 3 жыл бұрын
At line:1 char:17 + canvas.mainloop() + ~ An expression was expected after '('. + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException + FullyQualifiedErrorId : ExpectedExpression how do I resolve this??
@ichigokurosaki7945
@ichigokurosaki7945 3 жыл бұрын
I got Java ad on Python video xd
@redking9669
@redking9669 2 жыл бұрын
XD
@kaitlinkurklen3304
@kaitlinkurklen3304 2 жыл бұрын
my code didn't run because it said for the line top = Frame(canvas). that Frame is not defined.
@simon_ammi
@simon_ammi 2 жыл бұрын
As per the video tutorial, we didn't import everything from tkinter, therefore you'll have to reference it in the widget defination; import tkinter as tk top = tk.Frame(canvas)
@lawlit450
@lawlit450 2 жыл бұрын
Thanks
@frequency0_0
@frequency0_0 3 жыл бұрын
open and save button cant working plz help ???
@aakankshaaj
@aakankshaaj 3 жыл бұрын
from tkinter.filedialog import asksaveasfile & repeat same for ask open it will work
@kylewo0
@kylewo0 2 жыл бұрын
Like others .. cannot add button. Newb alert , where can I go understand the beginning .. the line 1 😊😂. If I add that I cannot run program . Using Th. Thanks
@amruthalakshmi6260
@amruthalakshmi6260 2 ай бұрын
It shows some errors sir
@eefourleafclover
@eefourleafclover 3 жыл бұрын
it says: name Button is not defined
@esy2bear970
@esy2bear970 3 жыл бұрын
same with me , did you fix it ?
@boiboi3732
@boiboi3732 3 жыл бұрын
i cant save file brother
@boiboi3732
@boiboi3732 3 жыл бұрын
i really apreciate it if you could help me
@boiboi3732
@boiboi3732 3 жыл бұрын
it says like this
@boiboi3732
@boiboi3732 3 жыл бұрын
Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\x\AppData\Local\Programs\Python\Python39\lib\tkinter\_init.py", line 1892, in __call_ return self.func(*args) File "d:\File projec otepad.py", line 22, in saveFile new_file = asksaveasfilename(mode= 'w', filetyp = ['text files', '.txt']) File "C:\Users\x\AppData\Local\Programs\Python\Python39\lib\tkinter\filedialog.py", line 390, in asksaveasfilename return SaveAs(**options).show() File "C:\Users\x\AppData\Local\Programs\Python\Python39\lib\tkinter\commondialog.py", line 46, in show s = w.tk.call(self.command, *w._options(self.options)) _tkinter.TclError: bad option "-mode": must be -confirmoverwrite, -defaultextension, -filetypes, -initialdir, -initialfile, -parent, -title, or -typevariable
@mohakash.biggan
@mohakash.biggan 3 жыл бұрын
Aewasome
@prahitmenon4952
@prahitmenon4952 2 жыл бұрын
I appreciate this tutorial but there are many mistakes in this
@khanhuzaibi9955
@khanhuzaibi9955 4 жыл бұрын
1st veiw 1st like
@devtadeo
@devtadeo 3 жыл бұрын
+sub your vids aré amazing thxs 🙂
@devtadeo
@devtadeo 3 жыл бұрын
my notepad only saves on .file 😐 (FIXED)
@planetsk6753
@planetsk6753 4 жыл бұрын
Ur Videos r amazing keep going! Do u hv a patreon?
@CodingWithEvan
@CodingWithEvan 4 жыл бұрын
I don't have yet
Make a Clock using Python | Python Project
4:32
Coding With Evan
Рет қаралды 1 МЛН
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,6 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Make a Weather App in Python | Weather API | Python Project
20:33
Coding With Evan
Рет қаралды 119 М.
How To Create Apps In Python Using Tkinter!
17:50
b001
Рет қаралды 61 М.
Setting up Notepad ++ for Python
7:19
Nora Nguyen
Рет қаралды 74 М.
Use Arc Instead of Vec
15:21
Logan Smith
Рет қаралды 157 М.
Build Notepad Application in Python Using Tkinter
22:19
Python Pool
Рет қаралды 7 М.
2 Python Developers VS $1000
15:04
PolyMars
Рет қаралды 1,8 МЛН
15 Python Projects in Under 15 Minutes (Code Included)
12:37
Tech With Tim
Рет қаралды 2 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН