Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

164
Views
Ipython notebook maneja comandos asincrónicos

Estoy trabajando en un cuaderno Jupyter para personalizar su custom.js Así que creé un botón en la barra de herramientas que ejecuta un comando Bash (por ejemplo: git pull) Funciona bien, así:

 if($(IPython.toolbar.selector.concat(' > #pull-repo')).length == 0){ IPython.toolbar.add_buttons_group([ { 'label' : 'pull repository', 'icon' : 'fa fa-angle-double-down', 'callback': function(){ code_input = "!git pull" var kernel = IPython.notebook.kernel; var msg_id = kernel.execute(code_input); } } ], 'pull-repo'); }

El problema es que quiero notificar al usuario cuando finalice la ejecución (con y alert("msg") o ..) ¿Sería esto posible?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!