<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Python &#8211; 慢城市快生活</title>
	<atom:link href="http://www.gwren.com/tag/python/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gwren.com</link>
	<description></description>
	<lastBuildDate>Sat, 15 Mar 2025 03:53:43 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8</generator>
	<item>
		<title>编程小白的逆袭！找豆包实现信息提取V1.2，超神了💥</title>
		<link>http://www.gwren.com/2025/02/%e7%bc%96%e7%a8%8b%e5%b0%8f%e7%99%bd%e7%9a%84%e9%80%86%e8%a2%ad%ef%bc%81%e6%89%be%e8%b1%86%e5%8c%85%e5%ae%9e%e7%8e%b0%e6%95%b0%e6%8d%ae%e7%88%ac%e8%99%abv1-2%ef%bc%8c%e8%b6%85%e7%a5%9e%e4%ba%86/</link>
					<comments>http://www.gwren.com/2025/02/%e7%bc%96%e7%a8%8b%e5%b0%8f%e7%99%bd%e7%9a%84%e9%80%86%e8%a2%ad%ef%bc%81%e6%89%be%e8%b1%86%e5%8c%85%e5%ae%9e%e7%8e%b0%e6%95%b0%e6%8d%ae%e7%88%ac%e8%99%abv1-2%ef%bc%8c%e8%b6%85%e7%a5%9e%e4%ba%86/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 19 Feb 2025 01:40:43 +0000</pubDate>
				<category><![CDATA[AI使用]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[编程]]></category>
		<category><![CDATA[食品安全标准]]></category>
		<guid isPermaLink="false">http://www.gwren.com/?p=239</guid>

					<description><![CDATA[需求背景 宝子们👋，今天必须来给大家分享我这个编程小白的神奇蜕变历程！最近因为要建立AI个人知识库的需要，我得&#8230; <a href="http://www.gwren.com/2025/02/%e7%bc%96%e7%a8%8b%e5%b0%8f%e7%99%bd%e7%9a%84%e9%80%86%e8%a2%ad%ef%bc%81%e6%89%be%e8%b1%86%e5%8c%85%e5%ae%9e%e7%8e%b0%e6%95%b0%e6%8d%ae%e7%88%ac%e8%99%abv1-2%ef%bc%8c%e8%b6%85%e7%a5%9e%e4%ba%86/" class="more-link">继续阅读 <span class="screen-reader-text">编程小白的逆袭！找豆包实现信息提取V1.2，超神了💥</span></a>]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">需求背景</h2>



<p>宝子们<img src="https://s.w.org/images/core/emoji/15.1.0/72x72/1f44b.png" alt="👋" class="wp-smiley" style="height: 1em; max-height: 1em;" />，今天必须来给大家分享我这个编程小白的神奇蜕变历程！最近因为要建立AI个人知识库的需要，我得收集大量食品国家标准信息，包含标准名称、状态、发布实施日期等等，最重要是是否现行有效。要是手动去一个个网站复制粘贴，那工作量简直大到让人崩溃<img src="https://s.w.org/images/core/emoji/15.1.0/72x72/1f62b.png" alt="😫" class="wp-smiley" style="height: 1em; max-height: 1em;" />，所以我决定试试爬虫程序！但我之前完全没接触过编程，两眼抓下就像无头苍蝇一样乱撞。</p>



<h2 class="wp-block-heading">遇见豆包</h2>



<p>就在我焦头烂额的时候，我发现了豆包这个超厉害的“编程神器”<img src="https://s.w.org/images/core/emoji/15.1.0/72x72/1f9e0.png" alt="🧠" class="wp-smiley" style="height: 1em; max-height: 1em;" />。我就抱着试试看的心态，把我的需求一股脑儿全告诉了它：想要从特定网站爬取食品标准数据，数据导出的格式和顺序得按照我的要求来，还要能断点续传，抓取完成后能自动分割表格、转换格式……这些要求听起来就很复杂，我自己都说得有点心虚，没想到豆包居然稳稳接住了！</p>



<h2 class="wp-block-heading">制作过程</h2>



<p>和豆包的“对话”就像一场奇妙的冒险。我提出想法，它就给出代码示例，我有不明白的地方，它就耐心解释，一步一步引导我。每一次修改代码、调整功能，都像是在搭建一座属于自己的编程小城堡<img src="https://s.w.org/images/core/emoji/15.1.0/72x72/1f3f0.png" alt="🏰" class="wp-smiley" style="height: 1em; max-height: 1em;" />。它不仅给我提供代码，还会告诉我每一行代码的作用，就像给我一把把打开编程世界大门的钥匙<img src="https://s.w.org/images/core/emoji/15.1.0/72x72/1f511.png" alt="🔑" class="wp-smiley" style="height: 1em; max-height: 1em;" />。</p>



<h2 class="wp-block-heading">最终成果</h2>



<p>经过一番努力，我的数据爬虫V1.2版本成功诞生啦<img src="https://s.w.org/images/core/emoji/15.1.0/72x72/1f389.png" alt="🎉" class="wp-smiley" style="height: 1em; max-height: 1em;" />！它不仅能快速准确地抓取我需要的数据，导出表格的格式也完全符合我的预期。而且，分割表格和转换格式这些复杂的操作，它都能一键搞定，效率超高，直接把我从繁琐的数据收集工作中解放出来！现在，我只要运行这个程序，就能轻松获取想要的信息，节省了超多时间和精力。</p>



<pre class="wp-block-preformatted"># 这里展示完整代码，但实际内容省略啦
import pandas as pd
from selenium import webdriver
#......
</pre>



<h2 class="wp-block-heading">总结</h2>



<p>真的太感谢豆包啦！它就像我编程路上的超级导师，对编程小白超级友好。以前觉得编程遥不可及，现在在豆包的帮助下，我也能写出实用的程序，这种成就感简直无法言喻！如果你也和我一样，是个编程小白，又有编程需求，那就快去试试豆包吧，相信你也会收获满满的惊喜<img src="https://s.w.org/images/core/emoji/15.1.0/72x72/1f496.png" alt="💖" class="wp-smiley" style="height: 1em; max-height: 1em;" />！</p>
]]></content:encoded>
					
					<wfw:commentRss>http://www.gwren.com/2025/02/%e7%bc%96%e7%a8%8b%e5%b0%8f%e7%99%bd%e7%9a%84%e9%80%86%e8%a2%ad%ef%bc%81%e6%89%be%e8%b1%86%e5%8c%85%e5%ae%9e%e7%8e%b0%e6%95%b0%e6%8d%ae%e7%88%ac%e8%99%abv1-2%ef%bc%8c%e8%b6%85%e7%a5%9e%e4%ba%86/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
