Python Forum
Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
getting started, again
#6
(Jul-16-2018, 10:00 PM)bluedoor5 Wrote: On the question of Librarys, I started to look into a few of them, there seems to be thousands complimented by their authors or script writers. So basically the way I'm starting to see it, instead of writing the same ol same ol scripts, just call a script from the library, right ?
Yes there are two main Standard Library(comes with Python) | PyPi(3-party library).

Standard Library:
>>> import math
>>> 
>>> # 8^2 in math
>>> math.pow(8, 2)
64.0
PyPi(here need to us pip to install)
Example Requests
pip install requests
>>> import requests
>>> 
>>> r = requests.get('https://www.python.org/')
>>> r.status_code
200
>>> r.encoding
'utf-8'
>>> r.headers['date']
'Mon, 16 Jul 2018 22:25:42 GMT'

Quote:If that is the case, looking at my current Excel VBA project that runs OK, eventually I can create my own set of .py Library scripts, and use my own folder to call those scripts ?
The goal is to move away entirely from Excel, even create my own GUI ?
Yes can create own small libraries and module/packages,there are som stuff to be learn if want to share with world like on PyPi.

There are many tools for Excel in Python like Pandas, openpyxl, pyexcel.
Pandas with Jupyter notebook is one of the strongest as you get a look similar to excel(can replace Excel all together).
Common Excel Tasks Demonstrated in Pandas
Python Excel Tutorial: The Definitive Guide
Reply


Messages In This Thread
getting started, again - by bluedoor5 - Jul-13-2018, 05:32 AM
RE: getting started, again - by bluedoor5 - Jul-13-2018, 09:06 AM
RE: getting started, again - by snippsat - Jul-13-2018, 10:50 AM
RE: getting started, again - by bluedoor5 - Jul-13-2018, 12:38 PM
RE: getting started, again - by bluedoor5 - Jul-16-2018, 10:00 PM
RE: getting started, again - by snippsat - Jul-16-2018, 10:45 PM
RE: getting started, again - by bluedoor5 - Jul-19-2018, 08:39 PM
RE: getting started, again - by nilamo - Jul-19-2018, 08:48 PM
RE: getting started, again - by bluedoor5 - Jul-19-2018, 09:06 PM
RE: getting started, again - by nilamo - Jul-19-2018, 09:07 PM
RE: getting started, again - by bluedoor5 - Jul-19-2018, 09:44 PM
RE: getting started, again - by bluedoor5 - Jul-20-2018, 10:08 AM
RE: getting started, again - by snippsat - Jul-20-2018, 11:00 AM
RE: getting started, again - by bluedoor5 - Jul-20-2018, 10:47 PM
RE: getting started, again - by bluedoor5 - Jul-21-2018, 03:18 AM
RE: getting started, again - by snippsat - Jul-21-2018, 06:50 AM
RE: getting started, again - by bluedoor5 - Jul-21-2018, 02:44 PM
RE: getting started, again - by snippsat - Jul-21-2018, 03:29 PM
RE: getting started, again - by bluedoor5 - Jul-21-2018, 04:36 PM
RE: getting started, again - by nilamo - Jul-23-2018, 06:00 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  getting started b4iknew 3 2,642 Jan-22-2019, 09:12 AM
Last Post: b4iknew

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020