Re: Issue with python365.chm on window 7
On 4/24/18 2:10 AM, Bob Martin wrote: Senior Software Engineer? Seriously? What is the point of this comment? We can be more respectful than this. --Ned. -- https://mail.python.org/mailman/listinfo/python-list
Re: Issue with python365.chm on window 7
On Monday, April 23, 2018 at 7:38:04 PM UTC-3, Terry Reedy wrote: > I installed python.org 64-bit 3.6.5 on Win 10 with the .exe installer. > I run it by clicking on Python 3.6 => Python 3.6 Manuals in the Win10 > version of what was Start Menu. The icon is a notebook page with > question mark. Window like it has for over a decade, with sidebar on left. > > If anyone else has 3.6.5 (the latest 3.6) on Win 7, what to you see? I did the same, and see the same, as Terry. I'm using Windows 7 Enterprise. HTH, Steve J. Martin -- https://mail.python.org/mailman/listinfo/python-list
Re: Issue with python365.chm on window 7
see my comments below denoted by + From: Terry Reedy To: python-list@python.org Date: 04/23/2018 06:45 PM Subject:Re: Issue with python365.chm on window 7 Sent by:"Python-list" This is a good place to start. > But I downloaded .chm version of the Python guide and found that it is not > working in windows 7 How did you download it? I downloaded it from the https://www.python.org/downloads/release/python-364/ site How did you try to make it 'work'? Nothing yet What did it do instead? Used the web resources... but I am looking for an offline resources. I anticipate I will be in an area that I will not have access to the internet soon. Have you successfully run Python Windows Help before? I have used windows help files before and they work fine. In fact I can user the windows help file that came installed with version of python. the one that I download of the web site is the problem. I installed python.org 64-bit 3.6.5 on Win 10 with the .exe installer. I run it by clicking on Python 3.6 => Python 3.6 Manuals in the Win10 version of what was Start Menu. The icon is a notebook page with question mark. Window like it has for over a decade, with sidebar on left. If anyone else has 3.6.5 (the latest 3.6) on Win 7, what to you see? if I go that route above I can see a working help file on windows which is a successful workround for me. the one you download from the website by itself I still cannot open. -- Terry Jan Reedy -- https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.python.org_mailman_listinfo_python-2Dlist&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=3-xCv_9fHD4qEMBICdrDmpWXQjchU-G2EWkEPa84asc&m=9cqQ_q_K0jhhqy_GlOHSaApBxOjA_KliaKwffBFsna4&s=P2PPb7UlduE9v_e41k2s_qBM2WRlzEzIv2nNRSGuZzQ&e= -- https://mail.python.org/mailman/listinfo/python-list
Re: Issue with python365.chm on window 7
Did you download it form the web? https://www.python.org/downloads/release/python-364/ That is the one not working. I id not know about the .chm that was installed with the product until this morning. Thank you, Brian Gibbemeyer Sr Software Engineer Watson Health - Value Based Care Phone: 1-7349133594 | Mobile: 1-7347258319 E-mail: bgibb...@us.ibm.com 100 Phoenix Dr Ann Arbor, MI 48108-2202 United States From: sjms...@gmail.com To: python-list@python.org Date: 04/24/2018 08:15 AM Subject:Re: Issue with python365.chm on window 7 Sent by:"Python-list" On Monday, April 23, 2018 at 7:38:04 PM UTC-3, Terry Reedy wrote: > I installed python.org 64-bit 3.6.5 on Win 10 with the .exe installer. > I run it by clicking on Python 3.6 => Python 3.6 Manuals in the Win10 > version of what was Start Menu. The icon is a notebook page with > question mark. Window like it has for over a decade, with sidebar on left. > > If anyone else has 3.6.5 (the latest 3.6) on Win 7, what to you see? I did the same, and see the same, as Terry. I'm using Windows 7 Enterprise. HTH, Steve J. Martin -- https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.python.org_mailman_listinfo_python-2Dlist&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=3-xCv_9fHD4qEMBICdrDmpWXQjchU-G2EWkEPa84asc&m=fQCIrR9hVbtFYIQQdyKKK0s2VSUhYApkQlWdS_IEWbU&s=gHJgISCYbxPc2pymQnkJUNqNFHdbl9ZxFslMhaBZQfo&e= -- https://mail.python.org/mailman/listinfo/python-list
Re: Issue with python365.chm on window 7
Yes actually I am a Sr Software Engineer. I am not an expert in one language. I am pretty handy in picking up new concepts and applying the concepts to meet business demands.. I am just reporting a valid issue. I don't ever get to code in python, but I really respect the language. In this case. I need to automate the porting of tableau reports to different environments. I found that Python speaks to the rest apitherefore I get to code with python. I haven't touched python in 14 years. Normally I do not respond to these types of responses. Due to the power of relative anonymity on the internet, it just escalates out of control quickly and is usually not constructive. I type this up, not with the intent of embarrassing anyone or aggravating consummate professionals. However I can see this goes out to several people and possibly people who are new to the language. I do not want those new to the language or new to using forums to feel intimidated by jokes or negativity. This response is based on conversations I have had with new IT professionals on why they do not reach out to public forums. I am a proponent for using public forums, I would like to see more people use them, even those that do not have thick skins. Hence I responded. Perhaps I should have fully explained where I got the windows help file that would have been less confusing. But if the list would have posted the graphic that I attached to the original email it would have more self explanatory Bob if you can go to https://www.python.org/downloads/release/python-364/ And download the help file I have link below. https://www.python.org/ftp/python/3.6.4/python364.chm See if you can open that up and report back. I am not able however I can open the chm file that comes with python install. This is the graphic I sent. Bob Should be able to see it but the list will not Thank you, Brian Gibbemeyer Sr Software Engineer Watson Health - Value Based Care From: Bob Martin To: python-list@python.org Date: 04/24/2018 02:18 AM Subject:Re: Issue with python365.chm on window 7 Sent by:"Python-list" in 793268 20180423 223830 "Brian Gibbemeyer" wrote: >From: Brian Gibbemeyer/Detroit/IBM >To: python-list@python.org, d...@python.org >Date: 04/23/2018 03:35 PM >Subject:Issue with python365.chm on window 7 > > >Not sure which email this should go to. > >But I downloaded .chm version of the Python guide and found that it is not = > >working in windows 7 > > > > > > >Thank you, > >Brian Gibbemeyer >Sr Software Engineer >Watson Health - Value Based Care > > > >100 Phoenix Dr >Ann Arbor, MI 48108-2202 >United States Senior Software Engineer? Seriously? -- https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.python.org_mailman_listinfo_python-2Dlist&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=3-xCv_9fHD4qEMBICdrDmpWXQjchU-G2EWkEPa84asc&m=yS6loF1Uy_1ajZRgtVlMN0F-X324M9-f8bd8FKvGcuA&s=8Ypfxosghco_KKiWJ6qJIuNmErlEG9xSIoV2rveHQvA&e= -- https://mail.python.org/mailman/listinfo/python-list
Scripts folder empty in a repaired python install
Hi, Yesterday I installed python 3.6.5 64 bit in the same directory as my existing python 3.6.5 32 bit hoping that the former will replace the later. After the installation, it was the 32 bit python that was still active on my windows 10 machine. So I uninstalled python using the control panel and manually removed other left over folder from c-drive. I now re-installed the 64 bit version again using option 'repair'. The install was successful but the 'Scripts' folder was empty so I couldn't use pip. Please what is the best way of getting pip back? Kind regards, Musa Mohamma -- https://mail.python.org/mailman/listinfo/python-list
Re: Issue with python365.chm on window 7
The links without the url defense wrappers https://www.python.org/downloads/release/python-365/ https://www.python.org/ftp/python/3.6.5/python365.chm Thank you, Brian Gibbemeyer Sr Software Engineer Watson Health - Value Based Care From: "Brian Gibbemeyer" To: Bob Martin Cc: python-list@python.org Date: 04/24/2018 10:26 AM Subject:Re: Issue with python365.chm on window 7 Sent by:"Python-list" Yes actually I am a Sr Software Engineer. I am not an expert in one language. I am pretty handy in picking up new concepts and applying the concepts to meet business demands.. I am just reporting a valid issue. I don't ever get to code in python, but I really respect the language. In this case. I need to automate the porting of tableau reports to different environments. I found that Python speaks to the rest apitherefore I get to code with python. I haven't touched python in 14 years. Normally I do not respond to these types of responses. Due to the power of relative anonymity on the internet, it just escalates out of control quickly and is usually not constructive. I type this up, not with the intent of embarrassing anyone or aggravating consummate professionals. However I can see this goes out to several people and possibly people who are new to the language. I do not want those new to the language or new to using forums to feel intimidated by jokes or negativity. This response is based on conversations I have had with new IT professionals on why they do not reach out to public forums. I am a proponent for using public forums, I would like to see more people use them, even those that do not have thick skins. Hence I responded. Perhaps I should have fully explained where I got the windows help file that would have been less confusing. But if the list would have posted the graphic that I attached to the original email it would have more self explanatory Bob if you can go to https://urldefense.proofpoint.com/v2/url?u=https-3A__www.python.org_downloads_release_python-2D364_&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=3-xCv_9fHD4qEMBICdrDmpWXQjchU-G2EWkEPa84asc&m=6QKvk2OAsvUYyrRzkwK4FSHqREtMQevyi9D6dMGPG0c&s=zpwTrS4mGqnpszzsNnYgQ_ydH8y3Q4d9Lz0CPLuwa6E&e= And download the help file I have link below. https://urldefense.proofpoint.com/v2/url?u=https-3A__www.python.org_ftp_python_3.6.4_python364.chm&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=3-xCv_9fHD4qEMBICdrDmpWXQjchU-G2EWkEPa84asc&m=6QKvk2OAsvUYyrRzkwK4FSHqREtMQevyi9D6dMGPG0c&s=RWWyXltMIErykj4fbUCCarJlmazo7AR1Xt6BP7wZHBk&e= See if you can open that up and report back. I am not able however I can open the chm file that comes with python install. This is the graphic I sent. Bob Should be able to see it but the list will not Thank you, Brian Gibbemeyer Sr Software Engineer Watson Health - Value Based Care From: Bob Martin To: python-list@python.org Date: 04/24/2018 02:18 AM Subject:Re: Issue with python365.chm on window 7 Sent by:"Python-list" in 793268 20180423 223830 "Brian Gibbemeyer" wrote: >From: Brian Gibbemeyer/Detroit/IBM >To: python-list@python.org, d...@python.org >Date: 04/23/2018 03:35 PM >Subject:Issue with python365.chm on window 7 > > >Not sure which email this should go to. > >But I downloaded .chm version of the Python guide and found that it is not = > >working in windows 7 > > > > > > >Thank you, > >Brian Gibbemeyer >Sr Software Engineer >Watson Health - Value Based Care > > > >100 Phoenix Dr >Ann Arbor, MI 48108-2202 >United States Senior Software Engineer? Seriously? -- https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.python.org_mailman_listinfo_python-2Dlist&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=3-xCv_9fHD4qEMBICdrDmpWXQjchU-G2EWkEPa84asc&m=yS6loF1Uy_1ajZRgtVlMN0F-X324M9-f8bd8FKvGcuA&s=8Ypfxosghco_KKiWJ6qJIuNmErlEG9xSIoV2rveHQvA&e= -- https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.python.org_mailman_listinfo_python-2Dlist&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=3-xCv_9fHD4qEMBICdrDmpWXQjchU-G2EWkEPa84asc&m=6QKvk2OAsvUYyrRzkwK4FSHqREtMQevyi9D6dMGPG0c&s=2M9mlm3p8rexnbkiCWbOCuddNnYDP-ZOweXtmrHsgKg&e= -- https://mail.python.org/mailman/listinfo/python-list
Re: Issue with python365.chm on window 7
On Wed, Apr 25, 2018 at 12:15 AM, Brian Gibbemeyer wrote: > Yes actually I am a Sr Software Engineer. I am not an expert in one > language. I am pretty handy in picking up new concepts and applying the > concepts to meet business demands.. > I am just reporting a valid issue. > I don't ever get to code in python, but I really respect the language. > People will insult you for anything and everything. Sometimes with good cause... sometimes without. Personally, I respect someone for being willing to ask for help, rather than thinking "I'm such an amazing person, I shouldn't need help". None of us is perfect, all of us are learning. Though if you want to win favour with the Python community, there are a few easy things you can do. One is to avoid top-posting: take the quoted text from the message you're replying to, trim it down to just the parts you need, and then put your responses underneath. Top-posting (leaving all the quoted text underneath, and then putting your response above) tends to be frowned upon in most tech newsgroups/mailing lists. Regarding your original query - the .CHM file is a downloadable version of the same documentation that can be viewed on the web. Do you have a particular need for offline viewing? If not, I would definitely recommend using the web version; that way, if it gets updated (eg to clarify some wording or improve an example), you'll get the update. ChrisA -- https://mail.python.org/mailman/listinfo/python-list
Re: Issue with python365.chm on window 7
On 04/24/2018 07:15 AM, Brian Gibbemeyer wrote: I found that Python speaks to the rest apitherefore I get to code with python. I haven't touched python in 14 years. Welcome back! :) Normally I do not respond to these types of responses. Due to the power of relative anonymity on the internet, it just escalates out of control quickly and is usually not constructive. Hopefully Bob was just having a bad day. I know it's happened to me. Thank you for your respectful reply. But if the list would have posted the graphic that I attached to the original email it would have more self explanatory This is a text-only mailing list, not a web forum. Graphics are stripped. Bob if you can go to https://www.python.org/downloads/release/python-364/ And download the help file I have link below. https://www.python.org/ftp/python/3.6.4/python364.chm See if you can open that up and report back. Downloaded, opened: I see the topics on the left, but the main frame is empty; it stays empty no matter which topic I click on. Windows 7 Pro, Service Pack 1 Windows 10 Pro -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list
Re: Issue with python365.chm on window 7
I understand that. I have seen great repositories of information dry up because of this. Folks got tired of infighting and brought the servers down. I do realize that responding to this adds to the problem. Thanks for the advice on top posting, I will follow it from now on. Yes I have a need for offline. I frequently visit spots without access to internet or even cell reception (Farm Country) I am actually all set with the version of the file in the installed version of python. From: Chris Angelico To: Python Date: 04/24/2018 11:01 AM Subject:Re: Issue with python365.chm on window 7 Sent by:"Python-list" On Wed, Apr 25, 2018 at 12:15 AM, Brian Gibbemeyer wrote: > Yes actually I am a Sr Software Engineer. I am not an expert in one > language. I am pretty handy in picking up new concepts and applying the > concepts to meet business demands.. > I am just reporting a valid issue. > I don't ever get to code in python, but I really respect the language. > People will insult you for anything and everything. Sometimes with good cause... sometimes without. Personally, I respect someone for being willing to ask for help, rather than thinking "I'm such an amazing person, I shouldn't need help". None of us is perfect, all of us are learning. Though if you want to win favour with the Python community, there are a few easy things you can do. One is to avoid top-posting: take the quoted text from the message you're replying to, trim it down to just the parts you need, and then put your responses underneath. Top-posting (leaving all the quoted text underneath, and then putting your response above) tends to be frowned upon in most tech newsgroups/mailing lists. Regarding your original query - the .CHM file is a downloadable version of the same documentation that can be viewed on the web. Do you have a particular need for offline viewing? If not, I would definitely recommend using the web version; that way, if it gets updated (eg to clarify some wording or improve an example), you'll get the update. ChrisA -- https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.python.org_mailman_listinfo_python-2Dlist&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=3-xCv_9fHD4qEMBICdrDmpWXQjchU-G2EWkEPa84asc&m=JCWLvv93inkrQynzX75G7yAOVQfIOWDmQk50w80T578&s=mAW2RoRLPaTGs7Fez49IhLvRTSy3I1FPfHsuoJ2sXCA&e= -- https://mail.python.org/mailman/listinfo/python-list
Re: Issue with python365.chm on window 7
Thank you, feels good to be back. Since the picture won't go through let me explain the I see The file at https://www.python.org/ftp/python/3.6.4/python364.chm Loads up into a window help container. Looks normal but if if I try to click on one of the index branches on the left hand side, nothing appears in the right pane. From: Ethan Furman To: python-list@python.org Date: 04/24/2018 11:31 AM Subject:Re: Issue with python365.chm on window 7 Sent by:"Python-list" On 04/24/2018 07:15 AM, Brian Gibbemeyer wrote: > I found that Python speaks to the rest apitherefore I get to code with > python. I haven't touched python in 14 years. Welcome back! :) > Normally I do not respond to these types of responses. Due to the power of > relative anonymity on the internet, it just escalates out of control > quickly and is usually not constructive. Hopefully Bob was just having a bad day. I know it's happened to me. Thank you for your respectful reply. > But if the list would have posted the graphic that I attached to the > original email it would have more self explanatory This is a text-only mailing list, not a web forum. Graphics are stripped. > Bob if you can go to > https://urldefense.proofpoint.com/v2/url?u=https-3A__www.python.org_downloads_release_python-2D364_&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=3-xCv_9fHD4qEMBICdrDmpWXQjchU-G2EWkEPa84asc&m=Lqd4Q1H0B7dhLZtfdHwoEFQFJkgaTXOYH0axA4T1p44&s=cy3Qx7XVml3FlwR_r5FAGCQdNxr79tEaVb7-SRHfjpY&e= > > > And download the help file > > I have link below. > > https://urldefense.proofpoint.com/v2/url?u=https-3A__www.python.org_ftp_python_3.6.4_python364.chm&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=3-xCv_9fHD4qEMBICdrDmpWXQjchU-G2EWkEPa84asc&m=Lqd4Q1H0B7dhLZtfdHwoEFQFJkgaTXOYH0axA4T1p44&s=XwGHjV37PtHSTaAeJPWmYskbS2tNxY7Pw7mAbPtPd0g&e= > > See if you can open that up and report back. Downloaded, opened: I see the topics on the left, but the main frame is empty; it stays empty no matter which topic I click on. Windows 7 Pro, Service Pack 1 Windows 10 Pro -- ~Ethan~ -- https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.python.org_mailman_listinfo_python-2Dlist&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=3-xCv_9fHD4qEMBICdrDmpWXQjchU-G2EWkEPa84asc&m=Lqd4Q1H0B7dhLZtfdHwoEFQFJkgaTXOYH0axA4T1p44&s=oTm1nyiNb9GAzW-chAlciPWZTx9ZTPAUCssQ-jA5EI8&e= -- https://mail.python.org/mailman/listinfo/python-list
RE: Issue with python365.chm on window 7
-Original Message- From: Python-list On Behalf Of Brian Gibbemeyer Sent: Tuesday, April 24, 2018 11:01 AM To: Ethan Furman Cc: python-list@python.org Subject: Re: Issue with python365.chm on window 7 > The file at > https://www.python.org/ftp/python/3.6.4/python364.chm > > Loads up into a window help container. Looks normal > but if if I try to click on one of the index branches on the left hand > side, nothing appears in the right pane. Right click it, choose unblock then click ok. -- https://mail.python.org/mailman/listinfo/python-list
RE: Issue with python365.chm on window 7
I right clicked on the file, no option to unblock. I right clicked on the right pane: no right click menu. I tried clicking on internet options within help menu under the options icon in the ribbon and that leads to nowhere. I can open the one that came with the python installation... no issue. The stand alone .chm one downloaded from the web on other hand I get this issue. From: "Joseph L. Casale" To: "python-list@python.org" Date: 04/24/2018 02:22 PM Subject:RE: Issue with python365.chm on window 7 Sent by:"Python-list" -Original Message- From: Python-list On Behalf Of Brian Gibbemeyer Sent: Tuesday, April 24, 2018 11:01 AM To: Ethan Furman Cc: python-list@python.org Subject: Re: Issue with python365.chm on window 7 > The file at > https://urldefense.proofpoint.com/v2/url?u=https-3A__www.python.org_ftp_python_3.6.4_python364.chm&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=3-xCv_9fHD4qEMBICdrDmpWXQjchU-G2EWkEPa84asc&m=LcE1CA9huFP5ZyzN1wDusn8136RgALyZLGZWaTeuojE&s=MqkO6BqWXLOSzDtJ-jE-0n2tbixWRnTZciwI0OqrZHI&e= > > Loads up into a window help container. Looks normal > but if if I try to click on one of the index branches on the left hand > side, nothing appears in the right pane. Right click it, choose unblock then click ok. -- https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.python.org_mailman_listinfo_python-2Dlist&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=3-xCv_9fHD4qEMBICdrDmpWXQjchU-G2EWkEPa84asc&m=LcE1CA9huFP5ZyzN1wDusn8136RgALyZLGZWaTeuojE&s=pvJcd9T8TeyuwTC4E7yqdttb1ld6UUj7s9mJSCfHmZo&e= -- https://mail.python.org/mailman/listinfo/python-list
RE: Python installation - fatal error
Hi, I am a new user to Python and was trying to install version 3.6.5 (on a Windows 7 64-bit machine). However, I installed a different version by mistake and had to uninstall it. Then I tried installing version 3.6.5 using the .exe file, and it returns a fatal error (log in attachment). Can I request your help in sorting this out? Thank you. Best Babu [1F98:1CE0][2018-04-24T16:37:10]i001: Burn v3.10.3.3007, Windows v6.1 (Build 7601: Service Pack 1), path: C:\Users\NAGEND~1.CWT\AppData\Local\Temp\{8DFCE3D6-3016-431A-9581-DA2071E8583E}\.cr\python-3.6.5-amd64.exe [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 'ActionLikeInstalling' to value 'Installing' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 'ActionLikeInstallation' to value 'Setup' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 'ShortVersion' to value '3.6' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 'ShortVersionNoDot' to value '36' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 'WinVer' to value '3.6' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 'WinVerNoDot' to value '36' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 'InstallAllUsers' to value '0' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 'InstallLauncherAllUsers' to value '1' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 'TargetDir' to value '' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 'DefaultAllUsersTargetDir' to value '[ProgramFiles64Folder]Python[WinVerNoDot]' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 'TargetPlatform' to value 'x64' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 'DefaultJustForMeTargetDir' to value '[LocalAppDataFolder]Programs\Python\Python[WinVerNoDot]' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 'OptionalFeaturesRegistryKey' to value 'Software\Python\PythonCore\[WinVer]\InstalledFeatures' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 'TargetDirRegistryKey' to value 'Software\Python\PythonCore\[WinVer]\InstallPath' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 'DefaultCustomTargetDir' to value '' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 'InstallAllUsersState' to value 'enabled' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 'InstallLauncherAllUsersState' to value 'enabled' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 'CustomInstallLauncherAllUsersState' to value '[InstallLauncherAllUsersState]' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 'TargetDirState' to value 'enabled' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 'CustomBrowseButtonState' to value 'enabled' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 'Include_core' to value '1' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 'Include_exe' to value '1' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 'Include_dev' to value '1' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 'Include_lib' to value '1' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 'Include_test' to value '1' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 'Include_doc' to value '1' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 'Include_tools' to value '1' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 'Include_tcltk' to value '1' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 'Include_pip' to value '1' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 'Include_launcher' to value '1' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 'Include_launcherState' to value 'enabled' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 'Include_symbols' to value '0' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 'Include_debug' to value '0' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 'LauncherOnly' to value '0' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 'DetectedLauncher' to value '0' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 'DetectedOldLauncher' to value '0' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 'AssociateFiles' to value '1' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 'Shortcuts' to value '1' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 'PrependPath' to value '0' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 'CompileAll' to value '0' [1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 'SimpleInstall' to value '0' [1F98:1CE0][
Re: Issue with python365.chm on window 7
[redirecting to list] On 04/24/2018 09:42 AM, Erik Martinson wrote: CHM files have a long history of security issues. Windows blocks them by default. To fix, right-click on the file and go to properties. In the security section, click the box that says Unblock. - Erik -- https://mail.python.org/mailman/listinfo/python-list
RE: Issue with python365.chm on window 7
From: Brian Gibbemeyer Sent: Tuesday, April 24, 2018 12:36 PM To: Joseph L. Casale Cc: python-list@python.org Subject: RE: Issue with python365.chm on window 7 > I right clicked on the file, no option to unblock. Sorry, choose properties, then unblock. -- https://mail.python.org/mailman/listinfo/python-list
Re: Issue with python365.chm on window 7
On 24/04/2018 20:03, Ethan Furman wrote: [redirecting to list] On 04/24/2018 09:42 AM, Erik Martinson wrote: CHM files have a long history of security issues. Windows blocks them by default. To fix, right-click on the file and go to properties. In the security section, click the box that says Unblock. - Erik I've long had issues with .chm files not working including this one. Your fix worked (on Windows 7, you have to look at the General Properties tab, and the Unblock option is at the bottom. Clicking Unblock greys it out, then it's Apply or OK). But it seems unfriendly to say the least for a HELP file of all things to just flatly not work like without a word of explanation (or even This file is blocked; do you want to unblock it?) -- bartc -- https://mail.python.org/mailman/listinfo/python-list
Re: Issue with python365.chm on window 7
Thank you Ethan,,, that worked. Thank you, Brian Gibbemeyer Sr Software Engineer Watson Health - Value Based Care Phone: 1-7349133594 | Mobile: 1-7347258319 E-mail: bgibb...@us.ibm.com 100 Phoenix Dr Ann Arbor, MI 48108-2202 United States From: Ethan Furman To: Python Date: 04/24/2018 03:07 PM Subject:Re: Issue with python365.chm on window 7 Sent by:"Python-list" [redirecting to list] On 04/24/2018 09:42 AM, Erik Martinson wrote: > CHM files have a long history of security issues. Windows blocks them by default. To fix, right-click on the file and go > to properties. In the security section, click the box that says Unblock. > > - Erik -- https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.python.org_mailman_listinfo_python-2Dlist&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=3-xCv_9fHD4qEMBICdrDmpWXQjchU-G2EWkEPa84asc&m=gOy942YE0_GEt6R4tBR7vb8LOg2jMs2HyIxsPnSzXJA&s=v4JBVQidjl0E0IJXHgOlwosJo3Sn0HlmyQanu_oaKYE&e= -- https://mail.python.org/mailman/listinfo/python-list
Re: Issue with python365.chm on window 7
On 04/24/2018 12:38 PM, Brian Gibbemeyer wrote: Thank you Ethan,,, that worked. [redirecting thanks to Erik] Thanks, Erik! ;) -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list
RE: Issue with python365.chm on window 7
And thank you Joseph as well. Thank you, Brian Gibbemeyer Sr Software Engineer Watson Health - Value Based Care Phone: 1-7349133594 | Mobile: 1-7347258319 E-mail: bgibb...@us.ibm.com 100 Phoenix Dr Ann Arbor, MI 48108-2202 United States From: "Joseph L. Casale" To: "python-list@python.org" Date: 04/24/2018 03:10 PM Subject:RE: Issue with python365.chm on window 7 Sent by:"Python-list" From: Brian Gibbemeyer Sent: Tuesday, April 24, 2018 12:36 PM To: Joseph L. Casale Cc: python-list@python.org Subject: RE: Issue with python365.chm on window 7 > I right clicked on the file, no option to unblock. Sorry, choose properties, then unblock. -- https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.python.org_mailman_listinfo_python-2Dlist&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=3-xCv_9fHD4qEMBICdrDmpWXQjchU-G2EWkEPa84asc&m=wkVrh9lWm4PAn2tGJLdSc8WoVEYoujGhSqN0zu_UJTE&s=leGl4avLKj-zRfVJg2J2mH48zAHfD1jFACTKmC_AIoY&e= -- https://mail.python.org/mailman/listinfo/python-list
jilian to Gregorian date conversion error
Hi, i get the error message: an integer is required when i am try to convert from julian date to Gregorian date in my view.py, after i have query the db i want to convert the applied date from julian date to Gregorian date but i got the above error, convert_date=(datetime.date.fromordinal(rate.columns.date_applied)) sum, -- https://mail.python.org/mailman/listinfo/python-list
Minmax tictactoe :c Cannot understand why this does not work
class AiMove: def __init__(self): self.x = -1 self.y=-1 self.score = 0 def Imprimir(Matriz,n): for i in range(n): linea ="|" for j in range(n): if (Matriz[i][j] == 0): linea+=" " elif (Matriz[i][j]==- 1): linea+="X" elif (Matriz[i][j]== 1): linea+="O" linea+="|" print linea print "-" def Gameover(Matriz,n): #Condicion tablero lleno blancos=0; for i in range(n): contJfilas = 0 contCfilas = 0 contJcol = 0 contCcol = 0 for j in range(n): if(Matriz[i][j]==0): blancos = blancos + 1 if (Matriz[i][j]==1): contCfilas= contCfilas+1 elif(Matriz[i][j]==-1): contJfilas = contJfilas +1 if (Matriz[j][i]==1): contCcol= contCcol +1 elif (Matriz[j][i]==-1): contJcol= contJcol +1 #Condicion 3 en raya en fila o 3 en raya columna if (contJcol==3 or contJfilas ==3): return -1 elif (contCfilas==3 or contCcol ==3): return 1 if blancos == 16: return 2 else: return 0 def getMejorM(Matriz, player,n): rv = Gameover(Matriz,n) if(rv== 1): a = AiMove() a.score = 10 return a elif rv==-1: a = AiMove() a.score = -10 return a elif rv ==2: #Si es empate a = AiMove() return a movimientos = [] for i in range (n): for j in range (n): if(Matriz[i][j] == 0): movimiento = AiMove() movimiento.x = i movimiento.y = j Matriz[i][j] = player if (player == 1): movimiento.score = getMejorM(Matriz, -1,n).score else: movimiento.score = getMejorM(Matriz, 1,n).score movimientos.append(movimiento) Matriz[i][j] = 0 #Escoger auxb = 0 if player==1: mejorscore = -10 for i in range (len(movimientos)): if movimientos[i].score > mejorscore: auxb= i mejorscore = movimientos[i].score elif player==-1: peorscore = 10 for i in range (len(movimientos)): if movimientos[i].score < peorscore: auxb= i peorscore = movimientos[i].score #Retornar el mejor movimiento return movimientos[auxb] n=4 Matriz = [[0 for i in range(n)] for j in range(n)] for i in range(n): for j in range(n): Matriz[i][j] = 0 Imprimir(Matriz,n) while True: fila = int(raw_input("Ingresa casilla x: "))-1 columna = int(raw_input("Ingresa casilla y: "))-1 if (Matriz[fila][columna] == 0): Matriz[fila][columna] = -1 #Mover(Matriz,n) Imprimir(Matriz,n) bestM = AiMove() bestM = getMejorM(Matriz, 1, n) Matriz[bestM.x][bestM.y] = 1 Imprimir(Matriz,n) if Gameover(Matriz,n) != 0: break print "FIN" -- https://mail.python.org/mailman/listinfo/python-list
Re: jilian to Gregorian date conversion error
On 2018-04-24 23:37, sum abiut wrote: Hi, i get the error message: an integer is required when i am try to convert from julian date to Gregorian date in my view.py, after i have query the db i want to convert the applied date from julian date to Gregorian date but i got the above error, convert_date=(datetime.date.fromordinal(rate.columns.date_applied)) sum, datetime.date.fromordinal expects an integer, but the value of rate.columns.date_applied is not an integer. Also, the integer is interpreted as a "proleptic Gregorian ordinal", not a Julian date. -- https://mail.python.org/mailman/listinfo/python-list
Re: Minmax tictactoe :c Cannot understand why this does not work
You need a good lesson in "program documentation". Your code looks terrible--really! fifii.ge...@gmail.com wrote: class AiMove: def __init__(self): self.x = -1 self.y=-1 self.score = 0 def Imprimir(Matriz,n): for i in range(n): linea ="|" for j in range(n): if (Matriz[i][j] == 0): linea+=" " elif (Matriz[i][j]==- 1): linea+="X" elif (Matriz[i][j]== 1): linea+="O" linea+="|" print linea print "-" def Gameover(Matriz,n): #Condicion tablero lleno blancos=0; for i in range(n): contJfilas = 0 contCfilas = 0 contJcol = 0 contCcol = 0 for j in range(n): if(Matriz[i][j]==0): blancos = blancos + 1 if (Matriz[i][j]==1): contCfilas= contCfilas+1 elif(Matriz[i][j]==-1): contJfilas = contJfilas +1 if (Matriz[j][i]==1): contCcol= contCcol +1 elif (Matriz[j][i]==-1): contJcol= contJcol +1 #Condicion 3 en raya en fila o 3 en raya columna if (contJcol==3 or contJfilas ==3): return -1 elif (contCfilas==3 or contCcol ==3): return 1 if blancos == 16: return 2 else: return 0 def getMejorM(Matriz, player,n): rv = Gameover(Matriz,n) if(rv== 1): a = AiMove() a.score = 10 return a elif rv==-1: a = AiMove() a.score = -10 return a elif rv ==2: #Si es empate a = AiMove() return a movimientos = [] for i in range (n): for j in range (n): if(Matriz[i][j] == 0): movimiento = AiMove() movimiento.x = i movimiento.y = j Matriz[i][j] = player if (player == 1): movimiento.score = getMejorM(Matriz, -1,n).score else: movimiento.score = getMejorM(Matriz, 1,n).score movimientos.append(movimiento) Matriz[i][j] = 0 #Escoger auxb = 0 if player==1: mejorscore = -10 for i in range (len(movimientos)): if movimientos[i].score > mejorscore: auxb= i mejorscore = movimientos[i].score elif player==-1: peorscore = 10 for i in range (len(movimientos)): if movimientos[i].score < peorscore: auxb= i peorscore = movimientos[i].score #Retornar el mejor movimiento return movimientos[auxb] n=4 Matriz = [[0 for i in range(n)] for j in range(n)] for i in range(n): for j in range(n): Matriz[i][j] = 0 Imprimir(Matriz,n) while True: fila = int(raw_input("Ingresa casilla x: "))-1 columna = int(raw_input("Ingresa casilla y: "))-1 if (Matriz[fila][columna] == 0): Matriz[fila][columna] = -1 #Mover(Matriz,n) Imprimir(Matriz,n) bestM = AiMove() bestM = getMejorM(Matriz, 1, n) Matriz[bestM.x][bestM.y] = 1 Imprimir(Matriz,n) if Gameover(Matriz,n) != 0: break print "FIN" -- https://mail.python.org/mailman/listinfo/python-list
Re: jilian to Gregorian date conversion error
Thanks date example is 736788 in julian On Wed, Apr 25, 2018 at 12:34 PM, Dennis Lee Bieber wrote: > On Wed, 25 Apr 2018 00:55:39 +0100, MRAB > declaimed the following: > > > >Also, the integer is interpreted as a "proleptic Gregorian ordinal", not > >a Julian date. > > You didn't provide examples of the dates in question. > > https://en.wikipedia.org/wiki/Conversion_between_Julian_and_ > Gregorian_calendars > > Any date before 1582-10-15 is a "proleptic", since the Gregorian > calendar did not exist in those years. > > https://planetcalc.com/505/ > > https://www.amazon.com/Practical-Astronomy-Calculator-Peter-Duffett- > Smith/dp/0521356997/ref=sr_1_4?ie=UTF8&qid=1524619974&sr=8- > 4&keywords=astronomy+calculator > Has programs for converting between Julian and Gregorian (astronomical > definitions). > > > -- > Wulfraed Dennis Lee Bieber AF6VN > wlfr...@ix.netcom.comHTTP://wlfraed.home.netcom.com/ > > -- > https://mail.python.org/mailman/listinfo/python-list > -- https://mail.python.org/mailman/listinfo/python-list
How would you split project into 2 parts?
I need to split a project into 2 parts. To have one part as the main project and include the second one as a submodule. Those parts located at different parts of a project. I can see 2 ways how I can do that: 1. Use PyCharm Refactor->Move functionality. It works fine. It takes a module or a package, changes all project imports to a new namespace, sorts those imports according to pep8 (which is not necessary and seems there is no way to disable it). There are 2 problems with this approach: a. If I want to move a module to a new package I have to recreate manually whole dir tree. b. It's too slow. It takes nearly 1 hour to move a package with 11 modules into a new namespace. 2. I wrote a script. It has a mapping from an old_path to a new_path. I extract all namespaces from old_path and replace those with new_path namespaces by iterating over all *.py files from a project. I can use fileinput module to replace namespaces in inplace. And when it's done apply git mv for all specified path. I wonder if there any tool to do that about which I don't know? Do you see any problems with my approach? How would you do that? - Slava -- https://mail.python.org/mailman/listinfo/python-list