En el Listado 15, usted puede observar que la función controla la existencia de/usr/lib/command-not-found y lo ejecuta como un script Python si ya existe.
You can see from Listing 16 that the function checks for the existence of/usr/lib/command-not-found and runs it as a Python script if it exists.
Este script en python se puede ejecutar desde máquinas Windows o Linux.
El script setup.py puede variar un poco en contenido a medida que usted navega entre repositorios Python populares.
The setup.py script can vary quite a bit in content as you browse around popular Python repositories.
Puede ver un ejemplo de cómo hacerlo en la muestra ScriptedInstaller python script en GitHub.
You can see an example of how to do this in the sample ScriptedInstaller python script on GitHub.
Este es el caso donde la función insert no exista todavía, y el script php debe ser incluido antes para que pueda funcionar.
This is the case where the insert function may not exist yet, and a php script must be included first to make it work.
En general, cuando un script Python se encuentra con una situación que no puede hacer frente, se genera una excepción.
In general, when a Python script encounters a situation that it cannot cope with, it raises an exception.
Si no desea ejecutar el script Python, puede agregar los campos manualmente en ArcGIS Pro.
If you don't want to run the Python script, you can add the fields manually in ArcGIS Pro.
En este tutorial, trabajaremos en varios ejemplos simples para que puedas iniciarte, pero existe mucha más documentación sobre los archivos de guion de Python disponible en esta wiki.
In this tutorial, we'll work on a couple of simple examples to get you started, but there is also much more documentation about python scripting available on this wiki.
Hola a todos, hoy vamos a crear el script mas sencillo que existe en python, el famoso hola mundo.
Hello everybody, today we are going to do the simplest Python script, the famous "hello world script".
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.
Înregistrează-te pentru a accesa mai multe exemple