zeushell 0.1.0__tar.gz → 0.1.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.1.0
3
+ Version: 0.1.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.1.0"
3
+ version = "0.1.1"
4
4
  description = "A small Python package published to PyPI"
5
5
  authors = [
6
6
  {name = "Zeus", email = "zeus@gmail.com"}
@@ -1,4 +1,5 @@
1
1
  def name(a):
2
+ global shellname
2
3
  shellname=a
3
4
  def function(name):
4
5
  def dd(func):
@@ -14,7 +15,7 @@ def function(name):
14
15
  w=open("ss.txt","w")
15
16
  w.write(s+name+"\n")
16
17
  w.close()
17
- return name
18
+ return dd
18
19
  def run():
19
20
  class ZeushellError(Exception):
20
21
  pass
@@ -38,13 +39,9 @@ def run():
38
39
  srtin+=i
39
40
  while True:
40
41
  ino=input(shellname)
41
- s=[]
42
- aaaa=""
43
- for i in ino:
44
- if i==" ":
45
- s.append(aaaa)
46
- else:
47
- aaaa+=i
42
+ s=ino.split()
43
+ if s==[]:
44
+ continue
48
45
  aaaaa=s[0]
49
46
  s=s[1:]
50
47
  s=str(s).replace("[","(").replace("]",")")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: zeushell
3
- Version: 0.1.0
3
+ Version: 0.1.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