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,653
» Latest member: bestinstitute055
» Forum threads: 38,642
» Forum posts: 175,100

Full Statistics

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

Latest Threads
Deploy Flask apps on Wind...
Forum: Web Scraping & Web Development
Last Post: DeaD_EyE
1 hour ago
» Replies: 3
» Views: 5,892
Venv - Python Virtual Env...
Forum: General Coding Help
Last Post: Pedroski55
4 hours ago
» Replies: 3
» Views: 408
textbox compare command n...
Forum: GUI
Last Post: deanhystad
Yesterday, 09:58 PM
» Replies: 1
» Views: 157
Python Install Mager Help
Forum: News and Discussions
Last Post: bowens1983
Yesterday, 02:07 PM
» Replies: 2
» Views: 232
How to ask Smart Question...
Forum: Board
Last Post: Thatedge
Yesterday, 08:10 AM
» Replies: 3
» Views: 5,648
Exercise on reading a chu...
Forum: Homework
Last Post: polytrack
Yesterday, 06:49 AM
» Replies: 2
» Views: 1,037
New Users Introduce Yours...
Forum: Bar
Last Post: dmac6809
Jun-30-2025, 02:48 PM
» Replies: 451
» Views: 343,976
How to retain Annotation ...
Forum: Code Review
Last Post: holeioonline
Jun-30-2025, 08:43 AM
» Replies: 2
» Views: 916
Trading Bot written in Py...
Forum: News and Discussions
Last Post: LoriBrown
Jun-30-2025, 07:08 AM
» Replies: 4
» Views: 95,205
replace or remove text fr...
Forum: General Coding Help
Last Post: Curbie
Jun-29-2025, 06:53 PM
» Replies: 13
» Views: 651

 
  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

  Beta Inverse Function
Posted by: ankur2207 - Sep-18-2017, 03:21 PM - Forum: Data Science - Replies (5)

Hi Everyone,

I'm looking for a Beta Inverse Function in Python.

Below is the explanation for the same:


Returns the inverse of the beta cumu..... More

Print this item

  How to change language line by line?
Posted by: dialbrocom - Sep-18-2017, 03:16 PM - Forum: General Coding Help - Replies (2)

This below website built by php.but i want to change it to python.is it possible?

https://www.dialbro.com

Print this item

  URLLIB.REQUEST Not Working
Posted by: hallofriends - Sep-18-2017, 03:09 PM - Forum: General Coding Help - Replies (1)

[python]import urllib.request
try:
url = 'https://www.whoscored.com/Players/5583/Show/Cristiano-Ronaldo'

# now, with the below headers, w..... More

Print this item

  find empty cells in a column
Posted by: Pedroski55 - Sep-18-2017, 10:38 AM - Forum: General Coding Help - Replies (2)

I have a results sheet from a multiple choice marking program. I only need to check if there is no content in a particular cell.

Lets say we are loo..... More

Print this item

  Window Not Appearing
Posted by: MGallo - Sep-18-2017, 10:30 AM - Forum: General Coding Help - Replies (14)

For some reason, everything on this works except for MainWindow(). It adds the person to the tempfile, but the MainWindow never pops up. I get no erro..... More

Print this item

  numpy and statistics module
Posted by: baronmontesqieu - Sep-18-2017, 09:57 AM - Forum: Data Science - Replies (2)

hello.
I am trying to get familiar with numpy and statstics module on python

the latter is program i made to input any list and try to find the stand..... More

Print this item

  Vidoes in Python
Posted by: Alshoabi - Sep-18-2017, 08:31 AM - Forum: General Coding Help - No Replies

I am a newbie when it comes to python, however I have an intermediate knowledge in Java and C++.

I think I will have an ease in learning Python if ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Deploy Flask apps on Wind... 1 hour ago SpongeB0B DeaD_EyE Web Scraping ...
  Venv - Python Virtual Env... 4 hours ago DanneA Pedroski55 General Codin...
  [Tkinter] textbox compare... Yesterday, 21:58 dmac6809 deanhystad GUI
  Python Install Mager Help Yesterday, 14:07 bowens1983 bowens1983 News and Disc...
  How to ask Smart Question... Yesterday, 08:10 metulburr Thatedge Board
  Exercise on reading a chu... Yesterday, 06:49 Nit_Picker polytrack Homework
  New Users Introduce Yours... 06-30, 14:48 Yoriz dmac6809 Bar
  How to retain Annotation ... 06-30, 08:43 srikrishnan holeioonline Code Review
  Trading Bot written in Py... 06-30, 07:08 Pizzlew LoriBrown News and Disc...
  replace or remove text fr... 06-29, 18:53 Curbie Curbie General Codin...
  [PyQt] locating a pushbut... 06-29, 18:47 arbiel deanhystad GUI
Most views
  The best Prog... 572381
  Tutorial Requ... 485171
  Web Scraping ... 436910
  Newbie with P... 379753
  Thread remain... 351245
Most reputation
buran 581
snippsat 507
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+ 12068
buran 8173
snippsat 7341
deanhystad 6845
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
as1221 3
Newest members
bestinstitute055 Today
manojdaivd Today
RaymondPAL Today
mirabelmason132 Yesterday
bhawani Yesterday

User Panel Messages

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