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,937
» Latest member: AdrianCocian
» Forum threads: 38,722
» Forum posts: 175,510

Full Statistics

Online Users
There are currently 54 online users.
» 0 Member(s) | 46 Guest(s)
Google, Bing, AOL, Mojeek, Facebook

Latest Threads
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Yesterday, 07:55 PM
» Replies: 2
» Views: 417
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Yesterday, 06:57 PM
» Replies: 10
» Views: 3,882
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Yesterday, 12:30 PM
» Replies: 1
» Views: 3,422
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Yesterday, 11:11 AM
» Replies: 4
» Views: 780
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,247
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,123
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,344
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,331
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,454
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,015

 
  Help with "simple" laser + printscreen command.
Posted by: joohanz - Dec-28-2017, 07:24 PM - Forum: General Coding Help - Replies (3)

Hi!
I am currently working on a Project to able to train firearms at home with lasers.

What i need to be able to finish my projekt is a code that ..... More

Print this item

  List of List into List
Posted by: mp3909 - Dec-28-2017, 05:16 PM - Forum: General Coding Help - Replies (5)

How do you make this list ['Tokyo','London',['Paris','Madrid']] into this list ['Tokyo','London','Paris','Madrid']?

Print this item

  IDLE vs PyCharm as editors?
Posted by: Emerogork - Dec-28-2017, 05:02 PM - Forum: Bar - Replies (7)

I may be biased because I started with IDLE but want to get beyond that.

I am almost a 1 week Pythoner and managed to get through a 5 hour tutori..... More

Print this item

  Need small help on dynamic database connections
Posted by: Tirumal - Dec-28-2017, 03:39 PM - Forum: General Coding Help - Replies (4)

Hi All,

I am new to python coding .

I am using oracle 11g db in my environment .

I want to connect different users in database and fetch th..... More

Print this item

  working code, suggestion required for improvement
Posted by: anna - Dec-28-2017, 11:39 AM - Forum: General Coding Help - Replies (18)

[python]#!/usr/bin/python
from easysnmp import Session
community = 'public'
with open('zyxeldslam.txt') as ipfile:
   for sr_no, line in enumerate..... More

Print this item

  pandas filter not working
Posted by: issac_n - Dec-28-2017, 11:20 AM - Forum: Data Science - Replies (10)

I am trying to filter some info eg Name from a table and print it, but seems like my code is not working.
followed eg in  ..... More

Print this item

  Too many problems with windows 10(64 bits)
Posted by: sylas - Dec-28-2017, 09:55 AM - Forum: Bar - Replies (4)

Hi all. May I have the link for a windows 10, american speaking, forum. Thanks

Print this item

  Selenium related queries
Posted by: Prince_Bhatia - Dec-28-2017, 08:14 AM - Forum: Web Scraping & Web Development - Replies (1)

HI,

i am trying to fill the form using CSV file.

In this i have two queries , first i have to select radio button but it should match text from ..... More


Attached Files

.csv   phase.csv (Size: 81 bytes / Downloads: 689)
Print this item

  something going wrong.. code is not working
Posted by: anna - Dec-28-2017, 05:34 AM - Forum: General Coding Help - Replies (9)

[python]#!/usr/bin/python
from easysnmp import Session
# load easysnmp module
community ='public'
#Community for the device
oid ='SNMPv2-MIB::sys..... More

Print this item

  Simple Function Problem, please help
Posted by: ShadowWarrior17 - Dec-28-2017, 02:17 AM - Forum: General Coding Help - Replies (16)

[python]
def columncheck©:
x=5
pos=False
while pos != True:
if dboard[x][(4*c)-1]== " ":
pos=True
eli..... More

Print this item

  Completly lost about to fail my class!
Posted by: crakacheezy - Dec-27-2017, 05:31 PM - Forum: Homework - Replies (7)

Ok, let first start I am currently overseas in Turkey. So, I am taking my courses online. I am doing introduction to coding. When is came to the basic..... More

