#13 Python Tutorial for Beginners | IDLE Previous Command | Clear Screen?

preview_player
Показать описание
Check out our courses:

Coupon: TELUSKO10 (10% Discount)

For More Queries WhatsApp or Call on : +919008963671

In this lecture we are configure our idle:

-- we want to previous and next history
-- for that we can configure our idle

just like in cmd suppose you use:
-- ipconfig , start , mkdir, help and many more command
and you want to use previous command or next command:
for that
-- you can use up arrow key and down arrow key

just like that we can configure our idle:

Step 1: open options
step 2: open configure idle
step 3: open keys
step 4: scroll and go to history-previous and history-next
step 5: just click on get new keys for selection
step 6: select up and down arrow key for history-previous and history-next
step 7: click on ok and close the idle

now you can use up and down arrow key for previous and next command

Editing Monitors :

Subscribe to our other channel:
Telusko Hindi :

Donation:
PayPal Id : navinreddy20
Patreon : navinreddy20
Рекомендации по теме
Комментарии
Автор

for scrolling you can do cntrl + J.
this will work

akashgupta_
Автор

If you want the previous command or any other older commmand ... simply click the cursor on that line(s) and press enter !
There you go ! :)

lakshmichandraaa
Автор

i dont know how can one dislike these type of videos. great work navin reddy. love to watch and share your next videos. thanks man!

singhchetan
Автор

sir, jitni tareef karu utna kam
your efforts are, just amazing :)

deepanshumishra
Автор

This channel is very useful to know most of the new technologies

yugandharsurya
Автор

Yes sir that is I want yesterday when i was using IDLE that confusion comes in my mind..
Thanks for this..
Learning will fun using your Python tutorial I watched every lectr one by one ...😀

shubhamvaidhy
Автор

The things that really amaze me that you are not only just teaching the language but also revealing the small vital hacks that are really helpful when we get our hands on it👌. Thanks a lot, really appreciate that🙏

shankargope
Автор

I have visited some channel.but honestly I would like to say that you are amazing.the way of talking is nice.Keep growing.Spread the knowledge.

shashikantmane
Автор

quarantine going well with your videos sir! absolutely enjoying studying!!

mitalipurwar
Автор

you can use the os module along with the system function to clear the screen import os

def clear_screen():
if os.name == 'posix':
# For Linux and macOS
os.system('clear')
elif os.name == 'nt':
# For Windows
os.system('cls')


You can run this one time.
Next you can start using this command "clear_screen()" to clear the screen as and when needed.

yashwanths
Автор

1) Change IDLE configuration Options => Configure IDLE => General tab => Shell preferences => Auto-Squeeze min lines [50] and change 50 to a large count like 1000.
2) Execute command print("\n" * 100) to clear screen

prasadmvja
Автор

Great Video series !!! Hats off Sir looking forward to more videos on Python. I had the same exact question in my mind when I was learning Python today. Thanks, Sir !!!

varunjha
Автор

no.1 work sir no one can compete with your this work.
thanks a

commando
Автор

To clear screen
We have to import os module by writing
import os
And then use the in-built function
os.system("cls")
Finally you can keep it as an function cls
Like this-


import os
def cls():
os.system("cls")

vidyakumari
Автор

thx sir watching from garissa-kenya ...4/7/2019.. 7:15 pm thnks alot ur videos are much better than wat am taught at university

ismailabdow
Автор

why there are dislikes on this video, he just said what he needs to, are you people expected him to dance or do stunts in the video titled as "python tutorial for beginners", ridiculous people.

poorna
Автор

ctrl+F6 for new shell or restart the shell...!

aravindmarri
Автор

thanks now i can use this else i was using cmd

akash
Автор

Try This One.
>>>import subprocess as sp
>>>temp=sp.call('cls', shell=True)

dineshkumargubba
Автор

Ctrl + L also does kind of magic trick, it does not clear the screen but it starts a clean screen.

thebunerikhan