Python Forum
Any Perl users here?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Any Perl users here?
#1
As a Perl user (and certainly no expert) I am slowly learning Python, and liking it. I will probably keep perl for text and file processing, but I want to expand my horizons into data and web management, which is clearly Python's forte from what I have seen so far. (Web scraping with only a few lines of code? Freaking astounding! )

That said, I am unfamiliar with some of the more fundamental aspects, usually not mentioned or explained well in the Python texts and videos I have seen.

Particularly package and version management.

Here I have Debian with both Python 3.7 and 2.7 installed. For py2 scripts I just use #!/usr/bin/python2 and likelwise /python3 headers in scripts. All seems well. Is there any reason I would need pyrenv (which appears to be a sandbox)?
Will Python3.5 and 3.6 scripts (and modules)run under 3.7. Can I convert them to? Are there any faqs for replacing version requirements on packages/scripts in the 3.x series to make them run on 3.7?

I ask this because on Win I have a rather large Python 3.5 install and would like to use its modules on 3.7(Anaconda).

Also I am unfamiliar with the /Wheel and /HTTP directories in the User profiles. As a Perl user I see these as just a variation of the useless CPAN/Build directory which cpan purges periodically.

Also I reallly dislike the hex obfuscation, and was wondering if there was a way to get rid of it (I can if necessary script something to symlink package names to the base directory) - but this would not work on /HTTP dir.

I have made a similar inquiry and another thread, which was summarily ignored. Are these questions excruciatingly stoopid???

Cannot seem to edit. Above "Will Perl3.5 and 3.6 scripts" shoulkd, of course be PYTHON instead.
Reply


Messages In This Thread
Any Perl users here? - by millpond - Aug-02-2019, 08:24 PM
RE: Any Perl users here? - by Gribouillis - Aug-02-2019, 09:24 PM
RE: Any Perl users here? - by millpond - Aug-03-2019, 12:26 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  converting Perl to Python Skaperen 3 4,266 Jun-26-2019, 07:10 PM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020