Skip to content

Commit bc25b83

Browse files
committed
Update Use the best way for developing chapter
1 parent d89e951 commit bc25b83

20 files changed

+1058
-313
lines changed

docs/_sources/en/guide_ide.txt

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,46 @@
1-
Are there more efficient way for developing?
1+
Use the best way for developing
22
===================================================
33

44

5-
How to program from my cellphone
5+
Develop from QEditor
66
----------------------------------------
7-
* `What editor should I use? <http://wiki.qpython.org/en/QEdit/>`_
7+
QEditor is the QPython's built-in editor, which supports Python / HTML syntax highlight.
88

9-
How to program from my pc
9+
10+
**QEditor's main features**
11+
12+
* Edit / View plain text file, like Python, Lua, HTML, Javascript and so on
13+
14+
* Edit and run Python script & Python syntax highlight
15+
16+
* Edit and run Shell script
17+
18+
* Preview HTML with built-in HTML browser
19+
20+
* Search by keyword, code snippets, code share
21+
22+
You could run the QPython script directly when you develop from QEditor, so when you are moving it's the most convient way for QPython develop.
23+
24+
25+
Develop from your PC/Laptop's browser
1026
--------------------------------------
27+
QPython has a built-in script which is **qedit4web.py**, you could see it when you click the start button and choose "Run local script".
28+
After run it, you could see the result.
29+
30+
.. image:: ../_static/guide_ide_qedit4web.png
31+
:alt: QPython qedit4web
32+
33+
Then, you could access the url from your PC/Laptop's browser for developing, just like the below pics.
34+
35+
.. image:: ../_static/guide_ide_qedit4web_choose.png
36+
:alt: QPython qedit4web choose project or file
37+
38+
*After choose some project or script, you could start to develop*
39+
40+
.. image:: ../_static/guide_ide_qedit4web_develop.png
41+
:alt: QPython qedit4web
42+
43+
44+
With it's help, you could write from browser and run from your android phone. It is very convenient.
45+
46+

docs/_sources/en/guide_libraries.txt

