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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,924
» Latest member: Fobertsmene
» Forum threads: 38,719
» Forum posts: 175,490

Full Statistics

Online Users
There are currently 36 online users.
» 0 Member(s) | 31 Guest(s)
Apple, AOL, Google

Latest Threads
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
3 hours ago
» Replies: 2
» Views: 327
New to Python and Pygame
Forum: Game Development
Last Post: JMcM
7 hours ago
» Replies: 7
» Views: 1,615
Python Installation issue
Forum: News and Discussions
Last Post: Dev
7 hours ago
» Replies: 4
» Views: 15,544
New to the field
Forum: News and Discussions
Last Post: Larz60+
10 hours ago
» Replies: 1
» Views: 277
Too much space between gr...
Forum: GUI
Last Post: deanhystad
Today, 02:34 AM
» Replies: 1
» Views: 305
Select Python comment (#)...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 01:34 PM
» Replies: 5
» Views: 613
I'm trying to make a piec...
Forum: General Coding Help
Last Post: MilesWeb
Yesterday, 06:11 AM
» Replies: 5
» Views: 1,392
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Stowersw
Sep-12-2025, 03:23 PM
» Replies: 4
» Views: 2,369
Python and excel vba codi...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-12-2025, 11:09 AM
» Replies: 2
» Views: 1,085
Web Scrapper to find prov...
Forum: General Coding Help
Last Post: Olivia
Sep-12-2025, 08:36 AM
» Replies: 1
» Views: 2,329

 
  Need some help with list and dictionary .txt
Posted by: GeekLife97 - Jan-20-2017, 12:06 AM - Forum: Homework - Replies (3)

Hello buddies, I need some help with 4 questions , thanks for your time
 
Implement a program for:
• Read data in files of format similar to the ex..... More

Print this item

  The problem of the cuts
Posted by: ics - Jan-19-2017, 07:35 PM - Forum: Homework - Replies (8)

Hi.
I received this problem as one of my homework problems, and I'm catching my ears with it. I would like some help with it:

Python 2.7

The pr..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  data input while debuggin... 3 hours ago fred1232 deanhystad General Codin...
  New to Python and Pygame 7 hours ago JMcM JMcM Game Developm...
  Python Installation issue 7 hours ago RFHill Dev News and Disc...
  New to the field 10 hours ago Polybunny Larz60+ News and Disc...
  [Tkinter] Too much space ... Today, 02:34 RonR deanhystad GUI
  Select Python comment (#)... Yesterday, 13:34 SpongeB0B snippsat General Codin...
  I'm trying to make a piec... Yesterday, 06:11 Alislugacool MilesWeb General Codin...
  Seeking feedback: dynamic... 09-12, 15:23 Bona2000 Stowersw General Codin...
  Python and excel vba codi... 09-12, 11:09 odiez DeaD_EyE General Codin...
  Web Scrapper to find prov... 09-12, 08:36 physalis2099 Olivia General Codin...
  403 Error 09-11, 20:39 CaptainNewb snippsat Web Scraping ...
Most views
  The best Prog... 575566
  Tutorial Requ... 496571
  Web Scraping ... 439646
  Newbie with P... 383260
  New Users Int... 364335
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12087
buran 8174
snippsat 7366
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Fobertsmene Today
jeremyn24503 Today
homataheri Today
Dev Today
RonR Yesterday

User Panel Messages

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