User Tools

Site Tools


software:python

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software:python [2020/12/27 05:05] – [Plotly] superwizardsoftware:python [2024/08/03 02:18] (current) – [Python install] superwizard
Line 2: Line 2:
  
 ------------------------------------------------------------------------------------------------------------------------------------------------\\ ------------------------------------------------------------------------------------------------------------------------------------------------\\
 +
 +====== Python install ======
 +
 +<WRAP center round box >
 +2024-08-02
 +
 +    python -m pip install pandas
 +
 +But when you use python -m pip with python being the specific interpreter you want to use, all of the above ambiguity is gone. If I say python3.8 -m pip then I know pip will be using and installing for my Python 3.8 interpreter (same goes for if I had said python3.7).
 +And if you're on Windows there is an added benefit to using python -m pip as it lets pip update itself. Basically because pip.exe is considered running when you do pip install --upgrade pip, Windows won't let you overwrite pip.exe. But if you do python -m pip install --upgrade pip you avoid that issue as it's python.exe that's running, not pip.exe.
 +
 +From <https://snarky.ca/why-you-should-use-python-m-pip/> 
 +
 +
 +</WRAP>
 +
 +====== Wireshark tcpdump to neo4j plot ======
 +
  
 <WRAP center round box > <WRAP center round box >
Line 531: Line 549:
 From <https://plot.ly/python/axes/>  From <https://plot.ly/python/axes/> 
  
 +</WRAP>
  
 +====== Regular Expression ======
 +
 +
 +<WRAP center round box >
  
 2019-05-29 2019-05-29
Line 555: Line 578:
  
 From <https://www.regular-expressions.info/regexmagic.html>  From <https://www.regular-expressions.info/regexmagic.html> 
- 
- 
- 
- 
  
 </WRAP> </WRAP>
Line 607: Line 626:
 </WRAP> </WRAP>
  
-====== Regex Testor ======+====== processdokuwikifile ======
  
 <WRAP center round box > <WRAP center round box >
Line 642: Line 661:
  
 From <https://www.vipinajayakumar.com/parsing-text-with-python/>  From <https://www.vipinajayakumar.com/parsing-text-with-python/> 
 +</WRAP>
  
 +====== PASS BY OBJECT REFERENCE (Case in python): ======
  
 +<WRAP center round box >
  
 2019-04-08 2019-04-08
software/python.1609045540.txt.gz · Last modified: by superwizard