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,241
» Latest member: ColorTig
» Forum threads: 38,777
» Forum posts: 175,795

Full Statistics

Online Users
There are currently 39 online users.
» 1 Member(s) | 34 Guest(s)
Google, Apple, jefsummers

Latest Threads
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
6 hours ago
» Replies: 1
» Views: 40
Data Science
Forum: Data Science
Last Post: mamta25
6 hours ago
» Replies: 3
» Views: 2,576
I’m building a Python Dat...
Forum: GUI
Last Post: woooee
Yesterday, 10:15 PM
» Replies: 1
» Views: 102
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:56 AM
» Replies: 4
» Views: 149
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Nov-08-2025, 10:39 AM
» Replies: 3
» Views: 131
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 129
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,340
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,382
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,584
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 209

 
  Problem in Loop
Posted by: saumya - Feb-11-2017, 11:13 AM - Forum: General Coding Help - Replies (2)

[python]
num=raw_input("enter range")
def pract(num):
    i=0
    numbers=[]
    while i<=(num):
        print "At the top i is %d"%i
        n..... More

Print this item

  Incredibly basic coding problem
Posted by: AndyF - Feb-11-2017, 10:28 AM - Forum: General Coding Help - Replies (12)

Hi everyone

I have zero programming experience but just began a Python tutorial. The code I am writing is not behaving like in the example that I a..... More

Print this item

  how to show a value to the user?
Posted by: elhetch - Feb-11-2017, 12:06 AM - Forum: GUI - Replies (4)

i created the below code to do some math, i would like to know how to show the value after running the code to the user?


[python]
import math
f..... More

Print this item

  does not exist
Posted by: Zman350x - Feb-10-2017, 11:59 PM - Forum: General Coding Help - Replies (2)

I had this code:
[python]    import color
    Block_Color_Q = input('Robot Color: Red(1) Blue(2) Green(3) Yellow(4) Orange(5)')
    if Block_Color_..... More

Print this item

  Pyscripter Error
Posted by: Zman350x - Feb-10-2017, 09:47 PM - Forum: General Coding Help - Replies (2)

I have been using pyscripter for some time now with out errors. I press "run" and it constantly prints out errors so I change my code, still  more err..... More

Print this item

  How to create a value system with a temp/humidity sensor?
Posted by: Tacoon - Feb-10-2017, 07:01 PM - Forum: General Coding Help - Replies (2)

I have a dht22 temp/humidity sensor and I am looking for help on how to create a value system within the sensor reading. Currently I have a fan turnin..... More

Print this item

  scapy ssh connection my network sniffing from my router
Posted by: Boss - Feb-10-2017, 11:59 AM - Forum: Networking - Replies (1)

I want to sniff ssh connection to any pc on my network. I have scapy on my router and I would like to get a sniff result whenever someone connect to a..... More

Print this item

  file detection
Posted by: Skaperen - Feb-10-2017, 10:36 AM - Forum: General Coding Help - Replies (9)

you can detect if x is a float like:

if isinstance(x,float):
    ...
so how do you detect if x is a file?

Print this item

  inivisible attribute
Posted by: Skaperen - Feb-10-2017, 09:38 AM - Forum: General Coding Help - Replies (7)

i would like to create a global object in a class instance that is not visible as an instance attribute (e.g. private).  is this possible in python?

Print this item

  Web Scrapping Application
Posted by: lion137 - Feb-10-2017, 09:00 AM - Forum: Web Scraping & Web Development - Replies (4)

Hello everybody! I have a web crawler project, this is the main part of the code:
[python]

# crawler
import urllib.request
from parse_tree impo..... More

Print this item

  How to talk with Real Time Clock hardware?
Posted by: jackbk - Feb-10-2017, 08:14 AM - Forum: General Coding Help - Replies (12)

Dear all,

I am finding a way to read/write to my Real Time Clock Hardware by Python.

The background is as below.

