This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-10-06
Channels
- # babashka (19)
- # beginners (68)
- # calva (9)
- # cider (27)
- # clj-kondo (64)
- # clj-on-windows (2)
- # cljdoc (8)
- # clojure (11)
- # clojure-europe (58)
- # clojure-italy (1)
- # clojure-nl (23)
- # clojure-uk (5)
- # clojurescript (9)
- # cryogen (18)
- # cursive (14)
- # data-science (17)
- # emacs (6)
- # gorilla (6)
- # graphql (1)
- # gratitude (2)
- # holy-lambda (10)
- # introduce-yourself (1)
- # jackdaw (3)
- # jobs (1)
- # leiningen (2)
- # malli (3)
- # missionary (33)
- # off-topic (21)
- # pedestal (7)
- # polylith (8)
- # quil (3)
- # random (1)
- # releases (1)
- # remote-jobs (7)
- # shadow-cljs (18)
- # specter (1)
- # sql (8)
Hello, I would like to help to a friend. I know, much easier solve with python the things from one view or quite impossible with org.apache.poi (buggy xlsm parts). I would like to use libpython-clj from babashka (mainly pandas, openpyxl), what do you think is that possible? I know I can test it, but maybe somebody tested.. and know the limits/ possibilities. I just would like to show Clojure鈥檚 power
@sb I don't think you can use libpython-clj from bb, just use the JVM in this case
Here is an example of that: https://github.com/babashka/pods/blob/master/examples/pod-lispyclouds-sqlite/pod-lispyclouds-sqlite.py
I would like to get the full classpath retrieved from bb.edn. How can I do it?
@karol.wojcik bb -e "(babashka.classpath/get-classpath)"
Thanks
Is there a reference where I can look up whether Babashka supports a particular class? For example, if I want to check whether Babashka supports java.nio.channels.ServerSocketChannel
, where do I look? Or do I just try importing it at the REPL?
@flowthing you can check here: https://github.com/babashka/babashka/blob/master/src/babashka/impl/classes.clj
Dumb question with babahska tasks, is there a shorter way of getting the same behavior as this: {:out (shell {:out :string} "pwd")}
But in general, if I want the output from the shell I would need to call the args?
@neo2551 There is sh
in babashka.process
(similar to clojure.java.shell)
user=> (:out (sh "pwd"))
"/Users/borkdude/Dropbox/dev/clojure/nbb/examples/vscode-test\n"
Thanks!