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,585
» Latest member: Cio
» Forum threads: 38,637
» Forum posts: 175,042

Full Statistics

Online Users
There are currently 515 online users.
» 0 Member(s) | 507 Guest(s)
Bing, Yandex, Baidu, Google, Facebook

Latest Threads
Let user search read-only...
Forum: GUI
Last Post: Winfried
1 hour ago
» Replies: 0
» Views: 24
Using EventSource in Pyth...
Forum: Web Scraping & Web Development
Last Post: snippsat
7 hours ago
» Replies: 1
» Views: 96
need help with tracking a...
Forum: General Coding Help
Last Post: gqdeep01
Today, 02:14 AM
» Replies: 0
» Views: 66
A penny doubled every day...
Forum: Homework
Last Post: DeaD_EyE
Yesterday, 05:26 PM
» Replies: 5
» Views: 186
I have a question
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 09:26 AM
» Replies: 2
» Views: 199
Problème d'exécutable
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 09:22 AM
» Replies: 1
» Views: 183
How do select this table ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Jun-20-2025, 07:21 PM
» Replies: 11
» Views: 512
[split] Simple webbot for...
Forum: Code Review
Last Post: Plyth
Jun-20-2025, 04:55 AM
» Replies: 3
» Views: 153
Dynamic Module Import Err...
Forum: General Coding Help
Last Post: Pedroski55
Jun-20-2025, 12:07 AM
» Replies: 3
» Views: 218
What Are the Most Overloo...
Forum: News and Discussions
Last Post: Plyth
Jun-19-2025, 03:37 AM
» Replies: 2
» Views: 165

 
  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

  Data window
Posted by: Felipe - Jan-17-2017, 11:05 AM - Forum: General Coding Help - Replies (5)

Hi guys,


I have a huge data file that the first two columns are coordinates (latitude, longitude). I look for a way to extract the data window fr..... More

Print this item

  find location of opengl object?
Posted by: hsunteik - Jan-17-2017, 10:59 AM - Forum: General Coding Help - Replies (1)

I use opengl with 3d perlin noise to generate a terrain like minecraft to create a game like minecraft?

How do I find the current coordinate of :
..... More

Print this item

  call by objects problem
Posted by: landlord1984 - Jan-17-2017, 07:51 AM - Forum: General Coding Help - Replies (1)

def f(x,l=[]):
    for i in range(x):
        l.append(i*i)
    print(l) 

f(2)
f(3,[3,2,1])
f(3)
Output:
[code][0, 1]
[3, 2, 1..... More

Print this item

  Python+Selenium+PhantomJS with proxy list
Posted by: technoir - Jan-17-2017, 05:22 AM - Forum: Web Scraping & Web Development - No Replies

In my script i used this method for working PhantomJS with proxy:
[code]service_args = [
   '--proxy=0.0.0.0:3128',
   '--proxy-type=http',
   ..... More

Print this item

  can only concatenate list (not "int") to list?
Posted by: landlord1984 - Jan-17-2017, 04:48 AM - Forum: General Coding Help - Replies (2)

I can do:
[1, 2, 3] + [4, 5, 6]
But I cannot do:

nums=[1, 2, 3]
nums[1:]+nums[0]
TypeError: can only concatenate list (no..... More

Print this item

  OSM - Open Source Mapping
Posted by: Larz60+ - Jan-17-2017, 04:40 AM - Forum: Bar - Replies (7)

Has anyone worked with Open Source Mapping?

Print this item

  Can WYSIWYG Die?
Posted by: micseydel - Jan-17-2017, 01:48 AM - Forum: Board - Replies (25)

I hate WYSIWYG, because it's so misleading. Look at https://python-forum.io/Thread-Python-co...25#pid8325 ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [WxPython] Let user searc... 1 hour ago Winfried Winfried GUI
  Using EventSource in Pyth... 7 hours ago rbadis snippsat Web Scraping ...
  need help with tracking a... Today, 02:14 gqdeep01 gqdeep01 General Codin...
  A penny doubled every day... Yesterday, 17:26 esoyboy DeaD_EyE Homework
  I have a question Yesterday, 09:26 Clictithe noisefloor General Codin...
  Problème d'exécutable Yesterday, 09:22 Zauf noisefloor General Codin...
  How do select this table ... 06-20, 19:21 MarkMan snippsat Web Scraping ...
  [split] Simple webbot for... 06-20, 04:55 AB073 Plyth Code Review
  Dynamic Module Import Err... 06-20, 00:07 DaddyMAN Pedroski55 General Codin...
  What Are the Most Overloo... 06-19, 03:37 shreyapatel Plyth News and Disc...
  Setting AST node lineno c... 06-18, 21:15 voidtrance deanhystad General Codin...
Most views
  The best Prog... 572299
  Tutorial Requ... 484808
  Web Scraping ... 436834
  Newbie with P... 379663
  Thread remain... 351227
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 450
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12066
buran 8173
snippsat 7340
deanhystad 6839
metulburr 5151
Top referrers
Googlepro 24
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
Cio Today
Harsh Today
gqdeep01 Today
woefdram Yesterday
Yorrana Yesterday

User Panel Messages

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