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,395
» Latest member: azam
» Forum threads: 38,823
» Forum posts: 176,027

Full Statistics

Online Users
There are currently 39 online users.
» 1 Member(s) | 32 Guest(s)
Bing, Internet Archive, Google, Applebot, AOL, azam

Latest Threads
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
8 hours ago
» Replies: 1
» Views: 62
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Yesterday, 09:12 AM
» Replies: 1
» Views: 4,593
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 08:37 AM
» Replies: 4
» Views: 185
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Yesterday, 07:27 AM
» Replies: 7
» Views: 3,601
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 154
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 299
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,113
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,964
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 181
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 117

 
  what is my standard in python currently?
Posted by: hsunteik - Jan-19-2017, 10:34 AM - Forum: General Coding Help - Replies (3)

Is there a way to measure how good am I in python(beginner,intermediate,master,advanced,professional,etc)by the things I know?

I don't know what I ..... More

Print this item

  Find the complement of a number
Posted by: landlord1984 - Jan-19-2017, 07:50 AM - Forum: General Coding Help - Replies (4)

I want to find the complement of a number
For example:

The binary representation of 5 is 101 (no leading zero bits), and its complement is 010. So yo..... More

Print this item

  Methods
Posted by: infernoblaze - Jan-19-2017, 06:20 AM - Forum: Homework - Replies (13)

Does anyone here knows how to do methods inside a class? 
I need help to find:

[font=Courier New][size=x-small][font=Times New Roman][size=large]1..... More

Print this item

  i thought everything was utf-8 in python3
Posted by: Skaperen - Jan-19-2017, 05:46 AM - Forum: General Coding Help - Replies (10)

i thought everything was utf-8 in python3.  but apparently, this is not so.   what suggests this to me is the "ascii" in the error message.

this is..... More

Print this item

  Why am I getting a type error?
Posted by: WagmoreBarkless - Jan-19-2017, 02:01 AM - Forum: Data Science - Replies (7)

This should be simple.

I am using NumPy's ndarray, and taking the shape() of the 1st element like this:X.shape[0]. As expected, this is an integer th..... More

Print this item

  Problem of getting XLS file data into python
Posted by: klllmmm - Jan-19-2017, 01:50 AM - Forum: Data Science - Replies (3)


.xls   May.XLS (Size: 50.75 KB / Downloads: 206)
.xls   Apr.XLS (Size: 54.54 KB / Downloads: 199)
I'm trying to get the data from 2 XLS files into python. These XLS files were exported files from SAP system.

How..... More

Print this item

  meta array question
Posted by: meems - Jan-18-2017, 10:03 PM - Forum: Data Science - Replies (5)

I'm modelling a 3D space.

I'd like to create a large multi dim array , like numpy.empty((720,720,720),dtype=object) in size, but anticipate for mos..... More

Print this item

  PyQt5 Question
Posted by: Miton - Jan-18-2017, 09:51 PM - Forum: General Coding Help - No Replies

Hello,

