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 37 online users.
» 0 Member(s) | 31 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

 
  Calculation Module
Posted by: king2385 - Mar-10-2017, 02:23 PM - Forum: Homework - Replies (3)

When landing an aircraft, the pilot needs to calculate the landing distance over a fifty foot (50') object. This calculation is based on headwind spee..... More

Print this item

  Where should I enter my own values in this script?
Posted by: mythiccocoa - Mar-10-2017, 01:52 PM - Forum: Data Science - Replies (1)

I am new to python and this community. Please excuse any silly mistakes or irrelevant content.
I have found this script which prepares data for caffe..... More

Print this item

  Calling a Returned Value to Another Function
Posted by: valerydolce - Mar-10-2017, 12:55 PM - Forum: Homework - Replies (9)

Hi Gigs,

I'm trying to call a value obtained from a function to another function. In this case, i want to call var_name into [icode]get_dirs_from_p..... More

Print this item

  PyQt4 text edit align text center
Posted by: iFunKtion - Mar-10-2017, 11:46 AM - Forum: GUI - Replies (3)

Hi there,

Is there a way of aligning the text in a text edit widget so that it is centered? There is no way of doing this in the Designer, and I ha..... More

Print this item

  numbered lists
Posted by: Skaperen - Mar-10-2017, 05:54 AM - Forum: Board - Replies (3)

at the end of the BBCode document there is:

Quote:Valid list start index's are... 1 a A i I

how hard would it be to add zero..... More

Print this item

  mkpw: rewriting in python 3
Posted by: Skaperen - Mar-10-2017, 05:33 AM - Forum: News and Discussions - Replies (10)

i have this command originally written in C that i would like to rewrite in python 3.  anyone want to join in?  it takes a length as the only argument..... More

Print this item

  Automating the code using os.walk
Posted by: kiton - Mar-09-2017, 09:48 PM - Forum: Data Science - Replies (20)

So I have a piece of code that works with a single file that is in the root folder:

[python]
import json
import pandas as pd
import numpy as np
impor..... More

Print this item

  Inserting carriage return to string.
Posted by: rhubarbpieguy - Mar-09-2017, 09:35 PM - Forum: General Coding Help - Replies (1)

string='This is sentence 1.Ths is sentence 2.'
print(string) produces: This is sentence 1.This is sentence 2.

However, I'd like to print the strin..... More

Print this item

  accumulator pattern
Posted by: python_learner - Mar-09-2017, 05:36 PM - Forum: Homework - Replies (8)

Write a programm which sums up the first 100 even numbers. + comments

Print this item

  Code Check? Am I right?
Posted by: r6lay - Mar-09-2017, 02:35 PM - Forum: Homework - Replies (3)

Hey everyone so this is my homework assignment and I just wanna make sure my code is right because I'm getting some syntax error 

[color=#333333][s..... More

Print this item

  Python packages - quality
Posted by: j.crater - Mar-09-2017, 07:46 AM - Forum: General Coding Help - Replies (8)

Hello all,

One of more recent topics on this forum (can't recall which one exactly) discussed Python packages. 
It made me wonder, is there any (m..... More

Print this item

  need small help for simple calculation
Posted by: desul - Mar-09-2017, 07:30 AM - Forum: Homework - Replies (6)

Dear All,


how to calculate the below problem:

[python]
from __future__ import division

4/6

Out[3]: 0.6666666666666666


when I am tr..... More

Print this item

  Leap Year
Posted by: MartinEvtimov - Mar-09-2017, 06:19 AM - Forum: General Coding Help - Replies (14)

[python]def get_year():
   print("Please input year:")
   year = int(input())
   return year

def if_else(year):
   if (year % 4 == 0):
     pr..... More

Print this item

  Input a number with any number of digits and output it in reverse order of digits.
Posted by: sarada2099 - Mar-09-2017, 05:51 AM - Forum: General Coding Help - Replies (6)

hi, i'm a python beginner. few months ago i've started learning python and it's getting interesting to me everyday. So, today i need some help on an i..... More

Print this item

  Keyword cannot be an expression
Posted by: YorgosTheProgramer - Mar-08-2017, 10:15 PM - Forum: Homework - Replies (1)

I just started doing a programing course on python and am running into this error with this simple tax calculator . Would anyone be able to explain to..... More

Print this item

  if with range
Posted by: Federer - Mar-08-2017, 08:36 PM - Forum: Homework - Replies (6)

Good Day,
I want to check if any of this variable over 200 must print not within range can someone help me how can I do it

[python]
a = 12
b = ..... More

Print this item

  help on understanding this output
Posted by: landlord1984 - Mar-08-2017, 08:05 PM - Forum: General Coding Help - Replies (1)

>>> flist = []
>>> for i in range(3):
...     flist.append(lambda: i)
...
>>> [f() for f in flist]   # what will this print out?
..... More

Print this item

  Receiving large data stream using Pyserial
Posted by: trampas - Mar-08-2017, 08:01 PM - Forum: General Coding Help - Replies (1)

I am having a problem where I am streaming binary data from a micro to PC and I want to graph the data. 

The data is binary data coming in around 1..... More

Print this item

  Issue plotting coordinates using Basemap
Posted by: kiton - Mar-08-2017, 07:34 PM - Forum: Data Science - Replies (5)

Having extracted geo coordinates from Twitter JSON, I created a new pandas data frame:

[python]
    df3
    Out[140]:
    lat lon pos
    63 -2..... More

Print this item

  where has your https gone? re-post
Posted by: GustavoWoltmann - Mar-08-2017, 04:01 PM - Forum: Board - Replies (3)

Where has your https gone? When I visited your forum before the hack, I had https, I think. Has your https also been hacked?

Print this item

  ebaysdk and pulling back customer feedback
Posted by: midwestbrad - Mar-08-2017, 01:41 PM - Forum: General Coding Help - Replies (1)

[color=#333333]I am working with ebaysdk and pulling back customer feedback. I get the results back, but do not know how to parse them correctly. I th..... More

Print this item

  (Lead) Python Developer - Amsterdam
Posted by: samueldb93 - Mar-08-2017, 12:39 PM - Forum: Jobs - No Replies

Company Profile

[color=#000000][size=small]Our Client is an ambitious funded startup from Amsterdam that is..... More

Print this item

  Run Python in iPad/iPhone
Posted by: Analyser - Mar-08-2017, 08:08 AM - Forum: News and Discussions - Replies (6)

Analyser is the only iOS app that integrated both Python and R engines. build-in popular Python modules for stats/machine learning/image processing: n..... More

Print this item

  issue on tree
Posted by: desul - Mar-08-2017, 04:13 AM - Forum: General Coding Help - Replies (5)

Hi, 

I need to know what is wrong with this code and why I am getting errors and how can solve it......

[python]
def leaves(tag_words):
    fr..... More

Print this item

  long lines, longer than 72 or 79
Posted by: Skaperen - Mar-08-2017, 03:46 AM - Forum: General Coding Help - Replies (1)

i'm cleaning up a lot of code, including trying to make it fit in 72 columns, or at least in 79 columns.  most things are going ok.  a few things are ..... More

Print this item

  Use of Multiple Object
Posted by: arup - Mar-08-2017, 03:39 AM - Forum: General Coding Help - Replies (5)

I want to create two objects of a class. Using these two objects i want to input some numbers into a list which is a member of the class. After inputt..... More

Print this item

  binary trees
Posted by: Nucifera - Mar-08-2017, 03:02 AM - Forum: General Coding Help - Replies (3)

Hi, I'm learning Python by myself, I'm searching for a tutorial for binary trees. could you recommend something?

Thank you

Smile

Print this item

  desktop environment in python
Posted by: Skaperen - Mar-08-2017, 02:04 AM - Forum: News and Discussions - Replies (3)

i am wanting a virtual desktop environment for X windows written entirely in python using only modules in python.  if one does not alrea..... More

Print this item

  Forget about PEP 8
Posted by: ichabod801 - Mar-07-2017, 10:37 PM - Forum: News and Discussions - Replies (17)

This is the real Python style guide.

Print this item

  I need some feedback on this script Please.
Posted by: tannishpage - Mar-07-2017, 08:50 PM - Forum: General Coding Help - Replies (2)

I have made a script for an ftp Client for android. So, it runs on SL4A with the help of PY4A. I made it in python 3. I am a beginner. I have been lea..... More

Print this item

  Adding text to files easy but I need help
Posted by: bodo1025 - Mar-07-2017, 08:12 PM - Forum: Homework - Replies (2)

[color=#404040][size=medium][font=Lato, proxima-nova,]Given a file containing test scores, one per line, we want to have a new file that contains the ..... More

Print this item

  How to use a UDP server and client to setup a chat
Posted by: abrew132 - Mar-07-2017, 07:30 PM - Forum: General Coding Help - Replies (2)

well i am just learning python and i know this is complicated... maybe... idk, but what i am trying to do is: lest say i want to talk to someone on an..... More

Print this item

  Calculate the fewest zip codes, for the largest coverage
Posted by: nilamo - Mar-07-2017, 05:57 PM - Forum: General Coding Help - Replies (4)

This is a problem I'm in the middle of solving, and because I don't want to spend forever on it, I'll probably brute force a solution.

Suppose ther..... More


Attached Files

Thumbnail(s)
   
Print this item

  Code not working as expected.
Posted by: an_droid - Mar-07-2017, 04:18 PM - Forum: General Coding Help - Replies (4)

The code below works for the single line of code (#), but not when broken up into 3 different assignments (##). Where am I going wrong?



[python..... More

Print this item

  glob for dir listing
Posted by: bluefrog - Mar-07-2017, 02:47 PM - Forum: General Coding Help - Replies (5)

Hi 
I am attempting to list all directories using a glob pattern.
In each case below I cannot obtain a definitive list.

for example:
[code]
>>>..... 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