Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,397
» Latest member: JulioLet
» Forum threads: 38,823
» Forum posts: 176,028

Full Statistics

Online Users
There are currently 41 online users.
» 0 Member(s) | 35 Guest(s)
Bing, Google, Facebook, Facebook Dev

Latest Threads
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
1 hour ago
» Replies: 28
» Views: 15,529
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:11 AM
» Replies: 1
» Views: 127
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,602
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 203
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,618
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 175
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 328
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,127
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,988
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 199

 
  Find offset of binary data in file
Posted by: sparkz_alot - Mar-01-2017, 04:31 PM - Forum: General Coding Help - Replies (3)

Going back to a thread about .wav files (https://python-forum.io/Thread-From-theory-to-pra[url=https://python-forum.io/thread-2247.html]..... More

Print this item

  simple dragon realm gone wrong
Posted by: Darbandiman123 - Mar-01-2017, 02:51 PM - Forum: General Coding Help - Replies (7)

i have a dragon realms game that wont go past asking you what cave to go in here is the code
[python]
#this is dragon realms

import time
import ..... More

Print this item

  Lists-compare lists
Posted by: elhetch - Mar-01-2017, 11:07 AM - Forum: General Coding Help - Replies (7)

i have a 2 set of lists each set has 4 sets , i would like to compare the  1st list(1st set) with the 2nd list (2nd set):
the code doesn't return any..... More

Print this item

  Need help for converting term into slice
Posted by: desul - Mar-01-2017, 07:58 AM - Forum: General Coding Help - Replies (1)

Hi,

How can write a code for converting a term into below form.

e.g         'Biomedical information community'

I want it s..... More

Print this item

  script optimization
Posted by: gohanzdad - Feb-28-2017, 11:47 PM - Forum: General Coding Help - Replies (6)

First post to the forum!  Looking forward to hearing your guys input.

I have a script I'm writing at work that will help us audit our cisco ASA fir..... More

Print this item

  os.system Output
Posted by: S0undwav3 - Feb-28-2017, 10:01 PM - Forum: General Coding Help - Replies (8)

So a new one for me. Any help appreciated.

I would no doubt be able to find the answer eventually, but its nice to talk to other humans from time t..... More

Print this item

  Can I do this faster?
Posted by: Gasimoe - Feb-28-2017, 06:22 PM - Forum: Data Science - Replies (3)

Hello!

I´m making a RSA-encrypting/decrypting program.

When I encrypt I use a list but t,e and n are big numbers so this take a while. Is there..... More

Print this item

  pandas dataframe group by count index
Posted by: metalray - Feb-28-2017, 01:57 PM - Forum: Homework - Replies (5)

Dear Python Experts,
I am trying to group by the column Continent and count each country name (index) in it as well as sum the popluation.
The group..... More

Print this item

  Call out data from 2D array to perform calculation
Posted by: poonck1 - Feb-28-2017, 01:25 PM - Forum: Homework - Replies (1)

I am now doing a linear regression analysis. The input variable is Size. The output variable is Price. I store the set of data in 2D array. I know usi..... More

Print this item

  how to calculate frequency of word in list
Posted by: desul - Feb-28-2017, 01:21 PM - Forum: General Coding Help - Replies (4)

Dear, 

 how to  calculate the frequency of the word in the list  if the word is not in the list  just return  word equals to  zero

Huh **huh..... More

Print this item

Question How to copy files from local system to remote machine?
Posted by: sahan - Feb-28-2017, 10:10 AM - Forum: Networking - Replies (3)

I am new to Python programming.. Please help me how to approach below requirment.

To copy 5MB of data folder from Local system to the remote machin..... More

Print this item

  how can rectify error from the below code
Posted by: desul - Feb-28-2017, 08:45 AM - Forum: Data Science - Replies (5)

Dear ALL,

import numpy

def gettingc1©:
    c1= []
    mystr = c.strip(' ').split()
    for i in mystr[:1]:
        c1.append(i)    
    r..... More

Print this item

  remove python package from openwrt
Posted by: aneeshyarose - Feb-28-2017, 08:16 AM - Forum: General Coding Help - Replies (1)

How to remove a package (multiprocessing) from openwrt

Print this item

  Python 3 Function Annotations
Posted by: charlesprince - Feb-28-2017, 08:03 AM - Forum: Game Development - Replies (9)

is there any example for function annotations. function annotations not working while running a code. is there any way to make it.

Print this item

  how can i print two value in single line
Posted by: desul - Feb-28-2017, 06:01 AM - Forum: Homework - Replies (8)

Dear ALL,

how can I print two valueS in a single line 

print(k )
print(v)

MY OUTPUT SHOULD BE 

Ontology: 3



THANK YOU

Print this item

  Is Python Suitable?
Posted by: summerleas - Feb-28-2017, 04:46 AM - Forum: Data Science - Replies (3)

I don't know if Python is a suitable language for what I want to do. In summary:

Read a file of about 6GB into an array (list I presume). The array..... More

Print this item

  Loop help in game
Posted by: Kgranulo1 - Feb-28-2017, 01:16 AM - Forum: Game Development - Replies (1)

[python]import time
from tkinter import *
tk = Tk()
canvas = Canvas(tk, width=400, height=400)
canvas.pack()
rectangle = canvas.create_rectangle(..... More

Print this item

  Dealing with strings thru mmap in Python
Posted by: doublezero - Feb-27-2017, 09:07 PM - Forum: General Coding Help - Replies (4)

For learning purposes, I am trying to create a script to:
-read a list of keywords and store in a array (done)
-list files in a dir tree (done)
-re..... More

Print this item

  Python 3.6 Installed, But Doesn't Exist
Posted by: Atomike - Feb-27-2017, 08:47 PM - Forum: General Coding Help - Replies (3)

Using Windows 7. Installed Python 3.6, and it won't go. 
I'm trying to change the "Path" file thing in Windows, but I only seem to have the "Python35..... More

Print this item

  Matplotlib Doesn't Work
Posted by: Ian12290 - Feb-27-2017, 03:56 PM - Forum: Data Science - Replies (6)

Hi everyone!

I successfully downloaded both Pygame and Matplotlib on my Mac (OSX), but neither seem to work when I import them.

Matplotlib was s..... More

Print this item

  how to remove none from the for loop
Posted by: desul - Feb-27-2017, 01:30 PM - Forum: General Coding Help - Replies (5)

Dear all,

c= " domain ontologies"

mystr = c.split(' ')   
   
  c= [i for i in mystr[:1]]
        
 print(c)
result 
[outpu..... More

Print this item

  ImiportError class not defined
Posted by: iFunKtion - Feb-27-2017, 01:08 PM - Forum: GUI - Replies (4)

Hi there,

I have an application of which the file structure is as follows each file holds but one class, and that class is the name of the file:
[py..... More

Print this item

  [split] Script has stopped working
Posted by: santhosh - Feb-27-2017, 01:07 PM - Forum: General Coding Help - Replies (1)

hello everyone i am using this script  for mail sending it will sending through gmail but i am  unable to send through my office mail (smtp) i am send..... More

Print this item

  PyQT4 only upper case text
Posted by: iFunKtion - Feb-27-2017, 12:18 PM - Forum: GUI - Replies (1)

Hi there,

Due to the nature of our company font, we never ever want to use it lowercase. Is there a way of making absolutely every bit of text in a..... More

Print this item

  Implementation Pyramid Solitaire
Posted by: qwerty - Feb-27-2017, 11:16 AM - Forum: Homework - Replies (2)

You must create a class map to represent a playing card in the pyramid.
Create a class deck for submission deck of cards in the pyramid.
Here's the ..... More

Print this item

  how to calculate a maximum frequency of theterm in docuemnt
Posted by: desul - Feb-27-2017, 08:47 AM - Forum: General Coding Help - Replies (5)

Dear ALL,

how to retrieve  most occurred  term in the document 


words= [word for word in document ]

word_count = counter(words)

then wha..... More

Print this item

  Worker thread?
Posted by: micko - Feb-27-2017, 07:54 AM - Forum: General Coding Help - Replies (1)

My program does the following:
SQL query results based on GUI (user filled) data is passed to TCPprinter thread in arguments. I'm using threading be..... More

Print this item

  Buy used Python Cookbook 2nd edition though learning Python 3.6?
Posted by: Raptor88 - Feb-27-2017, 05:26 AM - Forum: General Coding Help - Replies (3)

I'm learning Python using version 3.6. 

I can buy a used copy of the "Python Cookbook" 2nd edition for $6.00 including shipping.  But that's via m..... More

Print this item

  calculating length of string
Posted by: desul - Feb-27-2017, 04:46 AM - Forum: General Coding Help - Replies (12)

Dear All,

how can I calculate the length of the string, for e.g

   len(ontology)= 8

but I need it should return 1..... PLEASE TELL ME ANY COM..... More

Print this item

  RAW IO disk access for SD Card
Posted by: shift838 - Feb-27-2017, 03:16 AM - Forum: General Coding Help - Replies (1)

I want to create a python program that will allow a user to read RAW data of sections of an SD card based on start and end sectors then dump it to an ..... More

Print this item

  getting source line number
Posted by: Skaperen - Feb-27-2017, 02:34 AM - Forum: General Coding Help - Replies (4)

is there a way to get the source file line number in some code?  for example:

[python]from __future__ import print_function

# print a message wi..... More

Print this item

  How do I install small size pygtk3
Posted by: harun2525 - Feb-27-2017, 12:53 AM - Forum: GUI - No Replies

hello, i work on pygtk3 but my ptgtk3 module is 200-300 mb. how can i install small size pygtk3 instead of my installed pygtk3 for packaging my progra..... More

Print this item

  Syntax error
Posted by: rsidhu - Feb-27-2017, 12:12 AM - Forum: General Coding Help - Replies (2)

Hi. Trying to learn python using 3.6.0 and having an issue with the print function. 

Using this:
[python]i=1
while i<=5:
           print(i)
  ..... More

Print this item

  Python Hash list check
Posted by: here2learn - Feb-26-2017, 04:17 PM - Forum: General Coding Help - Replies (4)

Hi All, 

First post!

I'm Looking for a bit of help with a small task. 


I am pretty new to python and have a program which generates a list ..... More

Print this item

  Negative lookahead not working, help please
Posted by: MitchBuchanon - Feb-26-2017, 01:48 PM - Forum: General Coding Help - Replies (8)

Hi everyone,

So here is my problem. I have a bunch of tweets and various metadata that I want to analyze for sociolinguistic purposes. In order to ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Merge video with subtitle... 1 hour ago Pavel_47 OtiliaGen General Codin...
  Opencv findContours Q Yesterday, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
Most views
  The best Prog... 580446
  Tutorial Requ... 519780
  Web Scraping ... 442789
  Newbie with P... 386998
  New Users Int... 386668
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
JulioLet Today
aellatsz9602 Yesterday
cruisesfares Yesterday
azam Yesterday
zcharlesoogleto9533 Yesterday

User Panel Messages

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