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,920
» Latest member: aidajnrz7704
» Forum threads: 38,722
» Forum posts: 175,488

Full Statistics

Online Users
There are currently 65 online users.
» 0 Member(s) | 61 Guest(s)
Bing, AOL, Google, AOL

Latest Threads
Chris Paul mythical IQ co...
Forum: Homework
Last Post: Sabrinas
3 hours ago
» Replies: 0
» Views: 24
Do the Miami Dolphins inc...
Forum: Data Science
Last Post: Sabrinas
3 hours ago
» Replies: 0
» Views: 18
Antonio Pierce Pleads Wit...
Forum: GUI
Last Post: Sabrinas
3 hours ago
» Replies: 0
» Views: 18
Select Python comment (#)...
Forum: General Coding Help
Last Post: SpongeB0B
4 hours ago
» Replies: 4
» Views: 262
TimsothyKat
Forum: General Coding Help
Last Post: LewisByday
4 hours ago
» Replies: 0
» Views: 14
Packers Loss $12.5 Millio...
Forum: General Coding Help
Last Post: Sabrinas
4 hours ago
» Replies: 0
» Views: 7
I'm trying to make a piec...
Forum: General Coding Help
Last Post: MilesWeb
4 hours ago
» Replies: 5
» Views: 1,076
New to the field
Forum: News and Discussions
Last Post: Polybunny
9 hours ago
» Replies: 0
» Views: 61
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Stowersw
Yesterday, 03:23 PM
» Replies: 4
» Views: 2,245
Python and excel vba codi...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 11:09 AM
» Replies: 2
» Views: 802

 
  now()
Posted by: Skaperen - Oct-06-2016, 05:44 AM - Forum: General Coding Help - Replies (7)

is there a way to do this


from datetime import datetime as dt
now=dt.now
in one statement?

i tried these and they did n..... More

Print this item

  Creating a state machine
Posted by: metulburr - Oct-06-2016, 04:55 AM - Forum: Game Tutorials - Replies (4)

[color=#000000][size=medium][font=Times New Roman]A state (or screen, scene, etc.) machine, is a way to handle different scenes of the game, and flip ..... More

Print this item

  Building an exe with Py2exe
Posted by: metulburr - Oct-06-2016, 04:52 AM - Forum: Python Installation and Execution - No Replies

[color=#000000][size=medium][font=Times New Roman]There are numerous programs to aid in building an exe for Windows for your program... ..... More

Print this item

  BeautifulSoup - Table
Posted by: tkj80 - Oct-06-2016, 02:10 AM - Forum: Web Scraping & Web Development - Replies (6)

Hi,

I ran the following code and got the error message: "IndexError: list index out of range"

[python]import csv
from urllib.request import url..... More

Print this item

  [split] Purpose of school/homework
Posted by: Johno - Oct-06-2016, 02:04 AM - Forum: Bar - Replies (15)

This might be a little off topic, but do many professionals recommend students consider dropping out?  I mean, the homework section was probably well-..... More

Print this item

  With Python I cannot calculate an AWS signature for Rest APIs
Posted by: Johno - Oct-06-2016, 01:56 AM - Forum: General Coding Help - Replies (4)

I have never been able to get Rest APIs to completely work with AWS. The error messages I have seen have been about the time not being correct or the ..... More

Print this item

  Assignment
Posted by: tinabina22 - Oct-06-2016, 12:58 AM - Forum: Homework - Replies (8)

This is an assignment that is due next week and I'm stuck on the for i in range code at the bottom highlighted with purple font.  I have included the ..... More

Print this item

  python3.x installation
Posted by: metulburr - Oct-05-2016, 11:38 PM - Forum: Game Tutorials - Replies (1)

EDIT:
This is quite outdated now. Try reading here

When first startin..... More

Print this item

  Functions
Posted by: metulburr - Oct-05-2016, 10:08 PM - Forum: Fundamentals - No Replies

Why use functions?

  • They maximize code reuse and minimize redunancy
    • Package logic when using in more than one place ..... More

Print this item

  Web scraping with Scrapy
Posted by: metulburr - Oct-05-2016, 10:03 PM - Forum: Web Scraping - No Replies

Originally posted by setrofim....
please do not PM me. 


Introduction

..... More

Print this item

  Creating C extensions
Posted by: metulburr - Oct-05-2016, 09:57 PM - Forum: Python Installation and Execution - Replies (3)

Originally posted by Casevh...
If You want to repost this, ill delete it
@[casevh]

This is part 1 of several short tutorials on creating C extens..... More

Print this item

  Run Python CGI from Apache
Posted by: metulburr - Oct-05-2016, 09:49 PM - Forum: Web Tutorials - Replies (1)

Depending on the Linux distro and even the version the name and path of the apache config file will be different. You did not specify which distro you..... More

Print this item

  ArcGIS file geodatabase
Posted by: bryan@stclairco.com - Oct-05-2016, 07:20 PM - Forum: General Coding Help - Replies (4)

Is there a Python command to remove locks from a ArcGIS file geodatabase?  similar to the ...

  • arcpy.DisconnectUser
  • arcpy.AcceptConnect..... More

Print this item

  PyMySQL
Posted by: Dean Stackhouse - Oct-05-2016, 06:28 PM - Forum: General Coding Help - Replies (1)

Hey,

I have PyMySQL working however the result its printing has an unexpected character.

[python]
#!/usr/bin/python

import pymysql.cursors
..... More

Print this item

  Awesome Cheatsheet
Posted by: snippsat - Oct-05-2016, 06:17 PM - Forum: News and Discussions - Replies (11)

A collection of useful Cheatsheet

Print this item

  String Splits
Posted by: m.zod - Oct-05-2016, 05:35 PM - Forum: Homework - Replies (3)

Hey guys, I'm a new student to Python 3, and I'm having some issues with an assignment, so I'd appreciate the help.
What I'm doing in the assignment ..... More

Print this item

  PEP 492 - Coroutines [async/await]
Posted by: nilamo - Oct-05-2016, 04:06 PM - Forum: News and Discussions - Replies (4)

https://www.python.org/dev/peps/pep-0492/

Apparently this was added in time to be released in 3...... More

Print this item

  How to install odfpy? (or a better alternative?)
Posted by: merlem - Oct-05-2016, 03:54 PM - Forum: General Coding Help - Replies (7)

How can I install odfpy?
I tried

python -m pip install setup.py
from the directory in which I unpacked odfpy-master.zip.
I got onl..... More

Print this item

  Simplify a program using functions
Posted by: nzieno - Oct-05-2016, 02:52 PM - Forum: Homework - Replies (8)

Define the function [b][color=#333333][font=Roboto, sans-serif][b]drawRing(x, y, radius, width,..... More

Print this item

  Global variable funkiness
Posted by: tonivr - Oct-05-2016, 02:28 PM - Forum: General Coding Help - Replies (6)

Hi,

I'm trying to use code that I have found online at https://sourceforge.net/projects/pynetvars/
In short: it allows to use CoDeSys PLC network ..... More

Print this item

  Is there any way to check if a function is user-defined?
Posted by: dullboy - Oct-05-2016, 02:14 PM - Forum: General Coding Help - Replies (11)

Sometimes it would be nice to single out the functions defined by users in a big project. So is there any way to differentiate user-defined functions ..... More

Print this item

  Post Edit Logs
Posted by: metulburr - Oct-05-2016, 01:55 PM - Forum: Board - Replies (2)

I added a plugin to allow to show/compare/and even revert edit changes of a post. As is, only admins and mods are allowed to view the edit logs though..... More


Attached Files

Thumbnail(s)
   
Print this item

  selecting buttons with keyboard
Posted by: noissue - Oct-05-2016, 12:21 PM - Forum: GUI - Replies (3)

Hello,

my problem:

i have some simple GUI, with some text entrys, and radiobuttons
i can select on them by mouse, but i want to do it with ente..... More

Print this item

  Suggestions Needed For Free Hosting Services for my non-Django App
Posted by: Loophole16 - Oct-05-2016, 11:52 AM - Forum: General Coding Help - Replies (2)

Hi Guys, First post here(used to be a member of the old forum tho)

I have created a few twitter Bots(3 actually) using only tweepy. But I am actual..... More

Print this item

  F2PY.......plz!!!!
Posted by: Yuji3131 - Oct-05-2016, 10:03 AM - Forum: General Coding Help - Replies (14)

I tried to use f2py but this error message came out[compiling C sources error: Unable to find vcvarsall.bat].
however i already installed VC++ for py..... More

Print this item

  "Forum contains new posts" icons are broken?
Posted by: Ofnuts - Oct-05-2016, 09:41 AM - Forum: Board - Replies (6)

In the forum index, the forum have a disk on the left, that indicates (when it is dark) that there are unread posts. And it seems that since this morn..... More

Print this item

  testing code
Posted by: Skaperen - Oct-05-2016, 05:56 AM - Forum: Code sharing - Replies (2)

i am testing indents and stuff:

[python]from sys import argv
def main():
    from sys import argv
    if len(argv) < 2:
        print 'no argum..... More

Print this item

  How to define a global file?
Posted by: dullboy - Oct-05-2016, 05:10 AM - Forum: General Coding Help - Replies (11)

I need to set up a file as a log file in my python program. So basically I need to create a global file. I am just wondering what is the best way to d..... More

Print this item

  Run commands from Text file
Posted by: bharath917 - Oct-05-2016, 02:53 AM - Forum: Networking - Replies (2)

Hi All,

I have few Firewall commands stored in text file.. I has around 150 Commands, how to execute those commands in python??

Regards,
Bharat..... More

Print this item

  Python Module Question
Posted by: ATXpython - Oct-05-2016, 02:23 AM - Forum: General Coding Help - Replies (9)

I've created a script that I'd like to share with some coworkers.
This script requires one module to be installed.
I was able to successfully do thi..... More

Print this item

  List Censor Thread
Posted by: palmtrees - Oct-05-2016, 01:03 AM - Forum: Homework - Replies (6)

I am making a program for my Introduction to Computer Science course where I have to type in a sentence: "Dr Mathias is completely full of shirt I wis..... More

Print this item

  distance between 2 points
Posted by: sparkz_alot - Oct-04-2016, 10:02 PM - Forum: Code sharing - Replies (11)

This is a small part of a bigger project I'm working on to Pythonize (a real word I just made up) the formulas in Jean Meeus' book "Astronomical Algor..... More

Print this item

  Some algorithms collection
Posted by: wavic - Oct-04-2016, 09:53 PM - Forum: News and Discussions - Replies (2)

Is not a tutorial.

Here is an archive which can be downloaded and one can just read the sour..... More

Print this item

  <SOLVED>os.system needs a string in quotes
Posted by: Fred Barclay - Oct-04-2016, 08:07 PM - Forum: General Coding Help - Replies (12)

G'day! I've written an extension for Caja (the default file manager in MATE) that wipes files/folders using the srm command. The source code is here..... More

Print this item

  [split] new BBCodes
Posted by: metulburr - Oct-04-2016, 06:30 PM - Forum: Board - Replies (6)

[quote='nilamo' pid='1429' dateline='1475605285']

Once you hit line 57, your program is done.  The python version never computes anything, regardle..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Chris Paul mythical IQ co... 3 hours ago Sabrinas Sabrinas Homework
  Do the Miami Dolphins inc... 3 hours ago Sabrinas Sabrinas Data Science
  Antonio Pierce Pleads Wit... 3 hours ago Sabrinas Sabrinas GUI
  Select Python comment (#)... 4 hours ago SpongeB0B SpongeB0B General Codin...
  TimsothyKat 4 hours ago LewisByday LewisByday General Codin...
  Packers Loss $12.5 Millio... 4 hours ago Sabrinas Sabrinas General Codin...
  I'm trying to make a piec... 4 hours ago Alislugacool MilesWeb General Codin...
  New to the field 9 hours ago Polybunny Polybunny News and Disc...
  Seeking feedback: dynamic... Yesterday, 15:23 Bona2000 Stowersw General Codin...
  Python and excel vba codi... Yesterday, 11:09 odiez DeaD_EyE General Codin...
  Web Scrapper to find prov... Yesterday, 08:36 physalis2099 Olivia General Codin...
Most views
  The best Prog... 575367
  Tutorial Requ... 496100
  Web Scraping ... 439495
  Newbie with P... 383077
  New Users Int... 363659
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+ 12086
buran 8174
snippsat 7365
deanhystad 6890
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
aidajnrz7704 Today
Sabrinas Today
Jillscitt Yesterday
Stowersw Yesterday
Intel Yesterday

User Panel Messages

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