{"id":38144,"date":"2024-02-12T19:01:42","date_gmt":"2024-02-12T19:01:42","guid":{"rendered":"https:\/\/www.alicat.com\/?post_type=article&#038;p=38144"},"modified":"2026-02-03T20:52:08","modified_gmt":"2026-02-03T20:52:08","slug":"anweisungen-zur-kommunikation-mit-python-und-der-eingabeaufforderung","status":"publish","type":"support","link":"https:\/\/www.alicat.com\/de\/support\/python-and-command-prompt-communication-instructions\/","title":{"rendered":"Anweisungen zur Kommunikation mit Python und der Eingabeaufforderung"},"content":{"rendered":"\n[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_row _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_heading title=&#8221;Python and command prompt communication instructions&#8221; _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_heading][et_pb_text _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; sticky_enabled=&#8221;0&#8243;]<h2>Setup<\/h2>\n<ol>\n\t<li>Alicat Python and Python-driven command prompt (Windows Powershell) drivers have been developed principally by Pat Fuller at NuMat Technologies. Download the drivers from github.com: <a href=\"https:\/\/github.com\/alexrudd2\/alicat\" target=\"_blank\">https:\/\/github.com\/alexrudd2\/alicat<\/a><\/li>\n\t<li>In order to run the command prompt\/Powershell driver, Python will first have to be installed on the computer. Install the latest stable Python 3 release: <a href=\"https:\/\/www.python.org\/downloads\/\" target=\"_blank\">https:\/\/www.python.org\/downloads\/<\/a><\/li>\n\t<li>Once Python has been installed, command the following in the command prompt:<\/li>\n<\/ol>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/www.alicat.com\/wp-content\/uploads\/2024\/05\/1-1024&#215;67-1.webp&#8221; title_text=&#8221;1-1024&#215;67&#8243; _builder_version=&#8221;4.25.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.25.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<p>&nbsp;<\/p>\n<p>4. If the Python PIP package manager is installed and enabled, command the following instead<\/p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/www.alicat.com\/wp-content\/uploads\/2024\/05\/2-1024&#215;34-1.webp&#8221; title_text=&#8221;2-1024&#215;34&#8243; _builder_version=&#8221;4.25.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.25.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<p>&nbsp;<\/p>\n<h2>Command Prompt (Powershell) usage<\/h2>\n<ol>\n<li>Enter \u201calicat \u2013help\u201d or \u201calicat -h\u201d to access a menu of possible arguments and usage information<\/li>\n<\/ol>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/www.alicat.com\/wp-content\/uploads\/2024\/05\/3-1024&#215;530-1.webp&#8221; title_text=&#8221;3-1024&#215;530&#8243; _builder_version=&#8221;4.25.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.25.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>If you only have one Alicat connected to your target COM port, command the port name to return data from the Alicat:<\/li>\n<\/ol>\n<\/li>\n<\/ol>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/www.alicat.com\/wp-content\/uploads\/2024\/05\/4-1024&#215;34-1.webp&#8221; title_text=&#8221;4-1024&#215;34&#8243; _builder_version=&#8221;4.25.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.25.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<p>&nbsp;<\/p>\n<ol>\n<li>To poll a device with unit ID A, enter the following command<\/li>\n<\/ol>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/www.alicat.com\/wp-content\/uploads\/2024\/05\/5-1024&#215;34-1.webp&#8221; title_text=&#8221;5-1024&#215;34&#8243; _builder_version=&#8221;4.25.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.25.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<p>&nbsp;<\/p>\n<ol>\n<li>The response from either of these commands (step 2 or 3) should look like this:<\/li>\n<\/ol>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/www.alicat.com\/wp-content\/uploads\/2024\/05\/6-1024&#215;165-1.webp&#8221; title_text=&#8221;6-1024&#215;165&#8243; _builder_version=&#8221;4.25.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.25.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<div class=\"main\">\n<section class=\"section-over-top-bg\">\n<div class=\"container width-1130 bg-white\">\n<div class=\"top-text-block-wrap d-flex\">\n<div class=\"text-block\">\n<div id=\"eckb-article-page-container-v2\" class=\"eckb-article-page-content-counter eckb_ap_active_theme_allicat \" data-mobile_breakpoint=\"1000\">\n<div id=\"eckb-article-body\">\n<article id=\"eckb-article-content\" data-article-id=\"18457\">\n<div id=\"eckb-article-content-body\">\n<h2>Python usage<\/h2>\n<p>Use this command to open a serial connection to an Alicat device on the specified port:<\/p>\n<\/div>\n<\/article>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/section>\n<\/div>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/www.alicat.com\/wp-content\/uploads\/2024\/05\/image-6.png&#8221; title_text=&#8221;image (6)&#8221; _builder_version=&#8221;4.25.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.25.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<p>If the Alicat is communicating on the specified port, it will return the same dictionary as when polled via Powershell.<\/p>\n<p>Using this with Windows COM port COM1, for example, would look like this:<\/p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/www.alicat.com\/wp-content\/uploads\/2024\/05\/8-1024&#215;67-1.webp&#8221; title_text=&#8221;8-1024&#215;67&#8243; _builder_version=&#8221;4.25.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][\/et_pb_column][\/et_pb_row][\/et_pb_section]\n","protected":false},"featured_media":46458,"parent":0,"template":"","meta":{"_acf_changed":false,"_et_pb_use_builder":"on","_et_pb_old_content":"<!-- wp:divi\/placeholder \/-->","_et_gb_content_width":"1920","content-type":"","_searchwp_excluded":""},"categories":[],"class_list":["post-38144","support","type-support","status-publish","has-post-thumbnail","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Python and Command Prompt Communication Instructions - Alicat Scientific<\/title>\n<meta name=\"description\" content=\"How to use Python to communicate with your Alicat device\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.alicat.com\/de\/unterstutzung\/anweisungen-zur-kommunikation-mit-python-und-der-eingabeaufforderung\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python and Command Prompt Communication Instructions\" \/>\n<meta property=\"og:description\" content=\"How to use Python to communicate with your Alicat device\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.alicat.com\/de\/unterstutzung\/anweisungen-zur-kommunikation-mit-python-und-der-eingabeaufforderung\/\" \/>\n<meta property=\"og:site_name\" content=\"Alicat Scientific\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/alicatscientific\/\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-03T20:52:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.alicat.com\/wp-content\/uploads\/2026\/01\/featured-alicat.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3\u00a0Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.alicat.com\\\/support\\\/python-and-command-prompt-communication-instructions\\\/\",\"url\":\"https:\\\/\\\/www.alicat.com\\\/support\\\/python-and-command-prompt-communication-instructions\\\/\",\"name\":\"Python and Command Prompt Communication Instructions - Alicat Scientific\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.alicat.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.alicat.com\\\/support\\\/python-and-command-prompt-communication-instructions\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.alicat.com\\\/support\\\/python-and-command-prompt-communication-instructions\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.alicat.com\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/featured-alicat.png\",\"datePublished\":\"2024-02-12T19:01:42+00:00\",\"dateModified\":\"2026-02-03T20:52:08+00:00\",\"description\":\"How to use Python to communicate with your Alicat device\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.alicat.com\\\/support\\\/python-and-command-prompt-communication-instructions\\\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.alicat.com\\\/support\\\/python-and-command-prompt-communication-instructions\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/www.alicat.com\\\/support\\\/python-and-command-prompt-communication-instructions\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.alicat.com\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/featured-alicat.png\",\"contentUrl\":\"https:\\\/\\\/www.alicat.com\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/featured-alicat.png\",\"width\":1200,\"height\":630,\"caption\":\"Photo of an Alicat instrument with the Alicat logo behind it\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.alicat.com\\\/support\\\/python-and-command-prompt-communication-instructions\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.alicat.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python and Command Prompt Communication Instructions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.alicat.com\\\/#website\",\"url\":\"https:\\\/\\\/www.alicat.com\\\/\",\"name\":\"Alicat Scientific\",\"description\":\"Alicat Scientific | Fastest Flow Measurement Possible\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.alicat.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.alicat.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.alicat.com\\\/#organization\",\"name\":\"Alicat Scientific\",\"alternateName\":\"Alicat\",\"url\":\"https:\\\/\\\/www.alicat.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/www.alicat.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Alicat Scientific\"},\"image\":{\"@id\":\"https:\\\/\\\/www.alicat.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/alicatscientific\\\/\",\"https:\\\/\\\/linkedin.com\\\/company\\\/alicat-scientific-inc\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCPPX4sBOO2eEu65Zn-EfwCw\"],\"email\":\"info@alicat.com\",\"telephone\":\"+18882906060\",\"legalName\":\"Alicat Scientific, Inc.\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Anweisungen zur Kommunikation mit Python und der Eingabeaufforderung - Alicat Scientific","description":"Wie Sie mit Python mit Ihrem Alicat-Ger\u00e4t kommunizieren","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.alicat.com\/de\/unterstutzung\/anweisungen-zur-kommunikation-mit-python-und-der-eingabeaufforderung\/","og_locale":"de_DE","og_type":"article","og_title":"Python and Command Prompt Communication Instructions","og_description":"How to use Python to communicate with your Alicat device","og_url":"https:\/\/www.alicat.com\/de\/unterstutzung\/anweisungen-zur-kommunikation-mit-python-und-der-eingabeaufforderung\/","og_site_name":"Alicat Scientific","article_publisher":"https:\/\/www.facebook.com\/alicatscientific\/","article_modified_time":"2026-02-03T20:52:08+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.alicat.com\/wp-content\/uploads\/2026\/01\/featured-alicat.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3\u00a0Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.alicat.com\/support\/python-and-command-prompt-communication-instructions\/","url":"https:\/\/www.alicat.com\/support\/python-and-command-prompt-communication-instructions\/","name":"Anweisungen zur Kommunikation mit Python und der Eingabeaufforderung - Alicat Scientific","isPartOf":{"@id":"https:\/\/www.alicat.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.alicat.com\/support\/python-and-command-prompt-communication-instructions\/#primaryimage"},"image":{"@id":"https:\/\/www.alicat.com\/support\/python-and-command-prompt-communication-instructions\/#primaryimage"},"thumbnailUrl":"https:\/\/www.alicat.com\/wp-content\/uploads\/2026\/01\/featured-alicat.png","datePublished":"2024-02-12T19:01:42+00:00","dateModified":"2026-02-03T20:52:08+00:00","description":"Wie Sie mit Python mit Ihrem Alicat-Ger\u00e4t kommunizieren","breadcrumb":{"@id":"https:\/\/www.alicat.com\/support\/python-and-command-prompt-communication-instructions\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.alicat.com\/support\/python-and-command-prompt-communication-instructions\/"]}]},{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.alicat.com\/support\/python-and-command-prompt-communication-instructions\/#primaryimage","url":"https:\/\/www.alicat.com\/wp-content\/uploads\/2026\/01\/featured-alicat.png","contentUrl":"https:\/\/www.alicat.com\/wp-content\/uploads\/2026\/01\/featured-alicat.png","width":1200,"height":630,"caption":"Photo of an Alicat instrument with the Alicat logo behind it"},{"@type":"BreadcrumbList","@id":"https:\/\/www.alicat.com\/support\/python-and-command-prompt-communication-instructions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.alicat.com\/"},{"@type":"ListItem","position":2,"name":"Python and Command Prompt Communication Instructions"}]},{"@type":"WebSite","@id":"https:\/\/www.alicat.com\/#website","url":"https:\/\/www.alicat.com\/","name":"Alicat Scientific","description":"Alicat Scientific | Schnellstm\u00f6gliche Durchflussmessung","publisher":{"@id":"https:\/\/www.alicat.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.alicat.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":"Organization","@id":"https:\/\/www.alicat.com\/#organization","name":"Alicat Scientific","alternateName":"Alicat","url":"https:\/\/www.alicat.com\/","logo":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.alicat.com\/#\/schema\/logo\/image\/","url":"","contentUrl":"","caption":"Alicat Scientific"},"image":{"@id":"https:\/\/www.alicat.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/alicatscientific\/","https:\/\/linkedin.com\/company\/alicat-scientific-inc","https:\/\/www.youtube.com\/channel\/UCPPX4sBOO2eEu65Zn-EfwCw"],"email":"info@alicat.com","telephone":"+18882906060","legalName":"Alicat Scientific, Inc."}]}},"_links":{"self":[{"href":"https:\/\/www.alicat.com\/de\/wp-json\/wp\/v2\/support\/38144","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.alicat.com\/de\/wp-json\/wp\/v2\/support"}],"about":[{"href":"https:\/\/www.alicat.com\/de\/wp-json\/wp\/v2\/types\/support"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.alicat.com\/de\/wp-json\/wp\/v2\/media\/46458"}],"wp:attachment":[{"href":"https:\/\/www.alicat.com\/de\/wp-json\/wp\/v2\/media?parent=38144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.alicat.com\/de\/wp-json\/wp\/v2\/categories?post=38144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}