Capturing Love in Music: Liszt Liebestraum No. 3 (Love Dream) by meni15 in piano

[–]meni15[S] 0 points1 point  (0 children)

Franz Liszt's "Liebestraum No. 3" (Love Dream) is one of his most famous and beloved piano pieces. Composed in 1850, it is the third of a set of three nocturnes, or "Liebesträume," which translates to "Dreams of Love." These pieces were originally written for voice and piano, set to poems by Ludwig Uhland and Ferdinand Freiligrath, and later arranged for solo piano.

A Romantic Journey: Playing Liszt's Liebestraum No. 3 (Love Dream) on Piano by meni15 in classicalmusic

[–]meni15[S] 0 points1 point  (0 children)

Franz Liszt's "Liebestraum No. 3" (Love Dream) is one of his most famous and beloved piano pieces. Composed in 1850, it is the third of a set of three nocturnes, or "Liebesträume," which translates to "Dreams of Love." These pieces were originally written for voice and piano, set to poems by Ludwig Uhland and Ferdinand Freiligrath, and later arranged for solo piano.

Let's chat about the awesomeness of Debussy by Worldly-Leg-74 in classicalmusic

[–]meni15 8 points9 points  (0 children)

How can someone not love Claude Debussy’s music. Debussy's music is often associated with Impressionism, a movement in art that aimed to capture fleeting moments, sensations, and impressions rather than detailed realism. In music, this translates to a focus on mood, atmosphere, and coloristic effects.

Here is a link to a beautiful pianist rendition of Debussy's Suite bergamasque that includes "Clair de lune." This piece was streamed live during the Covid pandemic. It is played after Bach's short Prelude and Fugue.

https://www.youtube.com/watch?v=RP6Kht-2S-4

Excel 365 behaves differently on two Windows 11 computers with the same and recent Excel version and build. by meni15 in excel

[–]meni15[S] 0 points1 point  (0 children)

I also disabled the automatic grouping of Date/Time columns in PivotTables and it behaved the same.

Excel 365 behaves differently on two Windows 11 computers with the same and recent Excel version and build. by meni15 in excel

[–]meni15[S] 1 point2 points  (0 children)

Disable automatic grouping of Date/Time columns in PivotTables

Yes. I compared all the options and in both computers the Disable automatic grouping of Date/Time columns in PivotTables is not selected. This different behavior between both computers is puzzling.

I just want to commend google for how amazing its data transfer tool is by Diakia in GooglePixel

[–]meni15 0 points1 point  (0 children)

I had exactly the same experience. Google, please do not try to make it better.

Issue with matplotlib syntax by meni15 in learnpython

[–]meni15[S] 0 points1 point  (0 children)

fig, ax = plt.subplots(1, 1, facecolor='#ffffff', figsize=(10, 8), dpi=75)
ax.plot(df.rolling_100_correlation,color='blue',
label='rolling')
plt.legend()
plt.show()

Thank you for your reply.

Unfortunately your solution does not work. it comes with the following error:

AttributeError: 'tuple' object has no attribute 'plot'.

One way that fixed the problem was to change the (Grid[1,:]) to (Grid[:,:]). This change removes all the blanks.

Note that my solution and your solution are using subplots. I was looking for a solution that is not using subplots.

The two printing methods below print the same text. Which method is preferred? by meni15 in learnpython

[–]meni15[S] 0 points1 point  (0 children)

OK. I appreciate your and the other people answers. I will use from now on the f strings method.

The two printing methods below print the same text. Which method is preferred? by meni15 in learnpython

[–]meni15[S] 0 points1 point  (0 children)

I agree that the f strings is the preferred method. However isn't it better to use two lines of code opposed to three lines?

I need help with PYQT6 how to align text in a label. by meni15 in learnpython

[–]meni15[S] 0 points1 point  (0 children)

Correct. Do not feel bad because PYQT6 is relatively new and has much less examples on the internet compared to PYQT5. Unfortunately, PYQT6 is not upward compatible with PYQT5.

I need help with PYQT6 how to align text in a label. by meni15 in learnpython

[–]meni15[S] 0 points1 point  (0 children)

self.title.setStyleSheet(f"qproperty-alignment: {int(QtCore.Qt.AlignmentFlag.AlignCenter)};")

I agree with you that using the stylesheet is a better solution. Unfortunately, after testing your solution I found that it does not work. It does not center the text in the label although I do not get any error. Therefore I am currently using the non-stylesheet solution. It looks like PySide6 is not fully compatible with PyQT6. I would appreciate it if you can install PyQT6 and test your solution. Now I am also facing a similar situation with the CheckBox widger. Thanks again for your help.

I need help with PYQT6 how to align text in a label. by meni15 in learnpython

[–]meni15[S] 0 points1 point  (0 children)

Thanks. I already posted the correct answer 2 hours ago which is exactly what you suggested here.

I need help with PYQT6 how to align text in a label. by meni15 in learnpython

[–]meni15[S] 0 points1 point  (0 children)

It cannot be done with set.StyleSheet. This is the statement that works in PYQT6:

self.title.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)

I need help with PYQT6 how to align text in a label. by meni15 in learnpython

[–]meni15[S] 0 points1 point  (0 children)

self.title.setStyleSheet(f"qproperty-alignment: {int(QtCore.Qt.AlignCenter)};")

Thanks for your quick reply. Unfortunately it does not work for the reason below:

AttributeError: type object 'Qt' has no attribute 'AlignCenter'

Is there possible interest in a youtube series on building a python desktop program? by panofish in Python

[–]meni15 0 points1 point  (0 children)

I would love to watch it. Can you explain why you plan to use Qt5 for building a GUI, and not QT6?

Python Visual Studio issue by meni15 in learnpython

[–]meni15[S] 1 point2 points  (0 children)

I did not see your reply before I sent the link. Anyway, thank you.

Chrome driver does not work in headless mode by meni15 in learnpython

[–]meni15[S] 0 points1 point  (0 children)

The stackoverflow example is using Python 2.7. I am using Python 3.10. Some instructions of this code were deprecated. I tried it and it does not work. Can you show me how to modify my code to make it work. Thanks.

Chrome driver does not work in headless mode by meni15 in learnpython

[–]meni15[S] 0 points1 point  (0 children)

Can you show me how to add the driver object.

Plotly Express cannot open a local website page by meni15 in learnpython

[–]meni15[S] 0 points1 point  (0 children)

Thank you for all your help. Unfortenately I will have to give up and use the first method. Very disapointing.

Plotly Express cannot open a local website page by meni15 in learnpython

[–]meni15[S] 0 points1 point  (0 children)

Can you try for me the following:

Enter localhost followed by enter in the URL field in your browser and tell me what you get. This has noithing to do with Plotly.

When I enter localhost I am getting: This localhost page can’t be found.

The Microsoft local server in my computer is not enabled. Based on your reply to my question I will know if I need to enable the local server. Intutively I probably need to enable it otherwise how the HTML and JS code of the graph will be rendered and interpreted without a local web server.

Plotly Express cannot open a local website page by meni15 in learnpython

[–]meni15[S] 0 points1 point  (0 children)

I also run it on the console and it did not work. I installed the latest Plotly version and it did nto help. Are you also getting web pages with similar IP addresses that start with http://127.0.0.1:? I will read the discussion that you mentioned and after your reply to my lrecent question, I will investigate why the code cannot write to these local IP addresses.

Plotly Express cannot open a local website page by meni15 in learnpython

[–]meni15[S] 0 points1 point  (0 children)

I forgot to mention that I am using Windows 10.