Print this item

  I have a question from a YouTube video I saw:
Posted by: nelsonkane - Dec-27-2017, 05:11 PM - Forum: General Coding Help - Replies (9)

At the 2:54 mark of this video below, the teacher suddenly goes from this while.py program to a Python 3.3.3 Shell,
which then prints out a loop tha..... More

Print this item

  Someone tell me where to go...
Posted by: Emerogork - Dec-27-2017, 05:05 PM - Forum: Bar - Replies (2)

I should have been more specific in the title: Include "Python To App".

I am new to Python but not new to programming and just finished a 5 hour tuto..... More

Print this item

  1 I cant read many stocks(list) with pandas-datareader from yahoo
Posted by: Davidii111 - Dec-27-2017, 01:36 PM - Forum: Data Science - Replies (1)

[python]
import pandas_datareader as pdr
import datetime
import pandas as pd

largecap = pd.read_excel('largecap.xlsx')
antalrader = len(largec..... More

Print this item

  Need help developing a game with Raspberry Pi 3
Posted by: sl8 - Dec-27-2017, 12:12 PM - Forum: Homework - Replies (4)

So me and my buddy want to create a game using python games as a final project we have in our class. We basically need to create a game and then use t..... More

Print this item

  how to deal with easysnmp timeout
Posted by: anna - Dec-27-2017, 12:10 PM - Forum: Networking - No Replies

below small script check model of device, its taking ip from file. My issue is ... how to deal with snmp timeout, script exits on snmp time out.

pl..... More

Print this item

  Python nuget package for visual studio not getting installed
Posted by: kuldeep26 - Dec-27-2017, 08:14 AM - Forum: General Coding Help - No Replies

I am trying to install python (Installs 64-bit Python for use in build scenarios.) via nuget package manager in my Visual Studio Enterprise 2017. I am..... More

Print this item

  json load problem
Posted by: mepyyeti - Dec-27-2017, 06:10 AM - Forum: General Coding Help - Replies (6)

So I have the attached code, which works, MOSTLY

The source codes are attached (1 class file, and main file) to preserve spacing, etc.  The ..... More


Attached Files

.py   userdict0.py (Size: 544 bytes / Downloads: 739)
.py   userdict0cl.py (Size: 486 bytes / Downloads: 780)
Print this item

  python- read specific words from log file
Posted by: anna - Dec-27-2017, 05:59 AM - Forum: General Coding Help - Replies (18)

Hi There,

I have below AAA log file, i would like to read and store underlined strings in another file. Please help for script

26 Dec 2017 00:00..... More

Print this item

  complete beginner - add upload to a webpage in a script
Posted by: Nnamdug - Dec-27-2017, 05:18 AM - Forum: Networking - No Replies

Hi all,

I completely new a python and scripting, so i hope someone in this forum can help me. This is probably going to a really open question, but..... More

Print this item

  Variable in range of float
Posted by: dogginky - Dec-27-2017, 04:28 AM - Forum: General Coding Help - Replies (3)

Noob here just a few weeks in, So after all the reading and videos I decided it was time to do more writing.
I got side tracked and somehow ended up t..... More

Print this item

  Print Function
Posted by: Jaks - Dec-27-2017, 03:40 AM - Forum: General Coding Help - Replies (3)

Hi,
i'm executing below 2 lines in Pycharm

print("+", sep=" ", end=" ")
print("-", sep=" ", end=" ")

I got the output like this

+ -

My q..... More

Print this item

  List Comprehension
Posted by: zowhair - Dec-27-2017, 03:16 AM - Forum: General Coding Help - Replies (2)

matrix =  [  [ 1,2,3,4], [5,6,7,8],[9,10,11,12]]
[[row[i] for row in matrix] for i in range(4) ]
Will anyone explain these st..... More

Print this item

  Is it safe to use outside a class created inside the function?
Posted by: oneroslavsky - Dec-27-2017, 01:03 AM - Forum: General Coding Help - Replies (2)

Let you pass the list of classes as an argument to your function. Let also, inside this function you create a class and append it to the list in quest..... More

Print this item

  Parsing serial data "Attribute Error"
Posted by: Zeberoff - Dec-26-2017, 11:34 PM - Forum: General Coding Help - Replies (2)

I am working on Python 2.7.9 and attempting to parse the serial data. The error I get is [color=#ff3333]AttributeError: 'Serial' object has not attrib..... More

Print this item

  How would you test this module?
Posted by: RickyWilson - Dec-26-2017, 04:49 PM - Forum: General Coding Help - Replies (2)

How can I write unit tests for this module. I know very little about writing tests.

[python]
#-*-coding:utf8;-*-
#qpy:3
#qpy:console



SING..... More

Print this item

  Looking for electronic music python coder
Posted by: ZipSnipe - Dec-26-2017, 04:45 PM - Forum: Jobs - Replies (1)

So I am making a sampler /looper using the Raspberry py 3, python2.7,Adafruit 4x4 trellis,touch screen. I am at a point in coding where I need someone..... More

Print this item

  Combing codes to play wav file
Posted by: ZipSnipe - Dec-26-2017, 04:19 PM - Forum: General Coding Help - No Replies

Hello all and Happy Holidays

I have embarked on a project that has enticed me into coding for the first time in my life and now I am hooked. Please..... More

Print this item

  DB_ methods to calculate/manipulate data
Posted by: issac_n - Dec-26-2017, 07:03 AM - Forum: General Coding Help - No Replies

currently looking for a better way to calculate&manipulating data issue here where input files are excel.
what are the best options for me with condi..... More

Print this item

  Create a Pie Chart using matplotlib from SQL query
Posted by: jwbrassell - Dec-26-2017, 03:24 AM - Forum: Code sharing - No Replies

I wanted to be able to do the following:

  • Define a list to feed into an SQL query
  • Save the results of the Query into a list
  • Use the..... More

Print this item

  i must be missing something obvious
Posted by: Skaperen - Dec-26-2017, 02:23 AM - Forum: General Coding Help - Replies (2)

i ran into a problem with some big code and minimized it and the problem remained.  but should this be obvious?  did i miss something that should be o..... More

Print this item

  print twice?????
Posted by: raulseangarciaroberts - Dec-25-2017, 03:59 PM - Forum: General Coding Help - Replies (3)

def print_twice(bruce):
print ("bruce")
print ("bruce")

print_twice("spam")
bruce
bruce
print_twice(17)
bruce
bruce




The..... More

Print this item

  A basic Rock-paper-scissors game by me...
Posted by: Unlimiter - Dec-25-2017, 03:41 PM - Forum: Code sharing - No Replies

[python]"""A basic program/game that simulates Rock-Paper-Scissors with text"""

# I need random library to randomise the bot's actions.
import ran..... More

Print this item

  Loop for comparing 2 following datablocks in long Array
Posted by: Sw1p3 - Dec-25-2017, 03:33 PM - Forum: General Coding Help - Replies (2)

Hallo everybody,

i search for an solution for following problem:

x=[1,2,3,4,5]
block_length=2
save=[]

for i in range (len(x)):

If np..... More

Print this item

  Soap json program
Posted by: rahul208in - Dec-25-2017, 11:09 AM - Forum: General Coding Help - Replies (5)

Any one has python program to trigger soap and json call based on parameter. SSL n non SSL CALLS. pls share. Thanks

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  what does % stand for in ... Yesterday, 19:55 arbiel arbiel General Codin...
  403 Error Yesterday, 18:57 CaptainNewb CaptainNewb Web Scraping ...
  Scraping a page with log ... Yesterday, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... Yesterday, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576324
  Tutorial Requ... 498048
  Web Scraping ... 440239
  Newbie with P... 384091
  New Users Int... 366941
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+ 12089
buran 8175
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
AdrianCocian Today
humanoidAI Today
Baran12332 Yesterday
Hershien Yesterday
Diyaseating Yesterday

User Panel Messages

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