I like to download one package's source and study it in an editor. It allows me
to open the whole package as a project and let me jump from a reference in one
file to its definition in another file back and forth. It will be even better
if it can handle the import modules too. (Maybe this is too
PyCharm takes you to the source code within the editor for any
variables/functions/classes/modules if you ctrl+click on what you want to
see. It allows you to browse the relevant bits of code quickly, as well as
let you change them in your local environment if need be.
That way you don't have to d
On 19Aug2019 08:52, Paul St George wrote:
On 19/08/2019 01:31, Cameron Simpson wrote:
On 18Aug2019 17:29, Paul St George wrote:
On 18/08/2019 02:03, Cameron Simpson wrote:
1: Is image01.tif a real existing file when you ran this code?
Yes. image01.tif is real, existing and apparent.
But in wh
The plan for an app that I'm doing was to use SQLite for data and to
hold the preference settings as some apps do. The plan was changed last
week to allow the user to select the location of the data files (SQLite)
rather than putting it where the OS would dictate. Ok with that, but it
brings
Hi Dave,
> The plan for an app that I'm doing was to use SQLite for data and to hold the
> preference settings as some apps do. The plan was changed last week to allow
> the user to select the location of the data files (SQLite) rather than
> putting it where the OS would dictate. Ok with tha
On 8/19/19 9:22 AM, Malcolm Greene wrote:
Hi Dave,
The plan for an app that I'm doing was to use SQLite for data and to hold the
preference settings as some apps do. The plan was changed last week to allow
the user to select the location of the data files (SQLite) rather than putting
it whe
Hi Dave,
> I agree that a traditional INI file is the easiest way, especially since
> Python supports them. So if I understand you, your apps look like this:
Yes with the following nuance for our application sized scripts that require
multiple configuration files. In this latter case, we place
Hi,
See my following testings:
$ dig www.twitter.com @8.8.8.8 +short
66.220.147.44
While the tcpdump gives the following at the meanwhile:
$ sudo tcpdump -n 'host 8.8.8.8 and port 53'
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on enp5s0, link-type EN10
plt.figure(1)
plt.plot(history.history["loss"], "b", label="Mean Square Error of training")
plt.plot(history.history["val_loss"], "g", label="Mean Square Error of
validation")
plt.legend()
plt.xlabel("Epoche")
plt.ylabel("Mean Square Error")
plt.xlim(0,200)
plt.show()
plt.savefig(r"C:\Users\aheida
On Saturday, August 17, 2019 at 2:40:14 AM UTC-7, Abdur-Rahmaan Janhangeer
wrote:
> But it is not so easy to combine different memory management paradigms.
Oh, I feel this. I love the look and feel of PyQt5, but object management has
bitten me more than once.
--
https://mail.python.org/mailman
Hi Team,
can you please let me know, How to login the remote Windows machine using
python??
Thanks
--
https://mail.python.org/mailman/listinfo/python-list
On 8/19/19 10:43 AM, Stefan Ram wrote:
Can someone kindly translate my pseudocode to terse Python:
list = \
[ 'afaueghauihaiuhgaiuhgaiuhgaeihui',
'erghariughauieghaiughahgaihgaiuhgaiuh',
'rejganregairghaiurghaiuhgauihgauighaei',
if x: 'argaeruighaiurhauirguiahuiahgiauhgaeuihi',
'r
> On 19 Aug 2019, at 13:43, Dave via Python-list wrote:
>
> The plan for an app that I'm doing was to use SQLite for data and to hold the
> preference settings as some apps do. The plan was changed last week to allow
> the user to select the location of the data files (SQLite) rather than
On 8/19/19 1:53 PM, Barry Scott wrote:
On 19 Aug 2019, at 13:43, Dave via Python-list wrote:
The plan for an app that I'm doing was to use SQLite for data and to hold the
preference settings as some apps do. The plan was changed last week to allow
the user to select the location of the da
Wow, what happened here? I posted this to the Python discussion group as it is
a Python question, not an SQL question. That said, I agree with what you have
said, and that was the plan. Plans get changed. A number of apps. allow the
user to specify the location of data and configuration file
On 19/08/2019 14:16, Cameron Simpson wrote:
On 19Aug2019 08:52, Paul St George wrote:
On 19/08/2019 01:31, Cameron Simpson wrote:
On 18Aug2019 17:29, Paul St George wrote:
On 18/08/2019 02:03, Cameron Simpson wrote:
1: Is image01.tif a real existing file when you ran this code?
Yes. image01.
Rather than starting with all seven strings in the list and deleting one if
a conditional is not true, why not start with 6 elements (with the one in
index 3 missing) and insert the 7th element into the third index?
>>> mylist = ['a', 'b', 'c', 'e', 'f', 'g']
>>> if x:
>>>mylist.insert(3, 'd')
Uh oh. Editor wars.
The most popular choices today are probably PyCharm and VSCode. I prefer
vim with the syntastic plugin (and a few other plugins including Jedi), but
I've heard good things about the other two. And emacs almost certainly can
edit/view Python files well, though I haven't heard
I just mentioned essentially this in another thread, but I really like vim
with syntastic and jedi plus a few other plugins.
I keep all my vim config at http://stromberg.dnsalias.org/svn/vimrc/trunk/
so it's easy to set up a new machine. I haven't used it on anything but
Debian/Ubuntu/Mint recent
> The most popular choices today are probably PyCharm and VSCode. I prefer
> vim with the syntastic plugin (and a few other plugins including Jedi),
but
> I've heard good things about the other two.
Personally, I've been using VSCode with the Python and Vim extensions. I've
used PyCharm as well a
I would recommend checking out WMI: https://pypi.org/project/WMI/
For remote connection as a named user (official WMI docs):
http://timgolden.me.uk/python/wmi/tutorial.html#connecting-to-a-remote-machine-as-a-named-user
Also, another example (unofficial):
https://stackoverflow.com/questions/18961
Nick Sarbicki於 2019年8月19日星期一 UTC+8下午5時33分27秒寫道:
> PyCharm takes you to the source code within the editor for any
> variables/functions/classes/modules if you ctrl+click on what you want to
> see. It allows you to browse the relevant bits of code quickly, as well as
> let you change them in your loc
r...@zedat.fu-berlin.de (Stefan Ram) writes:
> for i in range( len( list )- 1, 0, -1 ):
> if list[ i ]is None: del list[ i ]
list = [x for x in list if x is not None]
--
Alan Bawden
--
https://mail.python.org/mailman/listinfo/python-list
Alan Bawden writes:
> r...@zedat.fu-berlin.de (Stefan Ram) writes:
> > for i in range( len( list )- 1, 0, -1 ):
> > if list[ i ]is None: del list[ i ]
>
> list = [x for x in list if x is not None]
Except 'list' is a bad name to use...
--
Alan Bawden
--
https://mail.python.org/mailman/lis
> Except 'list' is a bad name to use...
Definitely, it's not a good practice to use any reserved names, especially
built-in ones. A pretty common substitute I've seen is "ls", but it would
be preferable to have something more descriptive of the elements within the
list. But, for basic examples, "l
Yes the community edition works fine.
It seems to require a 64 bit version of Windows 7 or higher (I'm not sure
as I haven't used Windows in years).
On Tue, 20 Aug 2019, 03:27 , wrote:
> Nick Sarbicki於 2019年8月19日星期一 UTC+8下午5時33分27秒寫道:
> > PyCharm takes you to the source code within the editor f
26 matches
Mail list logo