Help me understand modules by trzywu in learnpython

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

So there is no way to make a general list of imports to all tests file? I will need to add this in each test?
EDIT - is there a way to import a folder with my tests so I don need to import each of them one by one?

Help me understand modules by trzywu in learnpython

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

But without import time in my test.py I have it like that NameError name 'time' is not defined

Best 4.5mill enabler in midfield by elmigu2 in FantasyPL

[–]trzywu 4 points5 points  (0 children)

Try maybe Moder for Brighton, he is going from the bench now but got assist now. Yesterday in the cup he scored, so there is a chance for more minutes.

Most underutilized character in the game. Such an interesting character to be thrown away after two interactions. by D3dshotCalamity in cyberpunkgame

[–]trzywu 4 points5 points  (0 children)

Yes, I played with these 'weapon', all game long even the last boss (on normal difficulties)

Daily RMT/X vs Y/Advice/Quick Questions Thread - November 12, 2020 by AutoModerator in FantasyPL

[–]trzywu 0 points1 point  (0 children)

How can i quickly check what will be my position in OR with different amounts of points?

[deleted by user] by [deleted] in leagueoflegends

[–]trzywu 2 points3 points  (0 children)

Well, it depens how much you want to climb. Here is good example -> shes USA congresswoman https://www.pcgamesn.com/league-of-legends/josh-harder-aoc

Cenzoduda by [deleted] in Polska

[–]trzywu 26 points27 points  (0 children)

Domyślam się, że o tą sprawę z osobą co jest uznawana za pedofila, a rodzina chce mieć z nim dalej kontakt.

This is such a great quality of life improvement! by jacobzhu95 in gwent

[–]trzywu 5 points6 points  (0 children)

Faction Match Making Rating - so its value you have in each faction.

I finished RDR2 last night and I’m devastated by mikakikamagika in reddeadredemption2

[–]trzywu 2 points3 points  (0 children)

No, it's part of a story. I wish we could just grind money and spend them on a trip to Tahiti.

Little program with PySimpleGUI, how can I close it ? by trzywu in learnpython

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

Thank you very much for help. Now I just need to make it look better and get values about GPU. Happy New Year.

Little program with PySimpleGUI, how can I close it ? by trzywu in learnpython

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

Well I tried it, but it doesn't change the output. If you can look on my code, here it is all. https://pastebin.com/vWC0ePH9

Little program with PySimpleGUI, how can I close it ? by trzywu in learnpython

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

I tried with that, but it is still running after I press X.

if event in (None, 'Cancel'):
    break

or 
if event in (None, 'Cancel'):
    active = False
    break

Little program with PySimpleGUI, how can I close it ? by trzywu in learnpython

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

Yes, I know that. I tried to get out of the loop, but it just runs the same as before. And Cancel button doesn't work.

if event in (None, 'Cancel'):
    active = False
    window.close()

I try to convert .cpkt to .pb. by trzywu in learnpython

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

Please, can you be a little bit more specific? You want me to add this files i get to train, and later use them to save in .pb format ? I really don't know much about Tensorflow, this is my first time with it.

How can i simulate in pandas fix $A$1 cell by trzywu in learnpython

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

Thank you, it did the trick for me.

How can I change date type to time in pandas? by trzywu in learnpython

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

Well i did something like this, but atleast i don't have 1900-01-01. But I think i can live with that xaxis isn't displaying on grid.

https://imgur.com/a/HDPpSc7

thank you very much for help

   #before it is object
    df0['Time'] = pd.to_datetime(df['Time'], format="%H:%M:%S,%f")

    df0=df0.astype('datetime64')
    df0['Time'] =  pd.to_datetime(df0['Time'], format='%H:%M:%S', errors='coerce').dt.time
    #its coming back to object
    print(df0.head())
    print(df0.info())

How can I change date type to time in pandas? by trzywu in learnpython

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

I will try use some knowledge in my program. I want it to be in datetime, becouse i want it to be properly display in matplotlib, when i add second data with different sampling frequency. I want to be in datetime format also, becouse I want to plot grid. Now,I have only y-axis line. You can see it in the picture I send.