This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import scrapy | |
from bs4 import BeautifulSoup | |
class MySpider(scrapy.Spider): | |
name = 'my_spider' | |
start_urls = ['https://example.com'] | |
def parse(self, response): | |
# Parse the HTML content with BeautifulSoup | |
soup = BeautifulSoup(response.text, 'html.parser') | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# regex_soup.py | |
import re | |
from urllib.request import urlopen | |
url = "http://olympus.realpython.org/profiles/dionysus" | |
page = urlopen(url) | |
html = page.read().decode("utf-8") | |
pattern = "<title.*?>.*?</title.*?>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print("Hello World!") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jumlah Saham Dibeli | Harga Persaham | Biaya Pembelian | Profit Dividen / Lembar Saham | Total Profit (pertahun) | Total Profit (perbulan) | |
---|---|---|---|---|---|---|
633005 | Rp. 8061 | Rp. 5.102.495.054 | Rp. 120 | Rp. 75.960.600 | Rp. 6.330.050 | |
1861 | Rp. 8061 | Rp. 15.001.056 | Rp. 120 | Rp. 223.320 | Rp. 18.610 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Holder, Real Cash, Share Valuasi 1M, MOVED TO NEW SYSTEM | |
EKO,-, 8.60%, - | |
WG,-, 8.00%, - | |
NAF,-, 5.00%, - | |
SSB,-, 5.00%, - | |
MFA,-, 4.80%, - | |
ALX,-, 5.00%, - | |
DAL,-, 5.00%, - | |
YOS,-, 5.00%, - | |
FWK,-, 4.50%, - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nama | Jumlah | |
---|---|---|
WG | Rp45.000.000 | |
Doni* | Rp5.000.000 | |
Nafis | Rp25.000.000 | |
Faisal Wira Kusuma | Rp25.000.000 | |
Iqbal Pria Fadhilah** | Rp12.500.000 | |
SS | Rp25.000.000 | |
PAN | Rp25.000.000 | |
AR | Rp25.000.000 | |
PUR | Rp20.000.000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Holder | Share | |
---|---|---|
EKO | 8.60% | |
WG | 8.00% | |
NAF | 5.00% | |
SSB | 5.00% | |
MFA | 4.80% | |
ALX | 5.00% | |
DAL | 5.00% | |
YOS | 5.00% | |
FWK | 4.50% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nama Barang | Harga | Qty | Total Sale | Biaya Produksi | Laba = Total Sale - Biaya Produksi | |
---|---|---|---|---|---|---|
Pelatihan Python | Rp. 1.000.000 | 30 | Rp 30.000.000 | Rp 25.000.000 | Rp. 5.000.000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Initial Intrinsic Gold Valuation | Gold Founder Apprecation | |
---|---|---|
50gr | 50gr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Warganegara | Jumlah Emas | |
---|---|---|
Joni | 10gr | |
Agus | 20gr | |
Siti | 20gr | |
Sur | 1gr |
NewerOlder