Re: Planning a Python / PyData conference

2023-08-10 Thread Fulian Wang via Python-list
I have a brilliant business idea and want to build a team. We collect used cars 
transfer them to brand new cars inside and outside. Change the gas engine to 
electric engine with solar panel. Anyone wants to join please contact me. I 
have the idea, best fiber, website ,Pcb design and manufacture source. Anyone 
is interested please contact Ms. Wang
(832)208-3196
 esta...@hestates.org

Get Outlook for iOS<https://aka.ms/o0ukef>

From: Fulian Wang 
Sent: Wednesday, August 9, 2023 1:14:23 PM
To: dn ; python-list@python.org 

Subject: Re: Planning a Python / PyData conference

I recommend Sichuan ,Taiwan , or  Thailand

Get Outlook for iOS<https://aka.ms/o0ukef>

From: Python-list  on 
behalf of dn via Python-list 
Sent: Wednesday, August 9, 2023 00:10
To: python-list@python.org 
Subject: Re: Planning a Python / PyData conference

Hi Wilber,


On 09/08/2023 14.28, Wilber H via Python-list wrote:
> Hi,
>
> I would like to plan a Python / PyData conference in the country of the
> Dominican Republic, and would like your feedback on how to best plan
> for the conference.

Recommend making your request of the folks who organise EuroPython
and/or PyConUS - and then same for smaller gatherings.

