From eb0e720a4091d6dac57e733dfb49595f2d4a6ba7 Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Sat, 27 Mar 2021 09:12:31 +0300 Subject: [PATCH 01/17] Create requirements.txt --- requirements.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ + From f5561992c478c8f9ff4c8f8ab4bed05f8d93c3a7 Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Sat, 27 Mar 2021 09:18:12 +0300 Subject: [PATCH 02/17] Update requirements.txt --- requirements.txt | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 8b13789..97d354c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,16 @@ - +re +e32 +miso +ntlm +zlib +gzip +dumps +loads +socket +string +appuifw +warnings +globalui +httplib +logging +getLogger From 1a3e4c8b00bfd76fb3a89ace8dae8a98a893ed4f Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Sat, 3 Apr 2021 06:37:11 +0300 Subject: [PATCH 03/17] Update Console.py --- IP-Viewer/Console.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/IP-Viewer/Console.py b/IP-Viewer/Console.py index 5a71364..468b4f0 100644 --- a/IP-Viewer/Console.py +++ b/IP-Viewer/Console.py @@ -1,11 +1,14 @@ #Console.py script for PyS60 +import os import sys import e32 import appuifw ru = lambda text, : text.decode('utf-8', 'ignore') -class Console : + +# create class Console() +class Console(): __module__ = __name__ From d79cf7a9f2a4d0600f7f4294ebf3640b46066f98 Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Tue, 6 Apr 2021 03:15:42 +0300 Subject: [PATCH 04/17] Update README.md --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 4218082..1a33c8c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,15 @@ # PyS60-Projects Collection of My PyS60 Projects + + +## Basic Requirements +Download Python from this site go to this link and download https://www.python.org and download the new version. + + +## Install +- Clone the repository `git clone https://github.com/Lencof/Python-game` +- Install requirements.txt `pip install -r requirements.txt` + + +## Use Pyinstaller +Use Pyinstaller to compile the program to bytecode, for the subsequent transfer of the file you can get acquainted with Pyinstaller on their official website https://www.pyinstaller.org/ Good luck everyone! From 00a12e609c3c24a9a3636960d4a4c6302fe194b4 Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Tue, 6 Apr 2021 03:16:09 +0300 Subject: [PATCH 05/17] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1a33c8c..c43e700 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Download Python from this site go to this link and download https://www.python.o ## Install -- Clone the repository `git clone https://github.com/Lencof/Python-game` +- Clone the repository `git clone https://github.com/Lencof/PyS60-Projects` - Install requirements.txt `pip install -r requirements.txt` From bd821097d96a9b5d565d390436f0ffcac2004ee1 Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Fri, 16 Apr 2021 11:19:32 +0300 Subject: [PATCH 06/17] Update ipviewer.py --- IP-Viewer/ipviewer.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/IP-Viewer/ipviewer.py b/IP-Viewer/ipviewer.py index a16a882..954f167 100644 --- a/IP-Viewer/ipviewer.py +++ b/IP-Viewer/ipviewer.py @@ -8,7 +8,13 @@ #Program code begins here # ipviewer v1.3 script by gauravssnl -import appuifw,e32,os,sys,re,globalui +import appuifw +import e32 +import os +import sys +import re +import globalui + dir=appuifw.app.full_name()[0] path=dir+":\\System\\Apps\\IP Viewer\\" # print path From 6e9ca25734d48ce3dd040fba6c8eeabe0d51f228 Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Fri, 16 Apr 2021 11:20:09 +0300 Subject: [PATCH 07/17] Update Py SysInfo.py --- PY-SysInfo/Py SysInfo.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PY-SysInfo/Py SysInfo.py b/PY-SysInfo/Py SysInfo.py index dd2379a..29bbb3e 100644 --- a/PY-SysInfo/Py SysInfo.py +++ b/PY-SysInfo/Py SysInfo.py @@ -1,5 +1,7 @@ # Py SysInfo.py script by gauravssnl +import os +import sys import sysinfo import appuifw import e32 From 1349383132331395e9126c1ce9e012f66f036368 Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Fri, 16 Apr 2021 11:20:50 +0300 Subject: [PATCH 08/17] Update powlite_fm.py --- PyPastebin/powlite_fm.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/PyPastebin/powlite_fm.py b/PyPastebin/powlite_fm.py index 6476c11..5e87413 100644 --- a/PyPastebin/powlite_fm.py +++ b/PyPastebin/powlite_fm.py @@ -4,8 +4,13 @@ by爱不只是说说 2011/07/01 ''' + +import os +import sys + cn = lambda x:x.decode('u8') +# create class manager: class manager: __name__ == 'powlite_fm' def __init__(s, filepath=None): @@ -251,4 +256,4 @@ def quit(s, x=0): #ext:过滤文件后缀,多个用,号隔开如ext=['.py', '.pyc'] #find:选择类型,find='file'查找文件,find='dir'查找目录。 #markmod:markmod=True时为标记模式 - #back:back=True时按取消将返回上级目录,否则退出 \ No newline at end of file + #back:back=True时按取消将返回上级目录,否则退出 From 0ef9f69e7b9626f740f97de76b66c57b591486e6 Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Fri, 16 Apr 2021 11:21:24 +0300 Subject: [PATCH 09/17] Update models.py --- PyPastebin/requests/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PyPastebin/requests/models.py b/PyPastebin/requests/models.py index 84a2ec6..71abc24 100644 --- a/PyPastebin/requests/models.py +++ b/PyPastebin/requests/models.py @@ -8,6 +8,8 @@ """ import os +import sys +import time import urllib from urlparse import urlparse, urlunparse, urljoin, urlsplit From 07898905deef4afeef16975e65e989a018c25104 Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Wed, 26 May 2021 09:00:55 +0300 Subject: [PATCH 10/17] Update PyPastebin.py --- PyPastebin/PyPastebin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/PyPastebin/PyPastebin.py b/PyPastebin/PyPastebin.py index 6e877af..53eb27d 100644 --- a/PyPastebin/PyPastebin.py +++ b/PyPastebin/PyPastebin.py @@ -4,6 +4,7 @@ import e32 import os import sys +import os.path import pastebin_python as P import powlite_fm import globalui From 0c774e88f75a49c9d449d57aeac78e69776a84e0 Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Wed, 26 May 2021 09:01:14 +0300 Subject: [PATCH 11/17] Update powlite_fm.py --- PyPastebin/powlite_fm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/PyPastebin/powlite_fm.py b/PyPastebin/powlite_fm.py index 5e87413..5f7e541 100644 --- a/PyPastebin/powlite_fm.py +++ b/PyPastebin/powlite_fm.py @@ -7,6 +7,7 @@ import os import sys +import os.path cn = lambda x:x.decode('u8') From d2d13ef7f469b878e925385fea593ebf6754bf80 Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Wed, 26 May 2021 09:01:41 +0300 Subject: [PATCH 12/17] Update api.py --- PyPastebin/requests/api.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PyPastebin/requests/api.py b/PyPastebin/requests/api.py index b7d4158..13629b8 100644 --- a/PyPastebin/requests/api.py +++ b/PyPastebin/requests/api.py @@ -11,6 +11,9 @@ """ +import os +import sys +import os.path from . import sessions def request(method, url, **kwargs): From ae2bebd2000c581bac37210daab66af39e7b5e28 Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Wed, 26 May 2021 09:02:12 +0300 Subject: [PATCH 13/17] Update async.py --- PyPastebin/requests/async.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/PyPastebin/requests/async.py b/PyPastebin/requests/async.py index 9488447..57f829b 100644 --- a/PyPastebin/requests/async.py +++ b/PyPastebin/requests/async.py @@ -9,6 +9,10 @@ ``Response``). A list of requests can be sent with ``map()``. """ +import os +import sys +import os.path + try: import gevent from gevent import monkey as curious_george @@ -85,4 +89,4 @@ def map(requests, prefetch=True, size=None): if prefetch: [r.response.content for r in requests] - return [r.response for r in requests] \ No newline at end of file + return [r.response for r in requests] From 809bb8b4e958de225f162fffacf4d47a540b780f Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Sun, 25 Jul 2021 12:05:49 +0300 Subject: [PATCH 14/17] Update Console.py --- IP-Viewer/Console.py | 1 - 1 file changed, 1 deletion(-) diff --git a/IP-Viewer/Console.py b/IP-Viewer/Console.py index 468b4f0..191e38b 100644 --- a/IP-Viewer/Console.py +++ b/IP-Viewer/Console.py @@ -7,7 +7,6 @@ import appuifw ru = lambda text, : text.decode('utf-8', 'ignore') -# create class Console() class Console(): From c03411fe54f06cd34905b286bf860b511d2eb801 Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Tue, 28 Sep 2021 14:52:18 +0300 Subject: [PATCH 15/17] Update Py SysInfo.py --- PY-SysInfo/Py SysInfo.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/PY-SysInfo/Py SysInfo.py b/PY-SysInfo/Py SysInfo.py index 29bbb3e..2f4a394 100644 --- a/PY-SysInfo/Py SysInfo.py +++ b/PY-SysInfo/Py SysInfo.py @@ -1,10 +1,7 @@ # Py SysInfo.py script by gauravssnl -import os -import sys -import sysinfo -import appuifw -import e32 +import os, sys, sysinfo, appuifw, e32 + appuifw.app.title = u"Py SysInfo " dev = "gauravssnl" ru = lambda txt : str(txt).decode('utf-8','ignore') From dae97ee28cb9948fa6084bc01f234da39d05261c Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Tue, 28 Sep 2021 14:53:44 +0300 Subject: [PATCH 16/17] Update Console.py --- IP-Viewer/Console.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/IP-Viewer/Console.py b/IP-Viewer/Console.py index 191e38b..5efe7b3 100644 --- a/IP-Viewer/Console.py +++ b/IP-Viewer/Console.py @@ -1,10 +1,8 @@ #Console.py script for PyS60 -import os -import sys -import e32 -import appuifw +import os, sys, e32, appuifw + ru = lambda text, : text.decode('utf-8', 'ignore') class Console(): From ad405e3db7c35f0119191b0bd1aa71aea25221c4 Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Tue, 28 Sep 2021 14:54:24 +0300 Subject: [PATCH 17/17] Update ipviewer.py --- IP-Viewer/ipviewer.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/IP-Viewer/ipviewer.py b/IP-Viewer/ipviewer.py index 954f167..4502e80 100644 --- a/IP-Viewer/ipviewer.py +++ b/IP-Viewer/ipviewer.py @@ -8,8 +8,7 @@ #Program code begins here # ipviewer v1.3 script by gauravssnl -import appuifw -import e32 +import appuifw, e32 import os import sys import re