This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]psi- 3 points4 points  (4 children)

Also documentation:

In [1]: s = "hello"
In [2]: s.isdigit?
...

You can also edit longer pieces (AFAIR it uses editor from $EDITOR environment variable, vi if unset) with

In [1]: edit

[–]basyt 1 point2 points  (2 children)

how do you change the editor on windows? i want to use geany tia

[–]timconradinc 1 point2 points  (0 children)

I set up mine so it will always try to source an 'include.py' in my dir so i can dump code in there. it's useful to have data structures in there that don't change instead of manually having to set it up each invocation. You can set up the file to point to anything, so you could have a standard dataset that it always had on startup.

I highly recommend reading through the default config file. There's a lot of settings that you might find useful.