> On Sat, 29 Oct 2016 12:59:45 -0700 (PDT), said:
> 3. This is the most confusing part for me. I really don't get the Julia
> equivalent of these two lines. if __name__ == "__main__":
> main(sys.argv[1:])
It seems like a lot of members of the Julia community do not really like
this usage,
On Sat, Oct 29, 2016 at 4:21 PM, wrote:
> I don't understand what the post means. Could you please elaborate a bit?
>
>
> On Saturday, 29 October 2016 22:04:32 UTC+2, Yichao Yu wrote:
>>
>> > 3. This is the most confusing part for me. I really don't get the Julia
>> > equivalent of these two line
I don't understand what the post means. Could you please elaborate a bit?
On Saturday, 29 October 2016 22:04:32 UTC+2, Yichao Yu wrote:
>
> > 3. This is the most confusing part for me. I really don't get the Julia
> > equivalent of these two lines. if __name__ == "__main__":
> > main(sys.argv[
> 3. This is the most confusing part for me. I really don't get the Julia
> equivalent of these two lines. if __name__ == "__main__":
> main(sys.argv[1:])
None.
>
> Could you please clarify my questions?
>
>
> On Thursday, 27 October 2016 15:05:57 UTC+2, Yichao Yu wrote:
>>
>> On Thu, Oct 27, 2
There are a few doubts that I may want to clarify as of now. Thanks a lot
for the link @Yichao, @Josef.
1. The function definition in python is def main(argv). I wrote function
main(args) in the Julia equivalent. Is this the right way to do it?
2. For the line in Python args = parser.parse_args
On Thu, Oct 27, 2016 at 8:48 AM, wrote:
> Hi Josef,
>
> I shall paste a function that I used for my python files. Would it be okay
> if I asked you for some help to do the same in Julia? I've implemented most
> of the code but this still remains to be done in Julia and I wasn't aware
> such a pac
Hi Josef,
I shall paste a function that I used for my python files. Would it be okay
if I asked you for some help to do the same in Julia? I've implemented most
of the code but this still remains to be done in Julia and I wasn't aware
such a package exists. Thanks a lot
def main(argv):
pa
> On Thu, 27 Oct 2016 04:51:42 -0700 (PDT), said:
> Hello, I've been using Julia for a month probably and I would now
> like to execute a bash script containing a set of commands to run
> the same file for different arguments.
Within Julia, you can inspect the global constant ARGS.
See http: