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,581
» Latest member: rbadis
» Forum threads: 38,634
» Forum posts: 175,037

Full Statistics

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

Latest Threads
I have a question
Forum: General Coding Help
Last Post: noisefloor
22 minutes ago
» Replies: 2
» Views: 125
Problème d'exécutable
Forum: General Coding Help
Last Post: noisefloor
27 minutes ago
» Replies: 1
» Views: 121
A penny doubled every day...
Forum: Homework
Last Post: Pedroski55
6 hours ago
» Replies: 4
» Views: 130
How do select this table ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 07:21 PM
» Replies: 11
» Views: 396
[split] Simple webbot for...
Forum: Code Review
Last Post: Plyth
Yesterday, 04:55 AM
» Replies: 3
» Views: 116
Dynamic Module Import Err...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:07 AM
» Replies: 3
» Views: 196
What Are the Most Overloo...
Forum: News and Discussions
Last Post: Plyth
Jun-19-2025, 03:37 AM
» Replies: 2
» Views: 139
Setting AST node lineno c...
Forum: General Coding Help
Last Post: deanhystad
Jun-18-2025, 09:15 PM
» Replies: 4
» Views: 267
Wish to write a code for ...
Forum: General Coding Help
Last Post: Hasan2025
Jun-18-2025, 06:40 AM
» Replies: 4
» Views: 1,008
How to produce a CPU load...
Forum: General Coding Help
Last Post: Plyth
Jun-18-2025, 02:19 AM
» Replies: 2
» Views: 167

 
  Fractional Exponent Question
Posted by: Flexico - Dec-03-2016, 08:07 PM - Forum: General Coding Help - Replies (2)

This response had me confused for a while:
[code]>>> (-6)**(1/3)
(0.9085602964160701+1.5736725951324722j)
>>> abs(_)
1.8171205928321397
>>> (-_)*..... More

Print this item

  loop trouble
Posted by: Jei - Dec-03-2016, 03:38 PM - Forum: Homework - Replies (3)

The problem here is that after i type "quit" it still asks one last time "write something"  before it quits Think

[python]keepgoing = True

..... More

Print this item

  pywinauto timings timout error
Posted by: stonetr33 - Dec-03-2016, 10:50 AM - Forum: General Coding Help - Replies (4)

I switch between several keyboard layouts and have made super primitive scripts with pywinauto to TAB and ENTER until the desired layout is added or r..... More

Print this item

  Beginning in Qt
Posted by: NetCancer - Dec-03-2016, 07:00 AM - Forum: GUI - Replies (2)

Hello people,

I recently started trying to code GUIs in Python. I already have prior expericence with the language, bit it is limited to console co..... More

Print this item

  preferred?: multiple assignment
Posted by: Skaperen - Dec-03-2016, 03:18 AM - Forum: General Coding Help - Replies (6)

which would be preferred for assigning x to 6 variables:

a,b,c,d,e,f=x,x,x,x,x
vs.

a=b=c=d=e=f=x
and is ther..... More

Print this item

  a 'simple' program, hard as .... to understand
Posted by: meems - Dec-02-2016, 11:51 PM - Forum: General Coding Help - Replies (3)

Hi, I'm learning python and I went thru some code that was under the title 'simple python programs' and found this.

[python]BOARD_SIZE = 8

def u..... More

Print this item

  What is wrong with the code?
Posted by: dullboy - Dec-02-2016, 06:18 PM - Forum: General Coding Help - Replies (3)

Here is the code,
[code]
class A():
   target = open("test.log", "a")

   def test(self):
       print "test"
       target.write("test\n")
  ..... More

Print this item

  Image not found error
Posted by: simiugor - Dec-02-2016, 05:14 PM - Forum: Game Development - Replies (8)

Hey guys,
I'm beginner in Python 3.5 and Pygame. With help of YouTube tutorials I'm trying to code my first very basic "game". I am using Mac OS and e..... More

Print this item

  f2py recovering variables from Fortran module
Posted by: marius - Dec-02-2016, 03:52 PM - Forum: General Coding Help - No Replies

