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,936
» Latest member: AstoundzSEO
» Forum threads: 38,721
» Forum posts: 175,508

Full Statistics

Online Users
There are currently 61 online users.
» 0 Member(s) | 50 Guest(s)
Bing, Google, AOL, Applebot, Google Image, Facebook Dev

Latest Threads
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Yesterday, 05:56 PM
» Replies: 9
» Views: 3,019
Too much space between gr...
Forum: GUI
Last Post: RonR
Yesterday, 11:22 AM
» Replies: 4
» Views: 1,437
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Yesterday, 10:31 AM
» Replies: 3
» Views: 463
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 721
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 1,840
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 824
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 410
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,364
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,582
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 1,240

 
  Print only works once
Posted by: CWatters - Sep-20-2017, 03:19 PM - Forum: General Coding Help - Replies (6)

I'm using the following code to read a tiny csv file into a Dictionary and then print part of it twice. The first print works but the second print see..... More

Print this item

  Getting hacked off with spam
Posted by: Bass - Sep-20-2017, 02:33 PM - Forum: Board - Replies (9)

Hi,

I appreciate that the world is not perfect, but over the last few weeks, the level of spam appears to have risen.

Could the forum consider h..... More

Print this item

  creating new layer with scapy
Posted by: omerccohen - Sep-20-2017, 02:11 PM - Forum: General Coding Help - No Replies

hi i tried to create a new layer in scapy but when i send the packet to another computer and ask to print it ,y new layer got lost the class of the ne..... More

Print this item

  loops in python
Posted by: nuncio - Sep-20-2017, 12:00 PM - Forum: Data Science - Replies (2)

This seems to be rather simple, but I am not getting there.  I am trying to execute the math for Fourier transform.  Here is the code I wrote

