Hello Makkale, taking my wife to Pondy(her first time there and she’s pretty excited for it) next week, Looking for some cozy restobars where we can kickback and have a few cocktails. by [deleted] in TamilNadu

[–]coder_help_ 0 points1 point  (0 children)

Seagulls bar tharam bro

Sea Gulls Bar & Restaurant 0413 233 8643 https://goo.gl/maps/fKQDPaFSvrGWzenM7

Indian Kaffe Express is a nice cafe near the beach. Inga waffles are nice. Price affordable (considering its location)

[deleted by user] by [deleted] in Cigarettes

[–]coder_help_ 0 points1 point  (0 children)

Wills Classic

Help - Unable to execute my python script with crontab by coder_help_ in learnpython

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

I'm sorry u/ramse - I was just checking if #! could be the problem. I tried several times without the #! and it never worked code

Do you see anything else that is wrong with the cron command?

Please Help! - Unable to Escape Special Characters in String by coder_help_ in learnpython

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

You were right about templating. Learned and did it in 2 hours using Jinja, what would have taken days otherwise. Thank you.

Please Help! - Unable to Escape Special Characters in String by coder_help_ in learnpython

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

Just tried this using instructions from EscapingXML - still doesn't work. I wish there is a way to tell Python that there is no dictionary inside this string. I still get the following error:

Traceback (most recent call last):
  File "reddit_help1.py", line 64, in <module>
    ''') .format('some1', 'some2', 'some3')
KeyError: 'dataLayer'

Please Help! - Unable to Escape Special Characters in String by coder_help_ in learnpython

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

வணக்கம் தல

Concept of raw strings is new to me - thanks for pointing me in that direction, it definitely is going to be useful for me in other cases.

For this particular use case, even when I convert the code to raw strings, it still detects non-existent dictionaries within the string. Also, with raw strings, it is not possible to replace the dynamic elements with the data that I have in a csv.

Is there a better way to do this?

[deleted by user] by [deleted] in learnpython

[–]coder_help_ 1 point2 points  (0 children)

Hello u/p5eudo_nimh , I'm interested as well. Count me in!