Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to use js in python

# It's really simple, create a file and name it 'console.py'
# Now type this in it

def log(text):
  print(txt)

# create new file named 'js.py', Now type

import console

console.log("Hello World!")
 
PREVIOUS NEXT
Tagged: #js #python
ADD COMMENT
Topic
Name
7+8 =