File tree 2 files changed +29
-1
lines changed
2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 143
143
:init
144
144
(add-hook 'python-mode-hook 'jedi:setup)
145
145
(add-hook 'python-mode-hook 'jedi:ac-setup))
146
+
147
+
148
+ (use-package elpy
149
+ :ensure t
150
+ :config
151
+ (elpy-enable))
152
+
153
+ #+END_SRC
154
+ * Yasnippet
155
+ #+BEGIN_SRC emacs-lisp
156
+ (use-package yasnippet
157
+ :ensure t
158
+ :init
159
+ (yas-global-mode 1))
146
160
147
161
#+END_SRC
Original file line number Diff line number Diff line change 1
1
import random
2
2
3
3
def f (x ):
4
- return random .randrange (1 ,x )
4
+ return random .randrange (1 , x )
5
5
6
6
7
7
for i in range (2 ,10 ):
8
8
print f (i )
9
9
10
10
11
+
12
+ if __name__ == '__main__' :
13
+ hello
14
+
15
+
16
+ class myclass (somethingelse ):
17
+ """documentation
18
+
19
+ """
20
+ def __init__ (self , some_args ):
21
+ super (myclass , self ).__init__ ()
22
+ self .some_args = some_args
23
+
24
+
You can’t perform that action at this time.
0 commit comments