[color=#333333][size=small][font=..... More

Print this item

  Time complexity different between operating systems. Why?
Posted by: Mekire - Jan-18-2017, 09:26 PM - Forum: News and Discussions - Replies (2)

Mekire: Migrating a thread from the old forum which I think provided good discussion so as to avoid linking to the dead forum...... More

Print this item

  Infinitely repeating 2D map
Posted by: schmidtbag - Jan-18-2017, 08:36 PM - Forum: Game Development - Replies (8)

I'm creating a 2D game with a top-down camera.  I think something that would make the game a lot better is if I could have the map infinitely repeat i..... More

Print this item

  [split] Time Complexity of Counting
Posted by: Mekire - Jan-18-2017, 07:52 PM - Forum: General Coding Help - Replies (9)

micseydel speaking here: this is a split from https://python-forum.io/Thread-List-show...-instances

[quote='wavic' pid='849..... More

Print this item

  Queuing the file content and run the thread.
Posted by: pythonlover - Jan-18-2017, 07:05 PM - Forum: General Coding Help - Replies (8)

Hello,
I have a list of network devices in a file (each line is a device). I am passing each device or each line of that file as an argument to a cur..... More

Print this item

  leading zeros
Posted by: kerzol81 - Jan-18-2017, 06:38 PM - Forum: General Coding Help - Replies (7)

Hi,

A wrote a script that moves files into folders according to the files creation time, but I could not figure out how to add a leading zero to th..... More

Print this item

  How to store python output into a file?
Posted by: edithegodfather - Jan-18-2017, 06:14 PM - Forum: Web Scraping & Web Development - Replies (5)

hey guys,

i've recently finished a web crawler app for an ads website that prints the ad title, ad link and the number of views each ad has.
the c..... More

Print this item

  Streamline this format code
Posted by: birdieman - Jan-18-2017, 05:54 PM - Forum: General Coding Help - Replies (11)

Assuming each variable is to be formatted the same way, is there a way to avoid coding '${:,.0f}' in front of every variable that is to be printed on ..... More

Print this item

  Scheduler runs but then fails
Posted by: marciokoko - Jan-18-2017, 05:25 PM - Forum: General Coding Help - Replies (2)

I have this scheduler code:

[python]
# class to hold read and write
#!/usr/bin/env python

import serial
import logging
import time, datetime
from fi..... More


Attached Files

Thumbnail(s)
   
Print this item

  Print line
Posted by: eftemie0000 - Jan-18-2017, 05:22 PM - Forum: General Coding Help - Replies (14)

How can i use a printed line as a varible?
I mean "a printed line (adsialdh) = x"

Print this item

  Is the Python website good for learning Python?
Posted by: OnisionTheOninonBoy - Jan-18-2017, 04:41 PM - Forum: General Coding Help - Replies (18)

Does it teach you everything?

Print this item

  How to put class method into new module?
Posted by: California - Jan-18-2017, 04:05 PM - Forum: GUI - No Replies

Hello everyone, this is my first post here. Hope to get some help if possible.
I have simple script which indicates state of checkBox widget which is..... More

Print this item

  Unable to assign selected values from existing list to an empty list
Posted by: haiderhussain - Jan-18-2017, 02:21 PM - Forum: General Coding Help - Replies (5)

Hello experts,

Python version : 2.7.10

I am using the below code for assigning the elements : a,b,c,d,e to the list : cities_list.

In order t..... More

Print this item

  Gridding and ploting
Posted by: Felipe - Jan-18-2017, 11:53 AM - Forum: Data Science - Replies (2)

Hi guys,

I have a txt file with 4 columns. The first two (y,x) are coordinates and the last one (z) is density. Here's my input:

[output]
    y..... More

Print this item

  (beginner) How do I insert a restart game option?
Posted by: hshe2 - Jan-18-2017, 11:33 AM - Forum: General Coding Help - Replies (1)

Hey there. I started learning code yesterday and my second program is a dice rolling game. The object is to roll a higher number than the computer. Th..... More

Print this item

  Psycopg2 import files from another map
Posted by: BluezamX - Jan-18-2017, 11:23 AM - Forum: Networking - Replies (1)

For a school project I'm working with Psycopg2 and PostgreSQL. However, when I try to run
[color=#000000][size=x-small][font=Courier New]connection =..... More

Print this item

  My code doesn't work.
Posted by: Loueegee - Jan-18-2017, 11:10 AM - Forum: General Coding Help - Replies (6)

My code is supposed to display options after you enter a choice but it doesn't.

[python]bank = 50000
password = "Heil"
weapon_imports = ("3 RPGS,..... More

Print this item

  Can OpenGL object be overlap?
Posted by: hsunteik - Jan-18-2017, 10:49 AM - Forum: General Coding Help - Replies (4)

lets say I create a cube with OpenGL in Python at x,y,z coordinate 5,5,5 respectively.
Then,I create another cube at the same coordinate,will the obj..... More

Print this item

  detect Multiple faces using dlib
Posted by: vijaysagi - Jan-18-2017, 10:04 AM - Forum: General Coding Help - Replies (1)

Hi all,

My requirement is i need to detect multiple faces in a single image.  The following code is able to read only single face. Pls suggest how ..... More

Print this item

  what i am currently coding
Posted by: Skaperen - Jan-18-2017, 02:39 AM - Forum: Bar - No Replies

i am currently coding a function that is given a list of lists of strings that makes up a list of posix/unix/linux commands that make up a command pip..... More

Print this item

  Error in computing FFT operation
Posted by: raady07 - Jan-18-2017, 01:33 AM - Forum: Data Science - Replies (1)

Python 3.5
Tensorflow GPU

Hello, 
I am trying to perform a fft operation on a variable
[python]
x = tf.Variable([1,2,3,4,5],df.type =tf.float32..... More

Print this item

  trac programming
Posted by: ichabod801 - Jan-17-2017, 11:36 PM - Forum: General Coding Help - Replies (4)

So I've been using trac for my latest project. (It's a wiki based ticket tracking system written in Python). It's written in Python, and there is a Py..... More

Print this item

  Some help with those lines
Posted by: eftemie0000 - Jan-17-2017, 07:55 PM - Forum: General Coding Help - Replies (1)

import send_mail
f = open('emails.txt', 'r')
for line in f:
print line
for EMAIL in send_mail
execfile('send_mail.py')
f.close()

I want to make a loo..... More

Print this item

  String out of range error
Posted by: Salah71 - Jan-17-2017, 06:37 PM - Forum: General Coding Help - Replies (11)

I am trying get this code for my HS class. I don't know much about python, i know the basics. We are trying to create strategy in Prisoners Dilemma. I..... More

Print this item

  List showing running total of instances
Posted by: Pie_Fun - Jan-17-2017, 04:26 PM - Forum: Homework - Replies (11)

Hi Folks,

to try and explain what I'm trying to do
Say I have a list of numbers
48,52,55,48,52,55,60,62,48
what I want is a corresponding list ..... More

Print this item

  Help with parsing strings!
Posted by: Cenzoooo - Jan-17-2017, 04:12 PM - Forum: General Coding Help - Replies (5)

Hello Python community!

I have problems with simple script which i created for gathering specific data from routers, so I would appreciate your hel..... More

Print this item

  subprocess.call change color of shell
Posted by: Aquaplant - Jan-17-2017, 02:11 PM - Forum: General Coding Help - Replies (8)

Hello there,
I am using the package 'subprocess' to call some programs with parameter shell=True. Now I wish to change the color of the produced outp..... More

Print this item

  PROBLEM WITH RUN A PRORAMME
Posted by: ALADDIN_1978 - Jan-17-2017, 01:06 PM - Forum: General Coding Help - Replies (1)

Here is the code

*************************

[python]import codecs 
from math import sqrt

users = {"Angelica": {"Blues Traveler": 3.5, "Broken..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Opencv findContours Q 8 hours ago jogl Pedroski55 General Codin...
  Struggles I Faced While E... Yesterday, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... Yesterday, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... Yesterday, 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
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
Most views
  The best Prog... 580414
  Tutorial Requ... 519589
  Web Scraping ... 442785
  Newbie with P... 386985
  New Users Int... 386557
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
azam Today
zcharlesoogleto9533 Today
MaxTranslate Yesterday
pizofreude Yesterday
RockHound_Z12 Yesterday

User Panel Messages

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