Lines changed: 274 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,282 @@
1-
Python builtin Libraries
1+
QPython built-in Libraries
22
==========================
3+
QPython is using the Python 2.7.2 and it support most Python stardard libraries. And you could see their documentation through Python documentation.
4+
5+
QPython dynload libraries (python built-in .so libraries)
6+
----------------------------------------------
7+
Usually, you don't need to import them manually, they were used in stardard libraries, and could be imported automatically.
8+
9+
* _codecs_cn.so
10+
* _codecs_hk.so
11+
* _codecs_iso2022.so
12+
* _codecs_jp.so
13+
* _codecs_kr.so
14+
* _codecs_tw.so
15+
* _csv.so
16+
* _ctypes.so
17+
* _ctypes_test.so
18+
* _hashlib.so
19+
* _heapq.so
20+
* _hotshot.so
21+
* _io.so
22+
* _json.so
23+
* _lsprof.so
24+
* _multibytecodec.so
25+
* _sqlite3.so
26+
* _ssl.so
27+
* _testcapi.so
28+
* audioop.so
29+
* future_builtins.so
30+
* grp.so
31+
* mmap.so
32+
* resource.so
33+
* syslog.so
34+
* termios.so
35+
* unicodedata.so
36+
37+
QPython stardard libraries
38+
---------------------------
39+
The following libraries are the stardard QPython libraries which are the same as Python:
40+
41+
- `BaseHTTPServer.py <https://docs.python.org/2/library/basehttpserver.html>`_
42+
- `binhex.py <https://docs.python.org/2/library/binhex.html>`_
43+
- `fnmatch.py <https://docs.python.org/2/library/fnmatch.html>`_
44+
- mhlib.py
45+
- quopri.py
46+
- sysconfig.py
47+
- Bastion.py
48+
- bisect.py
49+
- formatter.py
50+
- mimetools.py
51+
- random.py
52+
- tabnanny.py
53+
- CGIHTTPServer.py
54+
- bsddb
55+
- fpformat.py
56+
- mimetypes.py
57+
- re.py
58+
- tarfile.py
59+
- ConfigParser.py
60+
- cProfile.py
61+
- fractions.py
62+
- mimify.py
63+
- repr.py
64+
- telnetlib.py
65+
- Cookie.py
66+
- calendar.py
67+
- ftplib.py
68+
- modulefinder.py
69+
- rexec.py
70+
- tempfile.py
71+
- DocXMLRPCServer.py
72+
- cgi.py
73+
- functools.py
74+
- multifile.py
75+
- rfc822.py
76+
- textwrap.py
77+
- HTMLParser.py
78+
- cgitb.py
79+
- genericpath.py
80+
- mutex.py
81+
- rlcompleter.py
82+
- this.py
83+
- chunk.py
84+
- getopt.py
85+
- netrc.py
86+
- robotparser.py
87+
- threading.py
88+
- MimeWriter.py
89+
- cmd.py
90+
- getpass.py
91+
- new.py
92+
- runpy.py
93+
- timeit.py
94+
- Queue.py
95+
- code.py
96+
- gettext.py
97+
- nntplib.py
98+
- sched.py
99+
- toaiff.py
100+
- SimpleHTTPServer.py
101+
- codecs.py
102+
- glob.py
103+
- ntpath.py
104+
- sets.py
105+
- token.py
106+
- SimpleXMLRPCServer.py
107+
- codeop.py
108+
- gzip.py
109+
- nturl2path.py
110+
- sgmllib.py
111+
- tokenize.py
112+
- SocketServer.py
113+
- collections.py
114+
- hashlib.py
115+
- numbers.py
116+
- sha.py
117+
- trace.py
118+
- StringIO.py
119+
- colorsys.py
120+
- heapq.py
121+
- opcode.py
122+
- shelve.py
123+
- traceback.py
124+
- UserDict.py
125+
- commands.py
126+
- hmac.py
127+
- optparse.py
128+
- shlex.py
129+
- tty.py
130+
- UserList.py
131+
- compileall.py
132+
- hotshot
133+
- os.py
134+
- shutil.py
135+
- types.py
136+
- UserString.py
137+
- compiler
138+
- htmlentitydefs.py
139+
- os2emxpath.py
140+
- site.py
141+
- unittest
142+
- _LWPCookieJar.py
143+
- config
144+
- htmllib.py
145+
- smtpd.py
146+
- urllib.py
147+
- _MozillaCookieJar.py
148+
- contextlib.py
149+
- httplib.py
150+
- pdb.py
151+
- smtplib.py
152+
- urllib2.py
153+
- __future__.py
154+
- cookielib.py
155+
- ihooks.py
156+
- pickle.py
157+
- sndhdr.py
158+
- urlparse.py
159+
- __phello__.foo.py
160+
- copy.py
161+
- imaplib.py
162+
- pickletools.py
163+
- socket.py
164+
- user.py
165+
- _abcoll.py
166+
- copy_reg.py
167+
- imghdr.py
168+
- pipes.py
169+
- sqlite3
170+
- uu.py
171+
- _pyio.py
172+
- csv.py
173+
- importlib
174+
- pkgutil.py
175+
- sre.py
176+
- uuid.py
177+
- _strptime.py
178+
- ctypes
179+
- imputil.py
180+
- plat-linux4
181+
- sre_compile.py
182+
- warnings.py
183+
- _threading_local.py
184+
- dbhash.py
185+
- inspect.py
186+
- platform.py
187+
- sre_constants.py
188+
- wave.py
189+
- _weakrefset.py
190+
- decimal.py
191+
- io.py
192+
- plistlib.py
193+
- sre_parse.py
194+
- weakref.py
195+
- abc.py
196+
- difflib.py
197+
- json
198+
- popen2.py
199+
- ssl.py
200+
- webbrowser.py
201+
- aifc.py
202+
- dircache.py
203+
- keyword.py
204+
- poplib.py
205+
- stat.py
206+
- whichdb.py
207+
- antigravity.py
208+
- dis.py
209+
- lib-tk
210+
- posixfile.py
211+
- statvfs.py
212+
- wsgiref
213+
- anydbm.py
214+
- distutils
215+
- linecache.py
216+
- posixpath.py
217+
- string.py
218+
- argparse.py
219+
- doctest.py
220+
- locale.py
221+
- pprint.py
222+
- stringold.py
223+
- xdrlib.py
224+
- ast.py
225+
- dumbdbm.py
226+
- logging
227+
- profile.py
228+
- stringprep.py
229+
- xml
230+
- asynchat.py
231+
- dummy_thread.py
232+
- macpath.py
233+
- pstats.py
234+
- struct.py
235+
- xmllib.py
236+
- asyncore.py
237+
- dummy_threading.py
238+
- macurl2path.py
239+
- pty.py
240+
- subprocess.py
241+
- xmlrpclib.py
242+
- atexit.py
243+
- email
244+
- mailbox.py
245+
- py_compile.py
246+
- sunau.py
247+
- zipfile.py
248+
- audiodev.py
249+
- encodings
250+
- mailcap.py
251+
- pyclbr.py
252+
- sunaudio.py
253+
- base64.py
254+
- filecmp.py
255+
- markupbase.py
256+
- pydoc.py
257+
- symbol.py
258+
- bdb.py
259+
- fileinput.py
260+
- md5.py
261+
- pydoc_data
262+
- symtable.py
263+
264+
3265

4266
Python 3rd Libraries
5267
==========================
6268

269+
- BeautifulSoup.py
270+
- pkg_resources.py
271+
- androidhelper
272+
- plyer
273+
- bottle.py
274+
- qpy.py
275+
- qpythoninit.py
276+
- setuptools
277+
- pip
278+
279+
7280
Android APIs
8281
==========================
9282

0 commit comments

Comments
 (0)