Talk:Translated Python

From Esolang
Jump to navigation Jump to search

Wow. --None1 (talk) 02:07, 16 November 2023 (UTC)

What I did was:

Microsoft: English -> Chinese
Baidu: Chinese -> English
Microsoft: English -> German
Baidu: German -> English
Microsoft: English -> Japanese
Baidu: Japanese -> English
Microsoft: English -> Chinese
Baidu: Chinese -> English

What I get is:

Listener with pynput. keyboard import key



Import date and time



Log_ File="Keyboard Log. txt"



Aktuell_ Line=[]



Def_ Press:



Try:



Aktuell_ Line. append (key. char)



Except for AttributeError:



If key==key. space:



Aktuell_ Line. append()



Elif key==key. Input:



Log Line ()



in addition



Aktuell_ Line. Append (f "[{key}]")



Def_ Release (key):



For key==key. esc:



Log Line ()



Wrong return value



Define log_ Line():



For aktuelle_ Line:



Eingetippt_ Line="". main (current_Line)



To use open (log_file, 'a') as a file:



Timestamp=datetime. datatime. now(). streaftime ('% Y -% m -% d% H:% m:% S')



File. write (f '# timestamp # keystroke: {typed_line}n ')



Aktuell_ Line. clear()

--None1 (talk) 05:10, 16 November 2023 (UTC)

Hello!

@None1 Also put your results on these pages: Translated VBS and Translated C#. Use the same block of steps for translation or you can make another block of steps by choosing translators and a pair of languages for each translator! You can repeat a sub-block of translators (by example: Microsoft & Baidu) but with different pairs of languages. Thanks for this! MihaiEso (talk) 13:50, 16 November 2023 (UTC)

I'll do these tomorrow, I'm going to go to sleep now. --None1 (talk) 14:10, 16 November 2023 (UTC)

Good luck sleeping! Do these in the next day! MihaiEso (talk) 14:14, 16 November 2023 (UTC)
Also do for Translated Julia! Thanks! MihaiEso (talk) 18:26, 16 November 2023 (UTC)
Done! --None1 (talk) 12:15, 26 February 2024 (UTC)