Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: How to edit Tkinter Minimize, Maximize, and Close Buttons
Post: RE: How to edit Tkinter Minimize, Maximize, and Cl...
Please show code in context, as we cannot see how Top was defined.
Is 'Top' an instance of Tk() ? |
|
Larz60+ |
General Coding Help |
7 |
174 |
Yesterday, 09:12 AM |
|
|
Thread: Why am I getting this error from Dave Beazly's programme?
Post: RE: Why am I getting this error from Dave Beazly's...
you need to run the python interpreter: python3 ./inline_recursive.py |
|
Larz60+ |
General Coding Help |
4 |
135 |
Yesterday, 08:50 AM |
|
|
Thread: yield from
Post: RE: yield from
'join' don't use python class names for your function name, it will overload the original definition.
If at any future time you need the original definition of join, you will get the new definition in... |
|
Larz60+ |
General Coding Help |
4 |
294 |
Apr-19-2024, 08:52 AM |
|
|
Thread: questions about dict.get
Post: RE: questions about dict.get
to get the value of a dictionary entry use dictname['key']
like:
>>> dict_1={'ali':12,"mohammad":15,"fatemeh":20}
>>> x = dict_1['fatemeh']
>>> x
20or just:
>>> dic... |
|
Larz60+ |
General Coding Help |
2 |
232 |
Apr-19-2024, 08:30 AM |
|
|
Thread: Dynamically plotting graphs with matplotlib
Post: RE: Dynamically plotting graphs with matplotlib
The example code below does not use pandas, it uses the data as .csv (which is text with commas, same as data in your first post)
It will plot all files in the data directory of the structure (tree) s... |
|
Larz60+ |
Data Science |
11 |
431 |
Apr-17-2024, 11:24 AM |
|
|
Thread: Dynamically plotting graphs with matplotlib
Post: RE: Dynamically plotting graphs with matplotlib
please provide some sample data (not much) in 'original format', which I believe you said was text.
You can just paste 10 items or so between output tags.
I'm looking for data prior to any conversion... |
|
Larz60+ |
Data Science |
11 |
431 |
Apr-16-2024, 09:13 AM |
|
|
Thread: Dynamically plotting graphs with matplotlib
Post: RE: Dynamically plotting graphs with matplotlib
Is there any reason you want to store that data as excel?
This will be a lot slower than ploting directly from a csv file (your data is already in CSV format)
see: Plotting data from a file
If the da... |
|
Larz60+ |
Data Science |
11 |
431 |
Apr-15-2024, 10:56 AM |
|
|
Thread: Seeking advice on dask distributed
Post: RE: Seeking advice on dask distributed
You might want to read some of the tutorials and blogs available.
try "true parallel processing using python" in duckduckgo and/or google to get a large list.
It sounds (without any further reasearch)... |
|
Larz60+ |
General Coding Help |
4 |
282 |
Apr-14-2024, 10:17 AM |
|
|
Thread: please help
Post: RE: please help
you can read the data in as chunks, which will save a lot of time.
Also, since you want to diaplay the data, using Pandas may save significant time.
Perhaps reconsider displaying the entire file as no... |
|
Larz60+ |
General Coding Help |
6 |
418 |
Apr-10-2024, 07:52 AM |
|
|
Thread: distribution fit
Post: RE: distribution fit
Don't know if this will help, but might: https://stackoverflow.com/a/63646040 |
|
Larz60+ |
General Coding Help |
1 |
237 |
Apr-07-2024, 12:30 AM |
|
|
Thread: write code that resides in parent directory
Post: RE: write code that resides in parent directory
The following will get the absolute paths.
Note that root_dir will get path to the file, including the python file name.
If you just wanted the current path, use root_dir = Path('.')
You would also ha... |
|
Larz60+ |
General Coding Help |
3 |
412 |
Mar-30-2024, 02:46 AM |
|
|
Thread: Variable not defined even though it is
Post: RE: Variable not defined even though it is
you should be able to right click code, select python, and run in terminal
first you need to (one time) press ctrl-P in code window and select interpreter to be used. |
|
Larz60+ |
General Coding Help |
3 |
296 |
Mar-28-2024, 02:13 PM |
|
|
Thread: tkinter logo
Post: RE: tkinter logo
I don't I've ever seen one, it's a wrapper around TCL/Tk who's logo is a feather see here. |
|
Larz60+ |
Bar |
3 |
304 |
Mar-27-2024, 10:12 AM |
|
|
Thread: Stock clustering and portfolio diversification. Suitable features.
Post: RE: Stock clustering and portfolio diversification...
The yahoo finance package will get you the historic information you need
reference: https://pypi.org/project/yfinance/
simple code to get one years data:
import yfinance as yf
import pandas as pd
fr... |
|
Larz60+ |
Data Science |
1 |
274 |
Mar-27-2024, 09:54 AM |
|
|
Thread: delivery exe without source code py
Post: RE: delivery exe without source code py
This post on stackoverflow shows methods for all major OS. |
|
Larz60+ |
General Coding Help |
2 |
355 |
Mar-25-2024, 08:35 PM |
|
|
Thread: Can't load plugin: sqlalchemy.dialects:postgresql
Post: RE: Can't load plugin: sqlalchemy.dialects:postgre...
change line 4 which currently directs sqlalchemy to PostgreSQL |
|
Larz60+ |
Homework |
2 |
318 |
Mar-25-2024, 08:28 PM |
|
|
Thread: Detecting Solar Radio Burst Using Python
Post: RE: Detecting Solar Radio Burst Using Python
see what's available in PyPi, here. |
|
Larz60+ |
Game Development |
2 |
315 |
Mar-21-2024, 10:23 AM |
|
|
Thread: Pivoting the data does not return what I am expecting
Post: RE: Pivoting the data does not return what I am ex...
Please post your code (best shot, not working properly ok but explain where failures occurs).
Then you will most likely get the answers you are seeking. |
|
Larz60+ |
Homework |
2 |
349 |
Mar-21-2024, 10:21 AM |
|
|
Thread: Python Security
Post: RE: Python Security
suggest you start by reading the following:
Python Security
and
Security Considerations |
|
Larz60+ |
General Coding Help |
1 |
277 |
Mar-06-2024, 08:24 PM |
|
|
Thread: Saving a manytomany form
Post: RE: Saving a manytomany form
Line 7 'Article' never defined
The error is for 'Article' not 'articles' not case and plural, not singular. |
|
Larz60+ |
General Coding Help |
2 |
316 |
Mar-04-2024, 12:02 PM |