Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Recommendation - Mac v Windows
Post: RE: Recommendation - Mac v Windows
As @buran said: upto personal preference. I (for instance) prefer Python coding on Mac. Tried doing it on Windows: bearable, but missing "some essentials" that Mac offers.......
Before Mac, I used Py... |
|
macfanpl |
Bar |
11 |
11,083 |
Oct-06-2020, 12:54 PM |
|
|
Thread: Difference () and []
Post: Difference () and []
I need to know whats the difference in: something() and something[] |
|
macfanpl |
General Coding Help |
3 |
1,866 |
Sep-24-2020, 10:57 AM |
|
|
Thread: File structure
Post: RE: File structure
(Sep-21-2020, 05:07 AM)buran Wrote: don't use dict as variable name - it's built-in functionEasier said than done......
But ok, I will take it to our team's attention |
|
macfanpl |
General Coding Help |
12 |
3,982 |
Sep-22-2020, 01:57 PM |
|
|
Thread: File structure
Post: RE: File structure
Can import instruction be given from within the code?
elif 'dict' in kwargs:
dict = kwargs.pop('dict')
import warnings
warnings.warn("Passing 'dict' as keyword arg... |
|
macfanpl |
General Coding Help |
12 |
3,982 |
Sep-20-2020, 09:46 PM |
|
|
Thread: File structure
Post: RE: File structure
@ metulburr
Shouldnt comment line start with hash(#)? |
|
macfanpl |
General Coding Help |
12 |
3,982 |
Sep-20-2020, 12:35 AM |
|
|
Thread: File structure
Post: RE: File structure
(Sep-19-2020, 05:26 PM)buran Wrote: myclass is module or package where MyClass class is located.Isnt this misleading? |
|
macfanpl |
General Coding Help |
12 |
3,982 |
Sep-19-2020, 09:01 PM |
|
|
Thread: File structure
Post: RE: File structure
(Sep-19-2020, 01:32 PM)buran Wrote: PEP8 on importsThanks for this. Have been reading it and one thing troubles me there.
from myclass import MyClassFrom within class import itself? Or am I misunder... |
|
macfanpl |
General Coding Help |
12 |
3,982 |
Sep-19-2020, 01:46 PM |
|
|
Thread: File structure
Post: File structure
General question: when creating *.py files whats the order of things in file?
1. Imports, class, methods, instructions,
2. Imports, Class, additional imports
?
Is something like x = import y correc... |
|
macfanpl |
General Coding Help |
12 |
3,982 |
Sep-19-2020, 01:13 PM |
|
|
Thread: Unresoved import
Post: Unresoved import
How to resolve unresolved import message upon compilation?
Anyone? |
|
macfanpl |
General Coding Help |
1 |
1,523 |
Jun-28-2020, 03:26 PM |
|
|
Thread: when will Python3 be THE Python?
Post: RE: when will Python3 be THE Python?
(May-27-2020, 11:30 AM)pyzyx3qwerty Wrote: (May-27-2020, 11:14 AM)macfanpl Wrote: Hopefully never ever!What do you mean by that? WHY NOT?
And also, as far as I know, Python 3 has already become th... |
|
macfanpl |
News and Discussions |
13 |
4,390 |
May-27-2020, 12:42 PM |
|
|
Thread: when will Python3 be THE Python?
Post: RE: when will Python3 be THE Python?
|
macfanpl |
News and Discussions |
13 |
4,390 |
May-27-2020, 11:14 AM |
|
|
Thread: How to fully uninstall Python from Windows?
Post: RE: How to fully uninstall Python from Windows?
(May-27-2020, 11:08 AM)snippsat Wrote: (May-27-2020, 10:55 AM)macfanpl Wrote: Nice, but Uninstaller not working.I guess @Winfried shall answer about this,and not you.
why not? Because you say so?!... |
|
macfanpl |
General Coding Help |
6 |
10,565 |
May-27-2020, 11:12 AM |
|
|
Thread: How to fully uninstall Python from Windows?
Post: RE: How to fully uninstall Python from Windows?
Quote:You just use the Windows Uninstaller.
Nice, but Uninstaller not working. |
|
macfanpl |
General Coding Help |
6 |
10,565 |
May-27-2020, 10:55 AM |
|
|
Thread: json to ndjson
Post: RE: json to ndjson
(May-22-2020, 08:01 AM)buran Wrote: @macfanpl: And why should they do that? If they have the output from ndjson.dumps() in a variable, they can use it later, e.g. writing to a file. they can always ... |
|
macfanpl |
General Coding Help |
5 |
9,630 |
May-27-2020, 10:46 AM |
|
|
Thread: json to ndjson
Post: RE: json to ndjson
Instead of output = ndjson.dumps(data)
print(output) use: print(ndjson.dumps(data)) |
|
macfanpl |
General Coding Help |
5 |
9,630 |
May-22-2020, 07:48 AM |
|
|
Thread: Multiline comments
Post: RE: Multiline comments
OK Thank you everyone for your help. |
|
macfanpl |
General Coding Help |
6 |
2,768 |
May-07-2020, 08:14 PM |
|
|
Thread: Multiline comments
Post: Multiline comments
Oneliner start with #
How to make comment block? |
|
macfanpl |
General Coding Help |
6 |
2,768 |
May-06-2020, 04:05 PM |
|
|
Thread: Indentations
Post: RE: Indentations
(Apr-27-2020, 10:55 AM)buran Wrote: (Apr-27-2020, 10:47 AM)macfanpl Wrote: Very unfriendly community here.Actually, you went on the wrong foot from the start with excessive fault language from the... |
|
macfanpl |
General Coding Help |
10 |
4,107 |
Apr-27-2020, 02:25 PM |
|
|
Thread: Indentations
Post: RE: Indentations
Very unfriendly community here. Just like official python infrastructure.
Python sucks heavily at design level.
Delete my account and lets forget about each other |
|
macfanpl |
General Coding Help |
10 |
4,107 |
Apr-27-2020, 10:47 AM |
|
|
Thread: Indentations
Post: RE: Indentations
@buran why are you being sarcastic? |
|
macfanpl |
General Coding Help |
10 |
4,107 |
Apr-27-2020, 10:25 AM |