Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: print(data) is suddenly invalid syntax
Post: RE: print(data) is suddenly invalid syntax

thx for your patience Dean. At the moment and until I choose an IDE for future endeavors, this is what I am doing (i dont see how to attach pictures without a url in a reply) ... 1. in my search box...
db042190 General Coding Help 6 1,272 Jun-14-2023, 01:21 PM
    Thread: print(data) is suddenly invalid syntax
Post: RE: print(data) is suddenly invalid syntax

This is very interesting, thank you. STDIN appears to me to be the generic name of the command input prompt "device" (similar to DOS CMD) I am using temporarily when i execute python without an IDE...
db042190 General Coding Help 6 1,272 Jun-13-2023, 08:38 PM
    Thread: print(data) is suddenly invalid syntax
Post: print(data) is suddenly invalid syntax

Hi, my scripts are evolving but I seem to have taken a step backward. The script below works without the print(data) command but not with it. This wasn't the case before but I don't know what script...
db042190 General Coding Help 6 1,272 Jun-13-2023, 05:30 PM
    Thread: Object attribute behavior different in 2 scripts
Post: Object attribute behavior different in 2 scripts

Hi, in scripts 1 and 2 below I got different behavior on object yf.Ticker. Script 1 runs fine and in fact so too did a similar Script 2 for a moderator from this forum. But on my PC, Script 2 gene...
db042190 General Coding Help 1 800 Jun-13-2023, 05:12 PM
    Thread: Is there a more elegant way to concatenate data frames?
Post: RE: Is there a more elegant way to concatenate dat...

much more elegant. thank you.
db042190 General Coding Help 3 1,003 Jun-13-2023, 03:28 PM
    Thread: Is there a more elegant way to concatenate data frames?
Post: Is there a more elegant way to concatenate data fr...

Hi, I'm picturing a script that will include in a loop everything after the setting of "today" and before the "print" prototyped in the code below. The loop will read symbols from a notepad file line...
db042190 General Coding Help 3 1,003 Jun-12-2023, 09:49 PM
    Thread: why is yfinance returning an ellipsis in the middle of ticket history
Post: RE: why is yfinance returning an ellipsis in the m...

just trying out some tags... import pandas pandas.set_option('display.max_rows', None) import yfinance as yf import sys for line in open('C:\\Users\\stant\\OneDrive\\Documents\\daxandpython\\tickers...
db042190 General Coding Help 3 1,028 Jun-12-2023, 06:03 PM
    Thread: why is yfinance returning an ellipsis in the middle of ticket history
Post: RE: why is yfinance returning an ellipsis in the m...

thank you Dean , that worked. Where can I read what / how to use python tags when posting?
db042190 General Coding Help 3 1,028 Jun-12-2023, 04:15 PM
    Thread: why is yfinance returning an ellipsis in the middle of ticket history
Post: why is yfinance returning an ellipsis in the middl...

Hi , I tried my hand at a little loop in Python. I'm staying away from doing some of this redirecting in a shell language because ultimately i want to run this directly from power bi without yet anot...
db042190 General Coding Help 3 1,028 Jun-12-2023, 03:23 PM
    Thread: why does VS want to install seemingly unrelated products?
Post: RE: why does VS want to install seemingly unrelate...

thx, i saw that somewhere along the way and just assumed it was the same thing as VS. Will it actually appear as a different application unrelated to my VS 2022?
db042190 General Coding Help 3 706 Jun-12-2023, 02:28 PM
    Thread: why does VS want to install seemingly unrelated products?
Post: why does VS want to install seemingly unrelated pr...

Hi, I thought if I was going to get more involved with Python, that developing scripts would be more effective under my already installed VS 2022 than the command window. But when I went to add this ...
db042190 General Coding Help 3 706 Jun-12-2023, 01:26 PM
    Thread: can't install yfinance
Post: RE: can't install yfinance

I wanted to but i dont see how to mark posts like snippsat's as an answer . But i marked it as a "like".
db042190 General Coding Help 4 28,574 Jun-12-2023, 01:14 PM
    Thread: can't install yfinance
Post: RE: can't install yfinance

another module called matplotlib was also missing when i went to create / use a python connector but i was able to install it as well as shown below C:\Users\stant\AppData\Local\Programs\Python\Pytho...
db042190 General Coding Help 4 28,574 Jun-11-2023, 12:58 AM
    Thread: can't install yfinance
Post: RE: can't install yfinance

i poked around a bit and noticed there was an app called pip not in but in subfolder lib but rather subfolder scripts. So I cd'd there and typed pip install yfinance. and beside some warnings saw lo...
db042190 General Coding Help 4 28,574 Jun-11-2023, 12:46 AM
  Photo Thread: can't install yfinance
Post: can't install yfinance

Hi , I'm trying to get involved with a product that uses python. I tried everything imaginable as shown below in the command prompt images after downloading python and what i think is the installer. ...
db042190 General Coding Help 4 28,574 Jun-11-2023, 12:08 AM

User Panel Messages

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