Call it like:
$ ./e2r.py "the english string"
Or import it into script:
from e2r import e2r| #!/usr/bin/env python | |
| #-*- coding: utf-8 -*- | |
| from __future__ import print_function | |
| from time import sleep | |
| string = "The words in this sentence should appear letter by letter." | |
| print("Please wait if you don't see another sentence appearing below.", end="\n\n") |
| try: | |
| input = raw_input | |
| except NameError: | |
| pass |
| #!/usr/bin/env python | |
| #-*- coding: utf-8 -*- | |
| import sys | |
| import keyword | |
| ''' | |
| File: python_keywords.py | |
| Author : Santosh Kumar <https://twitter.com/sntshk> | |
| Date created: Fri 22 Feb 2013 07:00:09 PM IST |
| #!/usr/bin/env python | |
| #-*- coding:utf-8 -*- | |
| import os | |
| import pwd | |
| print(pwd.getpwuid(os.getuid())[4]) |
| <!DOCTYPE html> | |
| <html dir="ltr" lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>URL Decoder/Encoder</title> | |
| <link rel="stylesheet" type="text/css" href="style.css" media="screen" /> | |
| </head> |
| <!DOCTYPE html> | |
| <html dir="ltr" lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title> Random Color Generator in JavaScript </title> | |
| <script type="text/javascript" charset="utf-8"> | |
| // generate random color | |
| function colorname() { |
| <?php | |
| /* | |
| Please make sure that you already create a file that you are setting in $saveas variable, | |
| and set its permission to 777 else you can receive an error telling you like permission | |
| denied etc. | |
| */ | |
| // file to open and save to | |
| $saveas = "capitalizr.py.zip"; |
| <!DOCTYPE html> | |
| <html dir="ltr" lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <link rel="stylesheet" type="text/css" media="screen" href="reflection.css" /> | |
| <title> Image Reflection </title> | |
| </head> | |
| <body> |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Changing Link on Click</title> | |
| <script type="text/javascript" charset="utf-8"> | |
| var changeLink = function(){ | |
| document.getElementById('change').onClick = function(){ | |
| // link to be replaced with | |
| this.href="https://twitter.com/"; | |
| } |