I have a board that integrat..... More

Print this item

  Writing incorrect passwords to a file till its correct
Posted by: garth - Feb-10-2017, 07:53 AM - Forum: Homework - Replies (2)

# Now, create a Python file called forgetful.py . Imagine your friend was very forgetful and always seemed to enter his email password incorrectly. Yo..... More

Print this item

  Need help in framing data read from wav file
Posted by: Vishweshkumar - Feb-10-2017, 05:19 AM - Forum: Data Science - Replies (1)

Hi, I am quite new to python. I am using scipy and numpy libraries for my project. My project involves framing the data read from the .wav file and ta..... More

Print this item

  jaydebeapi architecture error?
Posted by: CraigBoyd - Feb-10-2017, 04:41 AM - Forum: General Coding Help - Replies (2)

Hello All,

I am struggling with connecting to a database using a jdbc driver.  In the interest of full disclosure I am a bit of n00b with python.
..... More

Print this item

  coding issue
Posted by: Lee - Feb-10-2017, 04:05 AM - Forum: General Coding Help - Replies (2)

I wirte a simple as following.
Could someone can tell me why the answer is different Buf1 and Buf2 ??
Thank for you help.

[python]
def fList_Tes..... More

Print this item

  big app in python
Posted by: Skaperen - Feb-10-2017, 03:16 AM - Forum: News and Discussions - Replies (21)

i am trying to convince my nephew to learn python.   he's been asking some things about python and we came to this point.  what is the biggest, or a v..... More

Print this item

  Smooth linestrings
Posted by: dusca - Feb-10-2017, 12:10 AM - Forum: Data Science - Replies (3)

Hello,

Theres any algoritm to get smooth linestring coordinates (red line) from original linestring coordinates (green line)???

See image, please: h..... More

Print this item

  UnicodeDecodeError while installing polyglot
Posted by: draems - Feb-09-2017, 10:21 PM - Forum: Data Science - Replies (2)

Good day everyone. I'm installing polyglot for python 3.4.3 in windows 7 64 bit. Dependencies were installed already and when I installed  polyglot, I..... More

Print this item

  strings that cycles
Posted by: lizarragaman - Feb-09-2017, 09:25 PM - Forum: Homework - Replies (6)

a.     Generate a list of 10,000 strings that cycles through the lower case alphabet in a way simila..... More

Print this item

  Turtle Bar Chart Colour fill question
Posted by: JRod - Feb-09-2017, 09:02 PM - Forum: General Coding Help - Replies (3)

Hey,
I am using Turtle to learn how if and elif statements work.
I have a quick program that draws a bar chart... here it is...

[python]
import ..... More

Print this item

  MaxPlus
Posted by: sajley - Feb-09-2017, 06:39 PM - Forum: General Coding Help - Replies (5)

Hi Guys.
Can anyone help me about MaxPlus class. ?  (CG)

Print this item

  3d Interpolation with irregular input grid
Posted by: blueade7 - Feb-09-2017, 05:58 PM - Forum: General Coding Help - Replies (2)

Hi,

I have a 3-dimension dataset on a grid which has regular monotonic x and y coordinates, but an irregular, non-monotonic z coordinate.

In oth..... More

Print this item

  cursor jumps back during typing
Posted by: takaa - Feb-09-2017, 03:40 PM - Forum: Board - Replies (20)

Hi,

When writing something on the forum my cursor keeps (randomly) jumping back a few(or many) places, which makes typing very difficult to almost ..... More

Print this item

  find a string in multiple files and display the output
Posted by: chiluvur9 - Feb-09-2017, 02:25 PM - Forum: General Coding Help - Replies (4)

I have tried to search a string from a file and it worked.

>>> if 'finish' in open('/home/user/python/drsync-test-aix.log').read():
...     print ..... More

Print this item

  Probelm in displaying char. indexwise
Posted by: ShailendraRaghunathPhadke - Feb-09-2017, 02:12 PM - Forum: General Coding Help - Replies (5)

