Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Dictionary multi dimension support
Post: Dictionary multi dimension support

Need Help on below error When i write a code like below dic1 = {} dic1['key1']['key2'] = 'Value1' print(dic1)Below error is encountered Traceback (most recent call last): File "C:/v586150-Prsnl/l...
sripylearn General Coding Help 3 3,016 Aug-14-2018, 03:14 PM
    Thread: Encode string split problem
Post: RE: Encode string split problem

ok thanks great so i need to ensure each line i split has atleast 275 bytes ..... Hmm **cool** didnt think why it was giving such wierd issue
sripylearn General Coding Help 3 3,110 Aug-14-2018, 02:39 PM
    Thread: Encode string split problem
Post: Encode string split problem

Traceback (most recent call last): File "C:/-Prsnl/learning/python/VzPyinP/vzPylib/vzPyfunc.py", line 141, in <module> print(" The Return of Get Struct Splicer {%s}" % format(get_array_str...
sripylearn General Coding Help 3 3,110 Aug-14-2018, 02:16 PM
    Thread: Pattern Split String
Post: RE: Pattern Split String

Perfect !!! Thanks a lot Buran I was looking exactly that encode and decode format string as its done in Perl Struct is the fastest in time processing so will take that route.
sripylearn General Coding Help 6 3,903 Aug-12-2018, 04:20 AM
    Thread: Some help with some calculus and fish
Post: RE: Some help with some calculus and fish

Not sure i got your ask ? You wanted a list of values in Array indexed by day... Python is zero indexed... will you not have to add the weight incremented from math import log, exp start_weight = 35 ...
sripylearn Data Science 4 3,236 Aug-10-2018, 06:08 PM
    Thread: Some help with some calculus and fish
Post: RE: Some help with some calculus and fish

you dont have to reinvent the calculus theories scikit-learn package has various machine learning algorithm readily available http://scikit-learn.org/stable/ Apart from this use matplotlib package t...
sripylearn Data Science 4 3,236 Aug-10-2018, 05:34 PM
    Thread: Pattern Split String
Post: RE: Pattern Split String

Thanks Buran .... I have tried this any better sol than this Can there be any format options rather than hard coding positions for splicer ARRAY = SPLIT(STRING, FORMAT_STRING) ARRAY = Split("Textjsdk...
sripylearn General Coding Help 6 3,903 Aug-10-2018, 05:19 PM
    Thread: Pattern Split String
Post: Pattern Split String

I have an interesting challenge have few patterned records and i need to split it intelligently into a dictionary Eg of records in file are like below. Each Record Type can have different definition...
sripylearn General Coding Help 6 3,903 Aug-10-2018, 04:03 PM

User Panel Messages

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