Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
#!/usr/bin/env python3 import sys def psudopython(input_file): with open(input_file, 'r') as file: lines = file.readlines() modified_lines = [] for line in lines: modified_line = line.replace('#', ' ') # Replace "#" with four spaces modified_lines.append(modified_line) interpreted_code = ''.join(modified_lines) # Execute the interpreted code try: exec(interpreted_code) except Exception as e: print(f"Error: {e}") if __name__ == "__main__": if len(sys.argv) != 2: print("Usage: ", sys.argv[0] ,"
") sys.exit(1) input_file = sys.argv[1] print("#!/usr/bin/env python3\n") psudopython(input_file)
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)