[color=#242729][size=small][font=Arial,]My endgame is to have take a number of different Fortran scripts that I've written and interface them via Pyth..... More

Print this item

  images unviewable as guest
Posted by: Larz60+ - Dec-02-2016, 01:50 PM - Forum: Board - Replies (10)

If a user is not logged in, the user allowed to view tutorials,
which is good, but not able to view images (expanded) associated
with same.

This,..... More

Print this item

  Pipeline Technical Director
Posted by: Axis Animation - Dec-02-2016, 11:06 AM - Forum: Jobs - No Replies

[size=x-small][font=Arial, Helvetica, sans-serif][b][font=Arial, Helvetica, sans-serif]
[color=#444444][Image: yqnWuNF.jpg][/col..... More

Print this item

  combined posts, reply, bad edit
Posted by: Skaperen - Dec-02-2016, 08:02 AM - Forum: Board - Replies (2)

there is that feature where if you make a 2nd post/reply to the same thread, these get combined with a long (wide) horizontal rule between them

a r..... More

Print this item

  Pay what you want - Humble Unix Book Bundle O'Reilly
Posted by: Larz60+ - Dec-02-2016, 07:02 AM - Forum: News and Discussions - Replies (1)

Hello,

O'Reilly offers 50 books worth $500 - Pay what you want - Contribution

There are some really good titles ..... More

Print this item

  pythonroom Siblings Task
Posted by: Rhysimus - Dec-01-2016, 11:47 PM - Forum: Homework - Replies (6)

Hello everyone, I'm currently having trouble doing a task on the website 'pythonroom' in the 'Branching' lesson. For those who don't know what pythonr..... More

Print this item

  loop in system command fails
Posted by: roadrage - Dec-01-2016, 10:27 PM - Forum: Homework - Replies (1)

Create a function called filter_passwd. The fucntion must take the following
arguments:
  - A string, representing the path to a file using the /e..... More

Print this item

  How to timestamp a Python program, your thoughts?
Posted by: Orthoducks - Dec-01-2016, 10:24 PM - Forum: General Coding Help - Replies (2)

I want my Python programs to display a timestamp when they run. It doesn't have to be precise, but it should reflect the date (at least) when the prog..... More

Print this item

  Python almost as verbose as Java
Posted by: Ofnuts - Dec-01-2016, 10:06 PM - Forum: Bar - Replies (5)

At least according to these guys.

Print this item

  My first go at Python hasn't gone well
Posted by: whythedevilnot - Dec-01-2016, 10:00 PM - Forum: General Coding Help - Replies (6)

I've only just started fiddling with python and I've been trying to write a script that asks a random times table question. It doesn't do what I expec..... More

Print this item

  function to write the contents of a webpage into a new file
Posted by: roadrage - Dec-01-2016, 08:37 PM - Forum: Homework - Replies (4)

"""
Create a function called wget, which takes a single argument -
a fully qualified URL (e.g. https://www.yahoo.com/).

The function must:
  1..... More

Print this item

  Pip install error for cx_Oracle
Posted by: kdamundson - Dec-01-2016, 06:20 PM - Forum: General Coding Help - Replies (2)

Python3.3, running pip and pip3.3 both produce the same result. This build is under the E: drive. Here is the error:

[output]>pip install cx_Oracle..... More

Print this item

  Decimal problem
Posted by: hmillsar - Dec-01-2016, 05:40 PM - Forum: General Coding Help - Replies (2)

Hello forum. I am currently writing a program to determine the roots of a cubic equation. However I have come across some trouble with my script.
[py..... More

Print this item

  script closed before i can see the error that occurs?
Posted by: wrestlemy69 - Dec-01-2016, 05:19 PM - Forum: General Coding Help - Replies (9)

I am a newbie!!!!!!!!!!!! This code is pieces of other peoples code.
First a run down of what it does. Basically its a batch renamer.

Print this item

  Programs can be improved
Posted by: FouFOOM - Dec-01-2016, 04:55 PM - Forum: Code sharing - Replies (2)

Hi, my name is fabien.
I'm in highschool.
I started python language yesterday.
I want to know if the programs can be improved.
I try to do my best..... More

Print this item

  output to canvas widget
Posted by: freakbot - Dec-01-2016, 06:18 AM - Forum: GUI - Replies (2)

First post here on this new forum.

I'm trying to get a windows 'dir' command output to display in a canvas widget. Ultimately I want to built an in..... More

Print this item

  matplotlib timestamp
Posted by: zero_shubh0 - Dec-01-2016, 06:15 AM - Forum: General Coding Help - Replies (2)

I'm not able to attach my code here. 
This is about converting standard date formats to matplotlib's own kind of format (something greg..... More

Print this item

  More of my learning
Posted by: LordHill - Dec-01-2016, 05:37 AM - Forum: Code sharing - Replies (2)

Took a break while I worked a bunch of overtime, but had a rare day off yesterday. Decided to continue my learning. Read a bit about python classes. T..... More

Print this item

  ftplib os.listdir function
Posted by: peterkl - Nov-30-2016, 08:55 PM - Forum: Networking - Replies (1)

Hello everyone,

I'm looking for a method like os.listdir(), but in the ftplib, within a ftp server. I want to list every dir on the ftp server and..... More

Print this item

  Battleship game in python
Posted by: Colpyin - Nov-30-2016, 08:29 PM - Forum: General Coding Help - Replies (1)

Hello, I'm kinda new to python and programming in general, but I would like to code the battleship game.
But I'm currently struggling at implementing..... More

Print this item

  Google analytics for this site
Posted by: snippsat - Nov-30-2016, 08:19 PM - Forum: Board - No Replies

I did install Google analytics 18-11-16.
Here some Dashbord of differert stats.

We see a bump down on 23-11,because we had Unbound guests Dodgy
..... More

Print this item

  Extra line before code
Posted by: snippsat - Nov-30-2016, 06:06 PM - Forum: Board - Replies (1)

metulburr do you know why it now add an extra line(<br>) before syntax code.
Did not to that before,should be equal to output and error tag.

Test...... More

Print this item

  Perforce System Admin
Posted by: Axis Animation - Nov-30-2016, 05:03 PM - Forum: Jobs - No Replies

[Image: DbjIM1L.jpg][b][size=small][font=Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif][color=#993333][font=Verdana, Arial,..... More

Print this item

  Wtf i did wrong?
Posted by: AlexEdy1982 - Nov-30-2016, 04:38 PM - Forum: General Coding Help - Replies (7)

Cand someone please wtf i did wrong on this.Actually wtf i copied wrong on this.I really needed a keylogger that sends the text file + images via emai..... More

Print this item

  Last Pass
Posted by: metulburr - Nov-30-2016, 03:51 PM - Forum: News and Discussions - Replies (4)

The recent hack we had recently is a good reminder to everyone that you should not use the same password for each website. If one site is compromised,..... More

Print this item

  New to Python
Posted by: pmauer456 - Nov-30-2016, 07:25 AM - Forum: General Coding Help - Replies (1)

All,

  I'd really appreciate some help here.  I'm trying to learn Python from a book and in one section they put the function you see below.  So I ..... More

Print this item

  selenium click a span tag
Posted by: metulburr - Nov-30-2016, 07:10 AM - Forum: Web Scraping & Web Development - Replies (1)

I am having trouble clicking a span tag that is a button, but not using button html tag at all.

Most example i see are doing something like
[quote..... More


Attached Files

Thumbnail(s)
   
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  I have a question 22 minutes ago Clictithe noisefloor General Codin...
  Problème d'exécutable 27 minutes ago Zauf noisefloor General Codin...
  A penny doubled every day... 6 hours ago esoyboy Pedroski55 Homework
  How do select this table ... Yesterday, 19:21 MarkMan snippsat Web Scraping ...
  [split] Simple webbot for... Yesterday, 04:55 AB073 Plyth Code Review
  Dynamic Module Import Err... Yesterday, 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...
  Wish to write a code for ... 06-18, 06:40 Hasan2025 Hasan2025 General Codin...
  How to produce a CPU load... 06-18, 02:19 Calab Plyth General Codin...
  Venv - Python Virtual Env... 06-17, 02:23 DanneA Larz60+ General Codin...
Most views
  The best Prog... 572275
  Tutorial Requ... 484767
  Web Scraping ... 436817
  Newbie with P... 379641
  Thread remain... 351224
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 7339
deanhystad 6839
metulburr 5151
Top referrers
Googlepro 24
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
rbadis Today
juliashulze7657 Today
kava Yesterday
esoyboy Yesterday
Zauf Yesterday

User Panel Messages

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