cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
917
Views
0
Helpful
2
Replies

IoT Day and Night Python Packet Tracer

jk865
Level 1
Level 1

Hi 

I wonder if someone can point me In the right direction 

 

Im trying to script a python code on a MCU within packet tracer so it actions a certain function if its night time, for example if its night time the door is closed, if its day time the door is open. 

 

Can anyone help 

Thanks in advance

2 Replies 2

jk865
Level 1
Level 1

Hi 

 

Im trying to work on a script that executes a if else statement if the time is before 18:00 but I realise some python modules don't work in PT has anybody had experience with this? 

Thanks in advance 

Leo Laohoo
Hall of Fame
Hall of Fame

If you are scripting in PT, then your homework is "out of scope".  

Please talk to the instructor for more guidance.

Review Cisco Networking for a $25 gift card