Yahoo Αναζήτηση Διαδυκτίου

Αποτελέσματα Αναζήτησης

  1. 22 Ιουν 2013 · To run a python script in a python shell such as Idle or in a Django shell you can do the following using the exec() function. Exec() executes a code object argument. A code object in Python is simply compiled Python code.

  2. 16 Σεπ 2009 · type "python example.py" , you have to edit this using IDLE when it's not in interactive mode. If you're in python shell, file -> new window. Note that the example.py needs to be in the same directory as C:\python27, or whatever directory you have python installed.

  3. 16 Δεκ 2008 · the mysql-connecter-python is an open source Python library that can connect your python code to the MySQL data base in a few lines of code. And it is very compatible with the latest version of Python. After install the mysql-connector-python, you can connect to your MySQL database using the the following code snippet.

  4. 12 Μαρ 2013 · In Finder, go to IDLE in Applications (in the Python folder) as if you wanted to open it. Right click and select "show package contents". Open Contents, then open Resources.

  5. Python does not have such a mechanism. Prepend a # to each line to block comment. For more information see PEP 8. Most Python IDEs support a mechanism to do the block-commenting-with-hash-signs automatically for you. For example, in IDLE on my machine, it's Alt+3 and Alt+4.

  6. 17 Ιουν 2021 · Keysets are selected and customized on the Keys tab of the Settings dialog (Options => Configure IDLE). On the tab, the settings are called Comment Region and Uncomment Region . With the Classic Windows, Classic Unix, Classic Mac, and Classic OSX keysets, Alt-3 adds '##' at the beginning of a line or multiple lines if multiple are selected.

  7. I've downloaded & installed 3 versions of Python from python.org, but still it seems that the packages are not installed. Can anyone tell me how to install modules using IDLE on Windows 7. Versions I have - 2.7.8, 3.3.5, 3.4.2.

  8. I am just starting to learn Python and I am using Windows 10. I downloaded and installed Python 3.4.3. But everytime I open Python from my Desktop or from C:\\Python\\python.exe it just opens a black

  9. 17 Μαΐ 2021 · As seen in the title, I need some help installing NumPy using the official python IDLE. I am running Windows 10 on a Dell computer and I am not sure where to start. I have read through a very similar

  10. 27 Νοε 2010 · Up Arrow works only in Python command line. In IDLE (Python GUI) the defaults are: Alt-p : retrieves previous command matching what you have typed. Alt-n : retrieves next... In Python 2.7.9 for example, you can see/change the Action Keys selecting: Options -> Configure IDLE -> (Tab) Keys

  1. Γίνεται επίσης αναζήτηση για