(would suggest to ours, but those folk are already over-loaded to be
ready in a few weeks' time)

--
Regards,
=dn
--
https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Planning a Python / PyData conference

2023-08-09 Thread Fulian Wang via Python-list
I recommend Sichuan ,Taiwan , or  Thailand

Get Outlook for iOS

From: Python-list  on 
behalf of dn via Python-list 
Sent: Wednesday, August 9, 2023 00:10
To: python-list@python.org 
Subject: Re: Planning a Python / PyData conference

Hi Wilber,


On 09/08/2023 14.28, Wilber H via Python-list wrote:
> Hi,
>
> I would like to plan a Python / PyData conference in the country of the
> Dominican Republic, and would like your feedback on how to best plan
> for the conference.

Recommend making your request of the folks who organise EuroPython
and/or PyConUS - and then same for smaller gatherings.

(would suggest to ours, but those folk are already over-loaded to be
ready in a few weeks' time)

--
Regards,
=dn
--
https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: unable to run the basic Embedded Python example

2023-06-24 Thread Fulian Wang via Python-list
Forgot to try it or not in an Apple computer, but there’s one or two apple 
computers in my home when I just began to learn computer science. I should try 
it. Because I remembered clearly, I tried it on others.

Get Outlook for iOS<https://aka.ms/o0ukef>

From: Fulian Wang 
Sent: Saturday, June 24, 2023 7:43:56 PM
To: Dave Ohlsson ; python-list@python.org 

Subject: Re: unable to run the basic Embedded Python example

I study computer science in byu.edu, we choose the 3.4.3 vision. No matter 
which kind of computers or windows, I needed to download it from Microsoft 
store. Now I can download it directly from python.org

Get Outlook for iOS<https://aka.ms/o0ukef>

From: Python-list  on 
behalf of Dave Ohlsson via Python-list 
Sent: Saturday, June 24, 2023 15:35
To: python-list@python.org 
Subject: unable to run the basic Embedded Python example

I cannot get the simple program
https://docs.python.org/3/extending/embedding.html#very-high-level-embedding
to work.

My environment:
* Windows 10
* Microsoft Visual Studio 2019
* Qt Creator 10.0.1 (only as an IDE)
* Python not installed

This is what I did:

1. I downloaded https://www.python.org/ftp/python/3.11.4/Python-3.11.4.tgz

2. I extracted Python-3.11.4.tgz into C:\temp\Python-3.11.4

3. I opened the "x64 Native Tools Command Prompt for VS 2019" which comes
with Microsoft Visual Studio 2019

4. In "x64 Native Tools Command Prompt for VS 2019":

**
** Visual Studio 2019 Developer Command Prompt v16.11.26
** Copyright (c) 2021 Microsoft Corporation
**
[vcvarsall.bat] Environment initialized for: 'x64'

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>cd
C:\temp\Python-3.11.4\PCbuild

C:\temp\Python-3.11.4\PCbuild>build.bat -d // <= option '-d' means "debug"
Downloading nuget...
[many lines omitted]
Build succeeded.

C:\temp\Python-3.11.4\PCbuild\pythoncore.vcxproj(578,5): warning MSB3073:
The command ""C:\Program Files\Git\cmd\git.exe" name-rev --name-only HEAD >
"C:\temp\Python-3.11.4\PCbuild\obj\311amd64_Debug\pythoncore\gitbranch.txt""
exited with code 128.
C:\temp\Python-3.11.4\PCbuild\pythoncore.vcxproj(578,5): warning MSB4181:
The "Exec" task returned false but did not log an error.
C:\temp\Python-3.11.4\PCbuild\pythoncore.vcxproj(579,5): warning MSB3073:
The command ""C:\Program Files\Git\cmd\git.exe" rev-parse --short HEAD >
"C:\temp\Python-3.11.4\PCbuild\obj\311amd64_Debug\pythoncore\gitversion.txt""
exited with code 128.
C:\temp\Python-3.11.4\PCbuild\pythoncore.vcxproj(579,5): warning MSB4181:
The "Exec" task returned false but did not log an error.
C:\temp\Python-3.11.4\PCbuild\pythoncore.vcxproj(580,5): warning MSB3073:
The command ""C:\Program Files\Git\cmd\git.exe" describe --all --always
--dirty >
"C:\temp\Python-3.11.4\PCbuild\obj\311amd64_Debug\pythoncore\gittag.txt""
exited with code 128.
C:\temp\Python-3.11.4\PCbuild\pythoncore.vcxproj(580,5): warning MSB4181:
The "Exec" task returned false but did not log an error.
6 Warning(s)
0 Error(s)

Time Elapsed 00:00:34.87

C:\temp\Python-3.11.4\PCbuild>

5. I copied the example
https://docs.python.org/3/extending/embedding.html#very-high-level-embedding,
unchanged, to 'C:\temp\embedded_python\main.c'.

6. I created Qt Creator project file 'C:\temp\embedded_python\
embedded_python.pro':

TEMPLATE = app
TARGET = embedded_python
SOURCES += main.c
PYTHON_DIR = C:/temp/Python-3.11.4
INCLUDEPATH += $${PYTHON_DIR}/Include
INCLUDEPATH += $${PYTHON_DIR}/PC
LIBS += $${PYTHON_DIR}/PCbuild/amd64/python311_d.lib

7. I built the project:

20:02:38: Running steps for project embedded_python...
20:02:38: Starting: "C:\Qt\6.1.3\msvc2019_64\bin\qmake.exe"
C:\temp\embedded_python\embedded_python.pro -spec win32-msvc
"CONFIG+=debug" "CONFIG-=qml_debug" "CONFIG-=qtquickcompiler"
Info: creating stash file
C:\temp\build-embedded_python-Desktop_Qt_6_1_3_MSVC2019_64bit-Debug\.qmake.stash
20:02:38: The process "C:\Qt\6.1.3\msvc2019_64\bin\qmake.exe" exited
normally.
20:02:38: Starting: "C:\Qt\Tools\QtCreator\bin\jom\jom.exe" -f
C:/temp/build-embedded_python-Desktop_Qt_6_1_3_MSVC2019_64bit-Debug/Makefile
qmake_all

jom 1.1.3 - empower your cores

20:02:38: The process "C:\Qt\Tools\QtCreator\bin\jom\jom.exe" exited
normally.
20:02:38: Starting: "C:\Qt\Tools\QtCreator\bin\jom\jom.exe"
C:\Qt\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Debug
cl -c -nologo -Zc:wchar_t -FS -Zc:strictStrings -Zi -MDd -utf-8 -W3 -w44456
-w44457 -w44458 /Fddebug\embedded_python.vc.pdb -DUNICODE -D_UNICODE
-DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_GUI_LIB

Re: unable to run the basic Embedded Python example

2023-06-24 Thread Fulian Wang via Python-list
I study computer science in byu.edu, we choose the 3.4.3 vision. No matter 
which kind of computers or windows, I needed to download it from Microsoft 
store. Now I can download it directly from python.org

Get Outlook for iOS

From: Python-list  on 
behalf of Dave Ohlsson via Python-list 
Sent: Saturday, June 24, 2023 15:35
To: python-list@python.org 
Subject: unable to run the basic Embedded Python example

I cannot get the simple program
https://docs.python.org/3/extending/embedding.html#very-high-level-embedding
to work.

My environment:
* Windows 10
* Microsoft Visual Studio 2019
* Qt Creator 10.0.1 (only as an IDE)
* Python not installed

This is what I did:

1. I downloaded https://www.python.org/ftp/python/3.11.4/Python-3.11.4.tgz

2. I extracted Python-3.11.4.tgz into C:\temp\Python-3.11.4

3. I opened the "x64 Native Tools Command Prompt for VS 2019" which comes
with Microsoft Visual Studio 2019

4. In "x64 Native Tools Command Prompt for VS 2019":

**
** Visual Studio 2019 Developer Command Prompt v16.11.26
** Copyright (c) 2021 Microsoft Corporation
**
[vcvarsall.bat] Environment initialized for: 'x64'

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>cd
C:\temp\Python-3.11.4\PCbuild

C:\temp\Python-3.11.4\PCbuild>build.bat -d // <= option '-d' means "debug"
Downloading nuget...
[many lines omitted]
Build succeeded.

C:\temp\Python-3.11.4\PCbuild\pythoncore.vcxproj(578,5): warning MSB3073:
The command ""C:\Program Files\Git\cmd\git.exe" name-rev --name-only HEAD >
"C:\temp\Python-3.11.4\PCbuild\obj\311amd64_Debug\pythoncore\gitbranch.txt""
exited with code 128.
C:\temp\Python-3.11.4\PCbuild\pythoncore.vcxproj(578,5): warning MSB4181:
The "Exec" task returned false but did not log an error.
C:\temp\Python-3.11.4\PCbuild\pythoncore.vcxproj(579,5): warning MSB3073:
The command ""C:\Program Files\Git\cmd\git.exe" rev-parse --short HEAD >
"C:\temp\Python-3.11.4\PCbuild\obj\311amd64_Debug\pythoncore\gitversion.txt""
exited with code 128.
C:\temp\Python-3.11.4\PCbuild\pythoncore.vcxproj(579,5): warning MSB4181:
The "Exec" task returned false but did not log an error.
C:\temp\Python-3.11.4\PCbuild\pythoncore.vcxproj(580,5): warning MSB3073:
The command ""C:\Program Files\Git\cmd\git.exe" describe --all --always
--dirty >
"C:\temp\Python-3.11.4\PCbuild\obj\311amd64_Debug\pythoncore\gittag.txt""
exited with code 128.
C:\temp\Python-3.11.4\PCbuild\pythoncore.vcxproj(580,5): warning MSB4181:
The "Exec" task returned false but did not log an error.
6 Warning(s)
0 Error(s)

Time Elapsed 00:00:34.87

C:\temp\Python-3.11.4\PCbuild>

5. I copied the example
https://docs.python.org/3/extending/embedding.html#very-high-level-embedding,
unchanged, to 'C:\temp\embedded_python\main.c'.

6. I created Qt Creator project file 'C:\temp\embedded_python\
embedded_python.pro':

TEMPLATE = app
TARGET = embedded_python
SOURCES += main.c
PYTHON_DIR = C:/temp/Python-3.11.4
INCLUDEPATH += $${PYTHON_DIR}/Include
INCLUDEPATH += $${PYTHON_DIR}/PC
LIBS += $${PYTHON_DIR}/PCbuild/amd64/python311_d.lib

7. I built the project:

20:02:38: Running steps for project embedded_python...
20:02:38: Starting: "C:\Qt\6.1.3\msvc2019_64\bin\qmake.exe"
C:\temp\embedded_python\embedded_python.pro -spec win32-msvc
"CONFIG+=debug" "CONFIG-=qml_debug" "CONFIG-=qtquickcompiler"
Info: creating stash file
C:\temp\build-embedded_python-Desktop_Qt_6_1_3_MSVC2019_64bit-Debug\.qmake.stash
20:02:38: The process "C:\Qt\6.1.3\msvc2019_64\bin\qmake.exe" exited
normally.
20:02:38: Starting: "C:\Qt\Tools\QtCreator\bin\jom\jom.exe" -f
C:/temp/build-embedded_python-Desktop_Qt_6_1_3_MSVC2019_64bit-Debug/Makefile
qmake_all

jom 1.1.3 - empower your cores

20:02:38: The process "C:\Qt\Tools\QtCreator\bin\jom\jom.exe" exited
normally.
20:02:38: Starting: "C:\Qt\Tools\QtCreator\bin\jom\jom.exe"
C:\Qt\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Debug
cl -c -nologo -Zc:wchar_t -FS -Zc:strictStrings -Zi -MDd -utf-8 -W3 -w44456
-w44457 -w44458 /Fddebug\embedded_python.vc.pdb -DUNICODE -D_UNICODE
-DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_GUI_LIB
-DQT_CORE_LIB -I..\embedded_python -I. -I..\Python-3.11.4\Include
-I..\Python-3.11.4\PC -I..\..\Qt\6.1.3\msvc2019_64\include
-I..\..\Qt\6.1.3\msvc2019_64\include\QtGui
-I..\..\Qt\6.1.3\msvc2019_64\include\QtCore -Idebug -IC:/VulkanSDK/
1.0.51.0/Include -I..\..\Qt\6.1.3\msvc2019_64\mkspecs\win32-msvc -Fodebug\
@C:\Users\dave\AppData\Local\Temp\main.obj.21168.0.jom
main.c
..\embedded_python\main.c(12): warning C4996: 'Py_SetProgramName':
deprecated in 3.11
link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /SUBSYSTEM:WINDOWS
"/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls'
version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*'
processorArchitecture='*'" /MANIFEST:embed 

Re: Email list and part of website code

2023-06-22 Thread Fulian Wang via Python-list
A little confused about that I got the email list different. Sometimes has 
names and email address displayed on it, sometimes not . If I don’t follow the 
new list, just type python-l...@pythone.org
It's another different one with different name on it. that confuse me to know 
which one is new one. Anyone has other email list problems ?

Get Outlook for iOS<https://aka.ms/o0ukef>

From: Fulian Wang 
Sent: Thursday, June 22, 2023 12:35:20 PM
To: Cebtenzzre ; python-list@python.org 

Subject: Email list and part of website code

For technical knowledge, hestates.org is not available for the past 1-2 days.  
Now it should be available worldwide. I apologize for the inconvenience that
I cannot attach document of the code .py in the email . I want to, but failed 
on my devices
. Anyone is welcome to visit me , call me or mail me about website design 
.Please check it if you are available to see the text code :


I am a beginner to design my website, please help to check the website code. I 
already run it local successfully ,but want to make it richer and more variety. 
I need add a pdf document which was a published blog to temporals and other 
logo pictures to decorate it. Thank you


import wsgiref.simple_server

def application(environ, start_response):

  headers = [('Content-Type', 'text/html; charset=utf-8')]

  start_response('200 OK', headers)



  path = environ['PATH_INFO']

  hestates = ''

  if path == '/home':

  hestates = '''

  hestates Title

  

  https://www.churchofjesuschrist.org/?lang=eng;>The Church of 
Jesus Christ of Latter-day Saints

  https://www.churchofjesuschrist.org/?lang=zho;>耶�d基督後期�}徒教��

  Service Area商���^域Temporals�偈垃�例Contact Us��系我��

  

  https://content.churchofjesuschrist.org/templesldsorg/bc/Temples/photo-galleries/salt-lake-city-utah/2018/800x500/slctemple7.jpg;
 />

   In the temple of THE CHURCH of JESUS CHRIST of LATTER-DAY SAINTS, there 
is a sealing room to seal eternal marriage and family.The Doctrine of Eternal 
life, Marriage and Family is from Doctrine and Covenants 49:15�C17; 131:1�C4; 
and 132:1�C24. Adults can receive temple endowment as a gift from God which is 
addressed in Doctrine and Covenants 132:24 " This is eternal lives―to know the 
only wise and true God, and Jesus Christ, whom he hath sent. I am he. Receive 
ye, therefore, my law." As a member of THE CHURCH of JESUS CHRIST of LATTER-DAY 
SAINTS, Fulian believes that memories,heart, might,mind, strength,and soul are 
human being's precious estates. As an agent of real estate, Fulian prefers 
clients to buy or sell real estates with effective and positive 
communication

  
在耶�d基督後期�}徒教��的�}殿�Y,有一��印�C的房�g�碛∽C永恒的婚�s和家庭。永生,永恒的婚�s和家庭的教�x是�碜越塘x和�}�s的49:15�C17;
 131:1�C4;和132:1�C24.成年人可以接受�}殿恩道�T教�x,一���碜陨竦哪芰Φ亩髻n的祝福。具�w可��教�x和�}�s的132:24 
"�@就是永恒的�T生命――唯一智慧的真神,和他所差�淼囊��d基督。他是代表我。接受他也就是接受我的律法。"作�橐��d基督後期�}徒教��的一�T,付���J�橛���,心意,思�S,能力,力�夂挽`魂是人���F的�Y�a.作�橐��I���a���o人,付���A向於用�e�O有效的�贤ǚ绞��矸��铡��椭�客�糍��I或者�N售��人居住房�a。

  You are on hestates Home您在主面



  

  '''



  elif path == '/Service':

  hestates = '''

  hestates Title

  

  https://www.churchofjesuschrist.org/?lang=eng;>The Church of 
Jesus Christ of Latter-day Saints

  https://www.churchofjesuschrist.org/?lang=zho;>耶�d基督後期�}徒教��

  Home主��Temporals�偈垃�例Contact Us��系我��

  You are on Service Area您在商���^域��面

  WELLCOME CASH ,CHECK, EPAY, GIFT CARD OR THANKSGIVING

   You are welcome to ask any appropriate and legal help.

  欢迎使用Hestates.org.我们收取现金,支票,电子支付,礼品卡或致谢言.

   Website Design定�u�W站 First, find someone around 
you can help you in this service. If there is no appropriate service, Then 
talk首先建�h您雇�蚰�周��方便��面�贤ǖ摹H绻��]有再��系我��

   Website Hosting Service�W站托管Safe and effective 
service at multiple states in USA and 
China可以提供中��和美��2家多��不同省份的服�掌靼踩�有效的同�r服�眨�

   Personal Assistant私人小秘�� Any appropriate and 
legal help, for example: Website domain service,Travel.The art of traveling is 
opening your imagination box and expands memories, mind,might,heart, strength 
and soul. Help to plan your vacation and guidance your trip, reserve hotel, and 
flight package. Suggestion of the tours, cars and activities. 

  
我��承接任何合法合��的服�找�求。比如�W站域名服�眨�旅行服��.�W站域名就像您��人的名字一�佑幸饬x.旅行的���g在於想象力的印�C和�U展,�K�U充您的,增��您的��人魅力,提高您的智力,�S富您的�`魂。Hestates�湍�您的假期和�o航您的旅行,我��可以�湍��A定�e�^和�C票。�f助您�A�x目的地,租��和其他活�印�

  

  '''



  elif path == '/Temporals':

  hestates = '''

  hestates Title

  

  https://www.churchofjesuschrist.org/?lang=eng;>The Church of 
Jesus Christ of Latter-day Saints

  https://www.churchofjesuschrist.org/?lang=zho;>耶�d基督後期�}徒教��

  Home主��Service Area商���^域Contact Us��系我��

  You are on Temporals您在�偈垃�例��面

  You are on hestates 3

  Goodbye

  Go to hestates 1

  

  '''

  elif path == '/Contact':

  hestates = '''

  hestates Title

  

  https://www.churchofjesuschrist.org/?lang=eng;>The Church of 
Jesus Christ of Latter-day Saints


Re: [RELEASE] Python 3.12.0 beta 3 released

2023-06-20 Thread Fulian Wang via Python-list
I am a beginner to design my website, please check the website code. I already 
run it local ,but want to make it richer and more variety. I need add a pdf b 
log to temporals and other logo pictures to decorate it. Thank you:
import wsgiref.simple_server
import wsgiref.simple_server
' '.join(map(str,list(range(10
import random
random.choice(list(range(10)))


def application(environ, start_response):
headers = [('Content-Type', 'text/html; charset=utf-8')]
start_response('200 OK', headers)

path = environ['PATH_INFO']
hestates = ''
if path == '/home':
hestates = '''
hestates Title

https://www.churchofjesuschrist.org/?lang=eng;>The Church 
of Jesus Christ of Latter-day Saints
https://www.churchofjesuschrist.org/?lang=zho;>耶穌基督後期聖徒教會
Service Area商務區域Temporals屬世瑣例Contact Us聯系我們

https://content.churchofjesuschrist.org/templesldsorg/bc/Temples/photo-galleries/salt-lake-city-utah/2018/800x500/slctemple7.jpg;
 />
 In the temple of THE CHURCH of JESUS CHRIST of LATTER-DAY SAINTS, 
there is a sealing room to seal eternal marriage and family.The Doctrine of 
Eternal life, Marriage and Family is from Doctrine and Covenants 49:15–17; 
131:1–4; and 132:1–24. Adults can receive temple endowment as a gift  from God 
which is addressed in Doctrine and Covenants  132:24  " This is eternal 
lives—to know the only wise and true God, and Jesus Christ, whom he hath sent. 
I am he. Receive ye, therefore, my law." As a member of THE CHURCH of JESUS 
CHRIST of LATTER-DAY SAINTS, Fulian believes that  memories,heart, might,mind, 
strength,and soul are human being's precious estates. As an agent of real 
estate, Fulian prefers  clients to buy or sell  real estates with effective and 
positive communication
在耶穌基督後期聖徒教會的聖殿裏,有一個印證的房間來印證永恒的婚約和家庭。永生,永恒的婚約和家庭的教義是來自教義和聖約的49:15–17; 
131:1–4; 和 132:1–24. 成年人可以接受聖殿恩道門教義,一項來自神的能力的恩賜的祝福。具體可見教義和聖約的132:24  
"這就是永恒的諸生命——唯一智慧的真神,和他所差來的耶穌基督。他是代表我。接受他也就是接受我的律法。"  
作為耶穌基督後期聖徒教會的一員,付蓮認為記憶,心意,思維, 
能力,力氣和靈魂是人寶貴的資產.作為一個實業財產經紀人,付蓮傾向於用積極有效的溝通方式來服務。幫助客戶購買或者銷售個人居住房產。
You are on hestates Home您在主頁頁面


'''

elif path == '/Service':
hestates = '''
hestates Title

https://www.churchofjesuschrist.org/?lang=eng;>The Church 
of Jesus Christ of Latter-day Saints
https://www.churchofjesuschrist.org/?lang=zho;>耶穌基督後期聖徒教會
Home主頁 Temporals屬世瑣例Contact Us聯系我們
You are on Service Area您在商務區域頁面
WELLCOME CASH ,CHECK, EPAY, GIFT CARD OR THANKSGIVING
 You are welcome to ask any appropriate and legal help.
 欢迎使用Hestates.org.我们收取 现金,支票,电子支付,礼品卡或致谢言.
 Website Design 定製網站 First, find someone 
around you can help you in this service. If there is no appropriate service, 
Then talk 首先建議您雇傭您周邊方便見面溝通的。如果沒有再聯系我們
 Website Hosting Service 網站托管Safe and 
effective service at multiple states in USA and China  
可以提供中國和美國2個國家多個不同省份的服務器安全有效的同時服務, 
 Personal Assistant 私人小秘書 Any appropriate 
and legal help, for example: Website domain service,Travel.The art of traveling 
is opening your imagination box and expands memories, mind,might,heart, 
strength and soul.  Help to plan your vacation and guidance your trip, reserve 
hotel, and flight package. Suggestion of the tours, cars and activities. 
 
我們承接任何合法合規的服務要求。比如網站域名服務,旅行服務.網站域名就像您個人的名字一樣有意義.旅行的藝術在於想象力的印證和擴展,並擴充您的記憶,增強您的個人魅力,提高您的智力,豐富您的靈魂。Hestates
 幫您計劃您的假期 和護航您的旅行,我們可以幫您預定賓館和機票。協助您預選目的地,租車和其他活動。

'''

elif path == '/Temporals':
hestates = '''
hestates Title

https://www.churchofjesuschrist.org/?lang=eng;>The Church 
of Jesus Christ of Latter-day Saints
https://www.churchofjesuschrist.org/?lang=zho;>耶穌基督後期聖徒教會
Home主頁 Service 
Area商務區域Contact Us聯系我們
You are on Temporals您在屬世瑣例頁面
You are on hestates 3
Goodbye
Go to hestates 1

'''
elif path == '/Contact':
hestates = '''
hestates Title

https://www.churchofjesuschrist.org/?lang=eng;>The Church 
of Jesus Christ of Latter-day Saints
https://www.churchofjesuschrist.org/?lang=zho;>耶穌基督後期聖徒教會
Home主頁 Service 
Area商務區域Temporals屬世瑣例
You are on Contact Us您在聯系我們頁面

We are always here to serve you when you need
我們一直致力於客戶所需
please visit, call, text, and mail
請面談,電話,短信和郵件
Meet (832)208-3196esta...@hestates.org
What is it that feed you? What is the meaning of life? Hestates.org 
values every unique and precious person.Please enjoy, rest, learn, share and 
help Hestates.org better. 
您有關註自己的成長嗎?您有思考過生命的意義嗎?Hestates.org 
相信每個人都是獨一無二的珍貴的個體。希望您能喜歡Hestates.org,並從中有所學習,有所安息,也歡迎分享於其他人,並幫助Hestates.org更好! 



'''


return [hestates.encode()]

httpd = wsgiref.simple_server.make_server('', 8000, application)
httpd.serve_forever()

Sent from 

Re: any author you find very good has written a book on Python?

2022-09-09 Thread Fulian Wang
Python is an appropriate computer language for kids and teenagers. A very good 
book for beginners: Invent Your Own computer games with Python
Author: Al Sweigart
It's free online, but it's worth to have one.

Get Outlook for iOS

From: Python-list  on 
behalf of Tim Daneliuk via Python-list 
Sent: Wednesday, September 7, 2022 12:39:25 PM
To: python-list@python.org 
Subject: Re: any author you find very good has written a book on Python?

On 9/5/22 21:22, Meredith Montgomery wrote:
> I never read a book on Python.  I'm looking for a good one now.  I just
> searched the web for names such as Charles Petzold, but it looks like he
> never wrote a book on Python.  I also searched for Peter Seibel, but he
> also never did.  I also tried to search for Richard Heathfield.  (I took
> a look at his ``C Unleashed'' once and I liked what I saw.)  This is how
> I search for books --- I go through the authors first.  Charles Petzold,
> for instance, anything he writes is worth reading it.  (Have you given
> his Annotated Turing a shot?  It's a very nice read.)
>
> So that's my request --- any author you find very good has written a
> book on Python?
>
> It could be for in a certain specific context.  For instance, I also
> searched for Hadley Wickham in the hope that he could have written a
> data-science-type of book using Python.  I like his writing a lot, but
> he also only seems to have written only for the R language.
>
> Thank you!

David Beazley

--
https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Question about learning Python

2022-09-09 Thread Fulian Wang
Python is an appropriate computer language for kids and teenagers. A very good 
book for beginners: Invent Your Own computer games with Python
Author: Al Sweigart
It's free online, but it's worth to have one.

Get Outlook for iOS

From: Python-list  on 
behalf of avi.e.gr...@gmail.com 
Sent: Wednesday, September 7, 2022 7:32:11 PM
To: python-list@python.org 
Subject: RE: Question about learning Python

Chris,

I started with BASIC in high school and kept shifting my focus from one
computer language to another long before I even looked at Python.

Arguably each language had a REASON for existing so it supported some ideas
or paradigms or ways of looking at things. Many at first were rather focused
on doing one or a few things well, and others not so well or not at all. No
need to rehash it.

In a sense, many modern languages can be viewed as containing multiple
overlapping modules which collectively do all kinds of things in many ways
and can do whatever many earlier initial releases of earlier languages did,
sometimes better but also sometimes slower. If you look at Python as a base
and added modules, it can do all the mathematical things of say FORTRAN,
manipulate text and produce reports and on and on. But it also can NOT do
things done in basic, or at least not easily, like subroutines and goto's
that are associated with a more primitive way to solve problems.

Is there any purpose in teaching new students how to structure your code so
that you use such methods? Well, maybe. I mean we have all kinds of slightly
hidden ways to do a GOTO in some languages such as breaking out of a nested
loop. Underneath it all, an IF/THEN/ELSE type of statement has regions you
jump between. But arguably it is helpful to see operations on a higher level
and leave the details of how it is accomplished in well tested code within
the interpreter or compiler.

C was designed on purpose to do some things that a language like PASCAL was
designed not to allow or make easy. Both started off though as fairly simple
languages that did things somewhat linearly. You can obviously emulate many
things using a simplified subset of Python that would allow programs in
those languages to be done. If that is all you want to learn, fine. But if
your goal is to make use of OO and functional programming and other
paradigms supported, ...

As I posted elsewhere, I ask why the questioner specifically mentioned C. I
also use R and there too, C is only needed if you want to speed up some
function by writing parts in their version of C or C++. The fact that many
interpreters are written (or sometimes were written) in C is not really
relevant.


-Original Message-
From: Python-list  On
Behalf Of Chris Angelico
Sent: Wednesday, September 7, 2022 2:58 PM
To: python-list@python.org
Subject: Re: Question about learning Python

On Thu, 8 Sept 2022 at 04:54, Grant Edwards 
wrote:
>
> On 2022-09-07, Chris Angelico  wrote:
> > On Thu, 8 Sept 2022 at 01:50, Maruful Islam 
wrote:
> >>
> >> I want to start learning python. I have a question about learning
python.
> >>
> >> Is learning C essential or not for learning python?
> >
> > Absolutely not essential. In fact, I would strongly recommend
> > learning Python before ever picking up C, as it's much easier to
> > mess around in Python.
>
> If you're a beginning programmer, then IMO learning C first is
> probably detrimental. C has quite a few quirks and pitfalls that will
> a) frustrate you and waste time, and b) influence your way of thinking
> about programs in a way that will be unhelpful for higher level
> languages.

Not as detrimental as starting with BASIC, and then moving on to x86
assembly language, and trying to massage the two together using CALL
ABSOLUTE in order to get mouse input in your GW-BASIC programs.

Don't be me, folks.

ChrisA
--
https://mail.python.org/mailman/listinfo/python-list

--
https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: INSTALLATION DOES NOT WORK FRO GITBASH COMMAND LINE

2022-08-26 Thread Fulian Wang
Same to me. I watched the videos online about how to find it. All failed. 
Finally,I got it accidentally. You just input “command “at the screen of your 
computer. It is at the bottom of screen and next to windows logo. There is a” 
Type here to search “ . You type” command” then hit “enter” . “Command Prompt “ 
is out.
The picture is attached.

Get Outlook for iOS

From: Python-list  on 
behalf of Mats Wichmann 
Sent: Wednesday, August 24, 2022 8:22:42 AM
To: python-list@python.org 
Subject: Re: INSTALLATION DOES NOT WORK FRO GITBASH COMMAND LINE

On 8/23/22 05:00, Gladstone Rose wrote:
> Why is my installation of Python does not work at the command line for git 
> bash.
>
> I get the following message
> bash: python3: command not found

The git bash package for Windows is built from msys2, a GNU/Linux type
environment which is only provisioned with tools that are deemed
necessary for the operation of git. Which happens not to include Python.
You can add it there, although it's not entirely trivial, because the
git-bash setup also doesn't include the pacman package manager, which
would make the install trivial.

--
https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list