zeushell 0.1.2__tar.gz → 0.1.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: zeushell
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: A small Python package published to PyPI
5
5
  Author-email: Zeus <zeus@gmail.com>
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "zeushell"
3
- version = "0.1.2"
3
+ version = "0.1.3"
4
4
  description = "A small Python package published to PyPI"
5
5
  authors = [
6
6
  {name = "Zeus", email = "zeus@gmail.com"}
@@ -6,30 +6,15 @@ def function():
6
6
  try:
7
7
  funclist
8
8
  except:
9
- global funclist
10
9
  funclist=[]
11
10
  funclist.append(func.__name__)
11
+ qqqqqqq=open("w.txt","w")
12
+ qqqqqqq.write(str(funclist))
13
+ qqqqqqq.close()
12
14
  return func
13
- try:
14
- a=open("ss.txt","r")
15
- s=a.read()
16
- a.close()
17
- except:
18
- s=""
19
- pass
20
- w=open("ss.txt","w")
21
- w.write(s+name+"\n")
22
- w.close()
23
15
  return dd
24
16
  def run():
25
- class ZeushellError(Exception):
26
- pass
27
- try:
28
- a=open("ss.txt","r")
29
- w=a.read()
30
- a.close()
31
- except:
32
- raise ZeushellError("you didn\'n make function")
17
+ import json
33
18
  try:
34
19
  shellname+=": "
35
20
  except:
@@ -48,7 +33,11 @@ def run():
48
33
  if s==[]:
49
34
  continue
50
35
  aaaaa=s[0]
51
- if aaaaa not in funclist:
36
+ qqqqqqq=open("w.txt","r")
37
+ wigeiu=qqqqqqq.read()
38
+ qqqqqqq.close()
39
+ json.loads
40
+ if aaaaa not in json.loads(wigeiu):
52
41
  print('You didn\'t have '+aaaaa+' function')
53
42
  continue
54
43
  s=s[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: zeushell
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: A small Python package published to PyPI
5
5
  Author-email: Zeus <zeus@gmail.com>
6
6
  License: MIT
File without changes
File without changes