Hi,
I have started python programming. And my question is related to string .

I wrote below statement
[python]
msg=  "Welcome"
print(msg)
I g..... More

Print this item

  Which def is executed?
Posted by: merlem - Feb-09-2017, 01:57 PM - Forum: GUI - Replies (10)

[python]# -*- coding: cp1252 -*-

import wx

zd = Zeigedict = {"zeigspalten": ["A", "B"], "zeigreihen": ["a", "b"]}

class Mainframe(wx.Frame):..... More

Print this item

  How to list repository contributors and their commits using pygithub3
Posted by: ammarkhwaira - Feb-09-2017, 01:36 PM - Forum: Data Science - Replies (6)

[color=#242729][size=small][font=Arial,]I have a Github user in which I have been granted the access to see an organization called 'W-Org' with all it..... More

Print this item

  Getting a "Cannot be Opened"" error Message
Posted by: valerydolce - Feb-09-2017, 11:16 AM - Forum: General Coding Help - Replies (14)

Hi Folks,
I'm having a "Cannot opened" error message even though i have the file in my directory. below is my code which consist of reading a file an..... More

Print this item

  Show second window using classes
Posted by: iFunKtion - Feb-09-2017, 10:31 AM - Forum: GUI - Replies (2)

Hi there,

I have this, it works ok and I have to admit it is cobbled from things that I have found and I am still struggling with classes, I really..... More

Print this item

  What is python-pyrtc?
Posted by: jackbk - Feb-09-2017, 09:50 AM - Forum: General Coding Help - Replies (3)

Hi all,

I have a question. Do you know what "python-pyrtc" is?

As its introduction, it is an extension of Python that can talk to RTC (Real Time..... More

Print this item

  Serial to Arduino Help
Posted by: Kwebersole - Feb-09-2017, 04:17 AM - Forum: General Coding Help - Replies (2)

So I am new to Python but not new to coding. And I am working on a project that involves controlling an Arduino via serial. So far I was able to use t..... More

Print this item

  Love that snow
Posted by: Larz60+ - Feb-08-2017, 10:43 PM - Forum: Bar - Replies (10)

If there's anyone on the forum from Greenland Siberia, or even Canada, you'll think I'm a wuss, but we had
about 8" of snow yesterday, was -8.8 c (16..... More

Print this item

  QSqlRelationalTableModel: how do I save combobox data?
Posted by: panoss - Feb-08-2017, 03:37 PM - Forum: General Coding Help - Replies (2)

If you run this code, a database is created, and a window opens, where you can select (on the right) a client from a list (combobox) of clients.
[pyt..... More

Print this item

  error: unrecognized arguments
Posted by: zafar202 - Feb-08-2017, 02:29 PM - Forum: General Coding Help - Replies (2)

hi folks i am new to python and getting below error when i call my python function thru shell scripting. for some reason it doesnt likes the [b]s_body..... More

Print this item

  Windows/VBA on at work, Linux+Haskell (and Python) on weekends
Posted by: Ofnuts - Feb-08-2017, 11:40 AM - Forum: News and Discussions - Replies (4)

A fascinating study on StackOverflow questions related to week days

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [split] print two differe... 6 hours ago Reema Gribouillis General Codin...
  Data Science 6 hours ago Oshadha mamta25 Data Science
  [Tkinter] I’m building a ... Yesterday, 22:15 tsgiannis woooee GUI
  Two arguments in input fu... Yesterday, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... 11-08, 10:39 yutaozhou buran News and Disc...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
Most views
  The best Prog... 578731
  Tutorial Requ... 509430
  Web Scraping ... 441870
  Newbie with P... 385830
  New Users Int... 375340
Most reputation
buran 581
snippsat 510
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
ColorTig Today
AcoolPurpleOne1863 Today
racingsubby Today
Reema Today
lary_p Yesterday

User Panel Messages

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