@whearst3/

Python-Sandbox

Python

No description

fork
loading
Files
  • main.py

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.22601624705880363","path":"main.py","file":{"path":"main.py","content":{"asEncoding":{"base64":"aW1wb3J0IGxvY2F0aW9uCmltcG9ydCBvcyAKCgoiIiIKZGVmIGdldHBvcygpOgogIGRpY3QxID0geydsYXRpdHVkZSc6IDM3LjUsJ2xvbmdpdHVkZSc6LTEyMi41fQogIGxhdGMsbG9uYyA9IGRpY3QxWydsYXRpdHVkZSddLGRpY3QxWydsb25naXR1ZGUnXQogIHJldHVybiBbZGljdDFbJ2xhdGl0dWRlJ10sZGljdDFbJ2xvbmdpdHVkZSddXQogIApwcmludCAoZ2V0cG9zKCkpCgpsYSwgbG8gPSBnZXRwb3MoKQoKeCA9IFtsYSxsb10KCnByaW50KHgpCiIiIgoKcHJpbnQgKG9zLmdldGN3ZCgpKQoK"},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import location
import os 


"""
def getpos():
  dict1 = {'latitude': 37.5,'longitude':-122.5}
  latc,lonc = dict1['latitude'],dict1['longitude']
  return [dict1['latitude'],dict1['longitude']]
  
print (getpos())

la, lo = getpos()

x = [la,lo]

print(x)
"""

print (os.getcwd())