1
0
Fork 0

Create readme.md

This commit is contained in:
9fo 2023-04-27 16:20:34 -07:00 committed by GitHub
parent 7c5398e6e1
commit 78e338b5de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

20
cocalc/readme.md Normal file
View file

@ -0,0 +1,20 @@
### Example: `cocalc` <a name="example-cocalc"></a>
```python
# import library
import cocalc
cocalc.Completion.create(prompt="How are you!", cookieInput="cookieinput") ## Tutorial
```
### How to grab cookie input
```js
# input this into ur developer tools console and the exact response u get from this u put into ur cookieInput!
var cookies = document.cookie.split("; ");
var cookieString = "";
for (var i = 0; i < cookies.length; i++) {
cookieString += cookies[i] + "; ";
}
console.log(cookieString);
```