Python Forum
Grouping lots of words in lots of txt files: programmer needed
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Grouping lots of words in lots of txt files: programmer needed
#12
Wow, what a patience - writing out this dictionary Doh
In [4]: def upper_index(c):
   ...:     return ord(c) - ord('A') + 1
   ...:

In [5]: upper_index('B')
Out[5]: 2

In [6]: upper_index('Z')
Out[6]: 26
Test everything in a Python shell (iPython, Azure Notebook, etc.)
  • Someone gave you an advice you liked? Test it - maybe the advice was actually bad.
  • Someone gave you an advice you think is bad? Test it before arguing - maybe it was good.
  • You posted a claim that something you did not test works? Be prepared to eat your hat.
Reply


Messages In This Thread
RE: Grouping lots of words in lots of txt files: programmer needed - by volcano63 - May-22-2017, 06:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Python Programmer looking for work Johndg20 1 2,394 Sep-12-2021, 01:21 PM
Last Post: Larz60+
  programmer for my project siliconvalleymusicbrokerscom 1 3,041 Feb-01-2018, 07:51 AM
Last Post: PythonMagic003
  Python programmer needed to integrate GUI in Linux/LinuxCNC blazini36 1 4,361 Aug-18-2017, 03:32 PM
Last Post: victor_cis
  Need hired help from python programmer oj43085 6 6,528 May-10-2017, 06:06 PM
Last Post: nilamo
  Summer programmer needed to teach camp Tampa, Florida MOSI MOSI 0 3,156 Apr-18-2017, 04:55 PM
Last Post: MOSI

Forum Jump:

User Panel Messages

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