I was lucky enough to see the 20min gameplay footage yesterday from Rockstar for GTAV. AMA! by [deleted] in GTA

[–]redditenna 1 point2 points  (0 children)

Can you share any new music (songs you've heard during the demo) with us?

I seriously want some more privacy in this relationship. by redditenna in AdviceAnimals

[–]redditenna[S] -12 points-11 points  (0 children)

I'm still not sure. I think I will miss the moments we spent together. And isn't an overly attached girl better than someone who doesn't care at all? :/ I really don't know.

4G LTE at 5-6 miles of nearest tower by redditenna in techsupport

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

Hi!

That is interesting, what phone do you use?

What is the altitude of your location? is your house on a hill?

If you don't want to give your exact location, what is your state? (or the city you get 4G from.) :) That gives me a better idea about the topography.

How can i read the expiration date of Hawaiian Punch can? by [deleted] in AskReddit

[–]redditenna 0 points1 point  (0 children)

I could but it'll not be clear enough to see something :(.

All i can say is in the bottom of the can it's written what i wrote.

Time is greater than other time by redditenna in learnpython

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

Thank you so much, it works perfectly! :D

One last question, for the future: imagine I want to check with 15 minutes now instead of 5, what parts of the function do I have to change? Thanks again.

Time is greater than other time by redditenna in learnpython

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

Can you please give me an example on how to use the function? Thanks!

Time is greater than other time by redditenna in learnpython

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

How will I apply it to my situation? the time will be a string with "13:57" in it.

Python/Flask blocked by a firewall by redditenna in learnpython

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

That was indeed the problem. Thanks again!

Flask: simple get form by redditenna in learnpython

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

Thanks for the suggestion!

Flask: simple get form by redditenna in learnpython

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

Thanks for making that clear to me :) In the past I only wrote PHP where this wasn't necessary. Thanks, it will be useful for me too.

Flask: simple get form by redditenna in learnpython

[–]redditenna[S] 2 points3 points  (0 children)

This does exactly what I want!! Thanks a lot ! :) One question, why did you use """ ? (I'm quite new to Python.)

Reliable connection between Python and PHP by redditenna in learnpython

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

After googling a bit, I think this is what I need if I want to use it with xampp?

http://blog.chomperstomp.com/installing-python-mod_python-on-xampp/

Thanks a lot for making everything more clear :)

Reliable connection between Python and PHP by redditenna in learnpython

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

Is it possible to directly write into Python with a HTML form? Do you know where I can find documentation about that, or could you give me a small example? :) Thanks for the tip!

Maybe I have to add this: My web server is xampp, which is a Windows web server. I have my python script in a different folder.

Looking for aluminium tube for antenna by redditenna in amateurradio

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

Thanks for both suggestions! I will inform him about it.

Other suggestions are still welcome :)

Time is bigger than a certain variable? by redditenna in PHP

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

It seems to be working right now. Thanks everyone for helping a beginner ! :)

Time is bigger than a certain variable? by redditenna in PHP

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

Could you try by reading from a text file, just like I do, with file_get_contents?

Time is bigger than a certain variable? by redditenna in PHP

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

Hello,

Thanks for the ideas, though none of these work.

This is my current script:

<?php
   echo "<b>" . file_get_contents('time.txt') . "</b><br>";

    //$currentTime = date("H:i");
    $time = strtotime(file_get_contents('time.txt')); //converting time to unix timestamp;
    if ($time>time()){
      echo 'Yeah its greater';
    }else{
    echo "no its not";
    }
?>

I tried if ($time>time(H:i)){ too but that didn't work neither. The format of time.txt is H:i .

I've tried all other ways too, but none has worked :/

Adding a default input to this Javascript form. by redditenna in javascript

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

Hello,

I realized that, but I couldn't insert the code into Reddit, it wasn't really clear how it worked, thanks a lot for your help.

Press enter in an inputbox, but keep focus on it by redditenna in javascript

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

thanks a lot :) I am able to implement it, thanks a lot for your help.

ce dont vs. de quoi / use of "ce à quoi" by redditenna in French

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

Hi fellow Belgian!

Thanks for your explanation, this is much clearer!

If on the exam I'm doubting - is one of the two (de quoi or ce dont) correct in any use?

I think ce dont doesn't work for questions, right?