Introduction to solutions to Python unavailability

Source: Internet
Author: User

This article mainly introduces the causes of Python unavailability. If you encounter problems related to Python unavailability during computer learning, the following articles will address this problem, the solution provided in the actual operation process of this language.

TCL or Python are not available, shell is disabled. Some netizens said that the version was the same when I installed it today. I installed three or four versions, all of which were the same. Finally, I found the answer on CSDN.

Solution:

You can set python in admin-> Preferences-> wincvs. The Python unavailability refers to the location of your python virtual machine, which is generally the location of python2X. dll. In your case, it is the location of python24.dll. This file is usually found in your system file.

Tcl is generally found in the dlls sub-file shelf of the python file shelf. It is generally named tclxx. dll, And you are probably tcl84.dll. If python2.3 is installed, it is automatically found and does not need to be set. Set. WinCVS output window:

 
 
  1. Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on win32Tk is available,  
  2.  Tk-macros are enabledTCL is available,  
  3.  shell is enabled : help (select and press enter)   
  4.  

Post a few simple functions

 
 
  1. def ISOString2Time( s ):  
  2. '''  
  3. convert a ISO format time to second  
  4. from:2006-04-12 16:46:40 to:23123123  

The above is an introduction to the unavailable Python method. I hope you will gain some benefits.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.