If we were all able to run your code on our machines and see exactly the error that you're seeing, without us having to manually transcribe a csv from a screenshot, then there'd be none of this frustration of "there must be an error in spot X. No, not that spot, more to the left"
@ZackTarr I won't hammer that because your dupe target is rather old, and some of the suggestions there may be obsolete, or at least a bit suspect. I'm not an expert on doing fancy importing, so I'll leave it for someone who is.
@ZackTarr BTW, rather than making a plain comment when you find a dupe target you should flag the question as a dupe and the system will write the comment for you. And when asking for a dupe closure in here use [tag:cv-pls] dupe URL; that way those of us running cv-pls userscripts will get notified.
That's dumb. There's no particular reason for aliens to choose to reveal themselves during yesterday's launch and not during any of the zillion launches we've had before hand. It's not like the Vulcans revealing themselves to us once we developed warp technology. Simultaneous upright landing technology is real neat and all, but it's not exactly the one thing we needed to take to the stars.
@ArneRecknagel I can never keep the names straight. Whichever group it is that favors overthrowing the government and maintaining order with a series of carefully constructed contract between regular people agreeing not to loot one another, enforced by autonomous military forces which have not the monopoly on force but quite a lot of force nonetheless
The political relation of hostility is really interesting, in so far that groups will get along better the closer their interests are aligned, but will also hate those most that are exactly the same as them, minus one small issue
I've heard that explained as "As an American, the person with a lifestyle most dissimilar to my own is a traditional Australian aboriginal. But there's no point in hating them because they're twelve thousand miles away from me. Easier to hate my neighbor, who drinks pepsi instead of coke, that scoundrel"
> So what makes an outgroup? Proximity plus small differences. If you want to know who someone in former Yugoslavia hates, don’t look at the Indonesians or the Zulus or the Tibetans or anyone else distant and exotic. Find the Yugoslavian ethnicity that lives closely intermingled with them and is most conspicuously similar to them, and chances are you’ll find the one who they have eight hundred years of seething hatred toward.
Clicking the "C" icon displays a message about the speed of light, and if you consider it too slow, to take it up with Einstein. But I could only take it up with him if I traveled backwards in time, by traveling faster than c.
That's some next-level "your call is important to us" maneuver. Die so that you don't have to deal with whiners.
@ArneRecknagel Hi, Sublime Text is a text editor. I bumped into a video that explained why I was having such a problem. I had to install a third part package to get it running. It is now working fine. Thanks for response.
Should I be concerned that they consider me "expert," despite one misclick and a couple of misreads/stupid errors? If that is their assessment, are their courses really worth my time?
Fair point, but range / xrange is one of the first things you learn about in Python, and it gets used an awful lot, so IMHO Python coders ought to know the basics of how it behaves. OTOH, not knowing that it's both possible and efficient in Python 3 to do stuff like 7 in range(1, 10, 2) is excusable.
@Code-Apprentice Dunno, but he's got a bronze badge in Python, and his profile says he's a senior software engineer. OTOH, he's been a member for 9 years, and 11k isn't a lot of rep for that time span.
@idjaw I got expert too, even with some mis-clicks, or mistakes when I knew better. I'd call myself much more of a novice/intermediate than an expert, so I wouldn't give it much credence.
Ok, seriously, what the yam is autodoc doing. My code: > def __init__(self, parameters = None, return_annotation = inspect.Signature.empty): Output: > class Signature(parameters, return_annotation=None) ?????????????????
Hi, I have a quick question. I am using a context manager for reading a text. The lines are returned as byte type even though the format is set as "r" with open('text.txt', 'r') as t:
@AminGhaderi next time, please use the code formatting so the code can be read easier. Also, ensure that the code is formatted as it is in your editor so we have a good indication of how it looks like on your end.
To use the code formatting properly, your code has to be sent as its own separate message
The ZipFile.open documentation doesn't bother mentioning if the file is opened in text mode or binary mode, but it does at least link to io.BufferedIOBase, which is a byte stream
@AminGhaderi Ok. So you need to find out what the encoding is of that file, and decode it to text. If it's UTF-8, you could do line.decode().split('|')
PYQT4 question... So I am trying to use this script to get some of its code to work in a different script. However I cannot get the full functionality of the icons from their program. http://ftp.ics.uci.edu/pub/centos0/ics-custom-build/BUILD/PyQt-x11-gpl-4.7.2/examples/desktop/systray/systray.py Sadly to test you have to set up the same /images folder they have which you can get too by going up a dir in the URL.
Also any clue as to what the import systray_rc is trying to do? I dont see that file in there. I do see the qrc file and copied that to my working dir on my PC but it fails to import.
@ZackTarr I guess there aren't any PyQt experts in here at the moment. I think 1 or 2 regulars do know it, and hopefully they'll see your question when they skim the transcript.
@PM2Ring I used the .encode(). It didnt work, so it is apparently not a unicode format. It is a large code, dataset that can't be open with text editor to check its format.
@AminGhaderi Huh? Why did you use .encode? You have bytes, so you need to decode them. As I said, you need to find out the actual encoding. The .decode method will work if you give the correct encoding name, if you don't give it a name then it uses UTF-8 as the default encoding.
Does it really? I found something in the wiki's but it looks like its mostly just about learning python. Didnt know if you found something else @KevinMGranger
@Permian it is not easy. But it also should not be discouraging. It is challenging and if your interest lies in development, you can use that to motivate you to learn how to work around these challenges.
Q: How long will it take for me to find a project?
A: This depends on a number of factors, but many of our interns find a project around 6-8 weeks from the time the majority of projects are approved.
I've learned not to trust anything that is supposed to happen within that specific timeframe
That's a question from the career FAQ page for a certain company, by the way