[pyth..... More

Print this item

  Trouble in running tool
Posted by: rjahmed - Sep-20-2017, 10:33 AM - Forum: Web Scraping & Web Development - Replies (24)

hello friends i am new here , i need your help . i am having trouble while running this tool .
this tool required pip and beautifulsoup and i have i..... More

Print this item

  Finger Vein Authentication Package in Python
Posted by: SudiptaGhosh - Sep-20-2017, 08:46 AM - Forum: General Coding Help - Replies (1)

Hi All,

I am trying to use Finger Vein Authentication in one of my project, for that I am planning to refer the below python package:
[b]"xbob.fin..... More

Print this item

  Sort without using sort
Posted by: qhnguyen - Sep-20-2017, 06:27 AM - Forum: Homework - Replies (4)

Text file:
425 300 1
50 10 15
6 9 3
2 12 6
70 69 71
1 2 3

My code:
#Project#1-Quyen Nguyen
file="Project1.txt"
infile=open(file)

count=..... More

Print this item

  Stereonet
Posted by: roudan - Sep-20-2017, 04:01 AM - Forum: General Coding Help - No Replies

Hi

Anyone here use stereonet? I know there is one python code . But I'd like plot pole projection on the lower hemisphere and different stresss val..... More

Print this item

  program to code: log results of a command
Posted by: Skaperen - Sep-20-2017, 03:37 AM - Forum: News and Discussions - No Replies

i have done this in bash with a lot of trickery.  i have been thinking about re-doing this in Python.

what i would like to see written in Python is..... More

Print this item

  Finding the .py file
Posted by: ichabod801 - Sep-20-2017, 02:04 AM - Forum: General Coding Help - Replies (9)

I'm doubly confused. I'm trying to find the location of the .py file being run. I found this code on Stack Overflow:

[python]
import os

loc = os.pat..... More

Print this item

  Machine Learning for Applications in Architecture
Posted by: JinLee - Sep-20-2017, 12:54 AM - Forum: Homework - No Replies

Hello all,

I am currently pursuing a thesis in architecture - I am a total beginner to programming and was wondering if I could get some direction.
..... More

Print this item

  Help with an exercise
Posted by: Cerobug - Sep-19-2017, 10:05 PM - Forum: Homework - Replies (8)

I am doing some code for a project at school and I cant for the life of me get it to do what I want it to. I want the sales number for any sales under..... More

Print this item

  Feasible career change
Posted by: mccarthyemmet - Sep-19-2017, 09:57 PM - Forum: News and Discussions - Replies (2)

Hi all.I'm a 43yr old gastro guy whos thinking of a career change.I have background in web/PHP, but its been a while. I've bought a Python book, and s..... More

Print this item

  Beginner Need Help With PyQt
Posted by: davidferraam - Sep-19-2017, 09:19 PM - Forum: GUI - Replies (2)

I'm learning Python through a YouTube channel that offers many tutorials in Computer Science and especially programming.
The tutorial I was watching ..... More

Print this item

  Error in build using cx_freeze with psychopy based animation
Posted by: olivyac - Sep-19-2017, 07:55 PM - Forum: General Coding Help - No Replies

Here is the error I'm receiving when trying to open the .exe file that was built using Cx_freeze version 4.3.4.Not sure why this is happening or if th..... More

Print this item

  group by
Posted by: l00p1n6 - Sep-19-2017, 06:06 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello,

I just cant get group by to work :(
I followed a tutorial: http://flask-sqlalchemy.poco[url=https://python-forum.io/thread-5112.html]..... More

Print this item

  Python TypeError?
Posted by: IncogRa - Sep-19-2017, 04:47 PM - Forum: General Coding Help - Replies (3)

from random import randint
CorrectNumber = (1,20)
while True:
GuessedNumber = int(input("Guess a number between 1-20! "))
if GuessedNumbe..... More

Print this item

  Bad magic number. What is it ?
Posted by: sylas - Sep-19-2017, 03:22 PM - Forum: General Coding Help - Replies (4)

Hi all! With my Pycharm and my Linux I copied the entire project "pong"(a game from Git Hub) into my project "ping". I had to modify "from .states imp..... More

Print this item

  Raspberry Pi pygameui - Fails with error index out of range
Posted by: erhixon - Sep-19-2017, 01:36 PM - Forum: Game Development - No Replies

I am using pygame and pygameui because these were the examples that I found on Adafruit when I first started this project. I am reading values from a ..... More

Print this item

  Factorials Problem
Posted by: OmarSinno - Sep-19-2017, 12:10 PM - Forum: Homework - Replies (4)

3. Factorials.
Write a program factorials.py that prints the factorials of the odd numbers between 1 and 10. Your
program should contain a fu..... More

Print this item

  Simple exercise - how to write in python
Posted by: tomtom55 - Sep-19-2017, 10:09 AM - Forum: Homework - Replies (6)

... just I'm really bad in math. Can anybody help me out?

Write a program to solve the following problem. At the beginning of the school year, the ..... More

Print this item

  weapon creation
Posted by: haye - Sep-19-2017, 10:08 AM - Forum: General Coding Help - Replies (7)

Hello, I have to create a " weapon " with name, damage speed, range, damage/second, and the damage would change if the weapon has a gem..
here is the ..... More

Print this item

  Server Based indoor positioning using Wi-Fi
Posted by: Bhagat - Sep-19-2017, 09:08 AM - Forum: Networking - Replies (9)

We have 1 wifi router and 3 phones.

Phones are connected to wifi router.

want to fetch the connected phones and thier RSSI values from the route..... More

Print this item

  [PyPa] Problems with Install PIP on Windows !
Posted by: JamieVanCadsand - Sep-19-2017, 08:08 AM - Forum: News and Discussions - Replies (7)

Hey Python Programmers...

I tryed install PIP on Windows 8 and 10, but i get problems with it.
I was frestrated when i are trying to install it in..... More

Print this item

  Tuple Space with lindypy Problem
Posted by: draems - Sep-19-2017, 07:00 AM - Forum: General Coding Help - No Replies

Can someone please explain why I only get this output? I have this example code from lindypy documents and I only get the output below which was not e..... More

Print this item

  Beginner Help request: Calculator
Posted by: JinLee - Sep-19-2017, 06:55 AM - Forum: General Coding Help - Replies (5)

Hello,

I am just starting to get my feet wet with Python and would like to ask for some insight as to why this script goes directly to the "else" l..... More

Print this item

  Why Xpath is not selecting the correct path
Posted by: Prince_Bhatia - Sep-19-2017, 05:36 AM - Forum: General Coding Help - No Replies

i have written a code that picks data from excel enter into my offiice backend, in backend there is path where it needs to click submit button to ente..... More

Print this item

  python and docker
Posted by: Skaperen - Sep-19-2017, 05:03 AM - Forum: News and Discussions - No Replies

i am going to play with (try out) docker on my ubuntu system.  while looking at available packages i see some like "python-docker" and "python3-docker..... More

Print this item

  Best form of iterating over a lsit of lists
Posted by: tonymcgregor - Sep-19-2017, 01:56 AM - Forum: General Coding Help - Replies (15)

[font=Arial, Helvetica, sans-serif]Are any of the following ways of iterating over a list of lists better than the otheres (or even different)?
[/fon..... More

Print this item

  delete identical entries in a list
Posted by: Pedroski55 - Sep-18-2017, 11:27 PM - Forum: Data Science - Replies (14)

I have a list of student numbers which looks like this (except the numbers are like 1625010201 and the list is longer):

['123','123','123','456', '..... More

Print this item

  Script to average 2 columns in .csv file, and print results to the file name.
Posted by: Manveer_Dhillon - Sep-18-2017, 09:03 PM - Forum: General Coding Help - Replies (3)

Hi everyone, I'm running a test which outputs numerous .csv files (around 12). I need to average out the data in column G (7) and H (8). I'd then like..... More

Print this item

  Create class instances from list of strings
Posted by: pythonck - Sep-18-2017, 05:43 PM - Forum: General Coding Help - Replies (1)

I have a list of strings as follows: somewords = ['apple', 'orange', 'pear']
I want to be able to have attributes for these words.
So I create a cla..... More

Print this item

  How to protect P/Cython Code against Reverse Engineering / Decompilation
Posted by: consuli - Sep-18-2017, 05:02 PM - Forum: News and Discussions - Replies (10)

Hello!

Is it possible to protect P/Cython code against reverse engineering / decompilation?

What are probed countermeasures?

Consuli

Print this item

  iam getting problem that permission denied to open the file andprocess whileexecution
Posted by: srinivas135 - Sep-18-2017, 04:53 PM - Forum: General Coding Help - Replies (1)

import os,sys
sr=os.open("srinivas.txt",os.O_RDWR|os.O_CREAT)
line="this is test"
b=str.encode(line)
os.write(sr,b)
os.close(sr)
print("closed t..... More

Print this item

  Finding values to draw a line on a curve
Posted by: kesenthilkumar - Sep-18-2017, 03:30 PM - Forum: General Coding Help - Replies (2)

I am newbie in Python and was attracted for a specific purpose. The project deals with Medical Physics (in cancer treatment, physics is used quite a ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  403 Error Yesterday, 17:56 CaptainNewb CaptainNewb Web Scraping ...
  [Tkinter] Too much space ... Yesterday, 11:22 RonR RonR GUI
  datetime in SQL query. Yesterday, 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...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame 09-14, 11:25 JMcM JMcM Game Developm...
Most views
  The best Prog... 576023
  Tutorial Requ... 497462
  Web Scraping ... 439986
  Newbie with P... 383736
  New Users Int... 366211
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+ 12088
buran 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
AstoundzSEO Today
tobey12 Today
alexguemez Yesterday
Shadab Yesterday
Dibbley Yesterday

User Panel Messages

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