zeushell 0.3.0__tar.gz → 0.4.1__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.3.0
3
+ Version: 0.4.1
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.3.0"
3
+ version = "0.4.1"
4
4
  description ="A small Python package published to PyPI"
5
5
  authors = [
6
6
  {name = "Zeus", email = "zeus@gmail.com"}
@@ -2,9 +2,12 @@ def name(a):
2
2
  global shellname
3
3
  shellname=a
4
4
  def function():
5
+ import ast
5
6
  def dd(func):
6
7
  try:
7
- funclist
8
+ qqqqqqq=open("w.txt","r")
9
+ funclist=ast.literal_eval(qqqqqqq.read())
10
+ qqqqqqq.close()
8
11
  except:
9
12
  funclist=[]
10
13
  funclist.append(func.__name__)
@@ -22,6 +25,14 @@ def run():
22
25
  while True:
23
26
  ino=input(shellname)
24
27
  s=ino.split()
28
+ njdo=[]
29
+ for i in s:
30
+ try:
31
+ siu=int(i)
32
+ njdo.append(siu)
33
+ except:
34
+ njdo.append(i)
35
+ s=njdo
25
36
  if s==[]:
26
37
  continue
27
38
  aaaaa=s[0]
@@ -31,7 +42,7 @@ def run():
31
42
  if aaaaa not in ast.literal_eval(wigeiu):
32
43
  print('You didn\'t have '+aaaaa+' function')
33
44
  continue
34
- s=s[1:]
45
+ s=s[0:]
35
46
  s=str(s).replace("[","(").replace("]",")")
36
47
  exec(aaaaa+s)
37
48
  return 1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: zeushell
3
- Version: 0.3.0
3
+ Version: 0.4.1
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